Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/orco82/fastmcp-docs/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.svg" alt="Measured on agentmods" 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 | $0.01363 | $0.01363 |
| Opus 5 | $0.00681 | $0.00681 |
| Sonnet 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 5d 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.
- 5d 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 6mo ago), licensed MIT. It adds 1,363 tokens to every session, about $0.0068 per session on Opus 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.
Other instructions, from other repositories
scalar AGENTS.md
AGENTS.md instructions for scalar/scalar, covering agents.md - ai agent guide for scalar, project overview, prerequisites, first-time setup and commands.
jupyter-mcp-server copilot-instructions.md
Copilot instructions for datalayer/jupyter-mcp-server, covering jupyter mcp server, working effectively, environment setup, build and install (critical: network limitations) and standard installation (may fail with network issues).
RivalSearchMCP AGENTS.md
AGENTS.md instructions for damionrashford/RivalSearchMCP, covering agents.md, project overview, development commands, setup & running and install dependencies.
mcp-outline CLAUDE.md
Instructions for Vortiago/mcp-outline, covering mcp outline server guide, purpose, architecture, tool categories and feature registration flow.
unraid CLAUDE.md
Claude Code instructions for dinglebear-ai/unraid, covering claude.md, what this is, identity and history (read before touching any url), "unraid-mcp" means five different things and agent plugins ship no claude code hooks.
blender-mcp AGENTS.md
AGENTS.md instructions for sandraschi/blender-mcp, covering blender-mcp agent context and quick ref.