Borrowing it
Nothing to install: this file belongs to orco82/fastmcp-docs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/orco82/fastmcp-docs/main/CLAUDE.mdgit clone --depth 1 https://github.com/orco82/fastmcp-docsWrote 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.
[](https://agentmods.dev/instructions/orco82/fastmcp-docs/claude-md)<a href="https://agentmods.dev/instructions/orco82/fastmcp-docs/claude-md"><img src="https://agentmods.dev/badge/instructions/orco82/fastmcp-docs/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.
<a href="https://agentmods.dev/instructions/orco82/fastmcp-docs/claude-md"><img src="https://agentmods.dev/badge/instructions/orco82/fastmcp-docs/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01363 | $0.01363 |
| Opus 5.5 | $0.00545 | $0.00545 |
| Sonnet 5.5 | $0.00273 | $0.00273 |
| Haiku 4.5 | $0.00136 | $0.00136 |
Grade C, and why
fastmcp-docs CLAUDE.md scanned grade C with 1 finding 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 2mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf dist/ fastmcp_docs.egg-info/ How it starts
The opening of the file, as written. The whole thing — 171 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
FastMCP Docs is a Python library that generates Swagger-style documentation for FastMCP servers. It automatically extracts tool information from FastMCP instances and provides a web-based UI similar to Swagger/OpenAPI documentation interfaces.
Key Commands
Development Setup
# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install package in development mode
pip install -e ".[dev]"
Testing
# Run all tests
pytest
# Run with verbose output
pytest -v
# Run specific test file
pytest tests/test_extractor.py
Code Formatting
# Format all code
black fastmcp_docs/
Type Checking
# Type check with mypy
mypy fastmcp_docs/
Building and Distribution
# Clean previous builds
rm -rf dist/ fastmcp_docs.egg-info/
# Build package
uv run python -m build
# Check distribution
uv run python -m twine check dist/*
# Upload to PyPI
uv run python -m twine upload dist/*
# Install from local build
pip install -e .
Version Bump Process:
- Update version in
pyproject.toml - Run full build and distribution process above
- Commit and tag the release:
git add -A git commit -m "Release v1.0.0: Add FastMCP v3 support" git tag -a v1.0.0 -m "Version 1.0.0" git push && git push --tags
Running Examples
# Run basic usage example
python examples/basic_usage.py
Architecture
Core Components
The library consists of five main modules:
-
__init__.py- Main entry point exposing theFastMCPDocsclass- Provides the public API for library users
- Coordinates between extractor, routes, and config modules
- Setup is async because it needs to call async methods on FastMCP server
-
config.py- Configuration dataclassesFastMCPDocsConfig: Main configuration with route paths, OpenAPI settings, UI customizationDocsLink: Simple dataclass for documentation links- Configuration supports dict-to-DocsLink conversion in
__post_init__
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.
- 2mo ago First seen · 171 lines · 1,363 tokens per session scan C 45dbfc999668
fastmcp-docs CLAUDE.md is an instructions file published in the GitHub repository orco82/fastmcp-docs (5 stars, last pushed 8mo ago), licensed MIT. It adds 1,363 tokens to every session, about $0.0055 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
fastmcp-docs CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fastmcp-docs CLAUDE.mdorco82/fastmcp-docs | Instructions file | 5 | 8mo ago | MIT | C | 1,363 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |