manual-works-mcp: Instructions file for Claude Code

CLAUDE.md

manual-works-mcp CLAUDE.md is an instructions file for Claude Code from plainday/manual-works-mcp. It costs 861 tokens per session, scanned A, original, Apache-2.0.

A CLAUDE.md instruction file for Claude Code, the coding assistant, describing a Python server that searches ManualWorks documentation. ManualWorks is a documentation service, and MCP is a standard way for an AI assistant to use external tools.

In plain words
What is it for?
Explaining how the documentation-search server is built and where its main components belong. It helps Claude Code work with the Python client, MCP server, and ManualWorks API.
Why use it?
It gives the coding assistant the project overview, technologies, file structure, and API details it should follow. This reduces guesswork when changing or maintaining the repository.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is plainday/manual-works-mcp's own configuration. It tells Claude Code how to work on manual-works-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything manual-works-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to plainday/manual-works-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/plainday/manual-works-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/plainday/manual-works-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for manual-works-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/plainday/manual-works-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/plainday/manual-works-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/plainday/manual-works-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/plainday/manual-works-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for manual-works-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/plainday/manual-works-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/plainday/manual-works-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 861 This file is loaded in full into every session.
When invoked 861 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00861 $0.00861
Opus 5 $0.00430 $0.00430
Sonnet 5 $0.00172 $0.00172
Haiku 4.5 $0.00086 $0.00086

Measured 9d ago against content hash 5eefce03e80e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

manual-works-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

manual-works-mcp는 ManualWorks 문서 검색을 위한 MCP(Model Context Protocol) 서버입니다. ManualWorks에 검색 API가 없어서, 문서 목록/내용 API를 조합하여 키워드 검색 기능을 제공합니다. Apache 2.0 라이선스.

Technology Stack

  • Language: Python 3.10+
  • Protocol: MCP (Model Context Protocol)
  • MCP SDK: mcp[cli] (FastMCP)
  • HTTP Client: httpx (async)
  • Transport: streamable-http (기본 127.0.0.1:8000)
  • Build: hatchling
  • Package Manager: uv (권장) 또는 pip

Project Structure

src/manual_works_mcp/
├── __init__.py
├── server.py          # MCP 서버 진입점, search_documents tool 등록
└── api_client.py      # ManualWorks REST API 클라이언트 (async httpx)

Key Components

api_client.py — ManualWorksClient

ManualWorks REST API 호출 클래스. URL 패턴: {base_url}/r/api/{api_uuid}?action={action}&...

  • get_documents()DOC_LIST (응답: documents)
  • get_document(doc_id)DOC_GET (파라미터: docId, 응답: document)
  • get_chapter_content(chapter_id)DOC_CHAPTER_CONTENT (파라미터: chapterId, 응답: elements)
  • get_chapter_headings(chapter_id)DOC_CHAPTER_HEADING (파라미터: chapterId, 응답: headings)

server.py — MCP Server

search_documents(keyword: str) tool 1개 등록.

로깅:

  • 통일 포맷: YYYY-MM-DD HH:MM:SS LEVEL name message
  • uvicorn 기본 LOGGING_CONFIG를 패치하여 uvicorn 로그에도 동일 포맷 적용
  • KeyboardInterrupt 처리로 Ctrl+C 시 정상 종료

검색 흐름:

  1. DOC_LIST로 전체 문서 목록 조회
  2. 각 문서에 대해 DOC_GET으로 장(chapter) 목록 조회
  3. PART > CHAPTER 재귀 구조 처리 (_collect_chapters)
  4. 각 장에 대해 DOC_CHAPTER_CONTENT로 내용 조회
  5. 문서 제목, 장 제목, 내용(content)에서 키워드 매칭 (대소문자 무시)
  6. 매칭 결과에 문서 링크, 장 링크, 요소 링크 포함하여 반환

Environment Variables

변수 설명
MANUALWORKS_BASE_URL ManualWorks 서버 URL (예: http://127.0.0.1:1975)
MANUALWORKS_API_UUID API UUID (예: 5b969d63e97cfec7)
MANUALWORKS_MCP_HOST MCP 서버 바인딩 호스트 (기본: 127.0.0.1)
MANUALWORKS_MCP_PORT MCP 서버 포트 (기본: 8000)

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 84 lines · 861 tokens per session scan A 5eefce03e80e

Subscribe to this mod's changes

manual-works-mcp CLAUDE.md is an instructions file published in the GitHub repository plainday/manual-works-mcp (0 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 861 tokens to every session, about $0.0043 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens