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/ofershap/mcp-server-anydoc/agents-mdgit clone --depth 1 https://github.com/ofershap/mcp-server-anydocWrote 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/ofershap/mcp-server-anydoc/agents-md)<a href="https://agentmods.dev/instructions/ofershap/mcp-server-anydoc/agents-md"><img src="https://agentmods.dev/badge/instructions/ofershap/mcp-server-anydoc/agents-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.00310 | $0.00310 |
| Opus 5 | $0.00155 | $0.00155 |
| Sonnet 5 | $0.00062 | $0.00062 |
| Haiku 4.5 | $0.00031 | $0.00031 |
Grade A, and why
mcp-server-anydoc AGENTS.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 2d 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.
What it actually says
mcp-server-anydoc
Local MCP server for coding agents. Converts PDF, Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, and CSV on disk to GitHub-Flavored Markdown using anydoc. No API key.
When to use
- Agent needs contents of
.docx/.pptx/.xlsx/ PDF in the workspace - Batch convert office files to
.md - Avoid third-party document parse APIs
Do not use as a replacement for attaching one PDF in a chat UI.
Install (agent instructions)
Prefer these exact commands:
claude mcp add anydoc -- npx -y mcp-server-anydoc
npx skills add ofershap/mcp-server-anydoc
Cursor / VS Code one-click links are in README.md.
MCP config:
{
"mcpServers": {
"anydoc": {
"command": "npx",
"args": ["-y", "mcp-server-anydoc"]
}
}
}
Tools
convert_document-{ path, format?, output_path? }convert_base64-{ content_base64, format?, filename? }list_formats
For large files, always pass output_path and read sections from the written Markdown.
Limits
Not OCR. Scanned image-only PDFs fail.
Source
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.
- 2d ago First seen · 52 lines · 310 tokens per session scan A 8dfeb9e308a7
mcp-server-anydoc AGENTS.md is an instructions file published in the GitHub repository ofershap/mcp-server-anydoc (0 stars, last pushed 5d ago), licensed MIT. It adds 310 tokens to every session, about $0.0015 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.
Other instructions, from other repositories
seekstone CLAUDE.md
Instructions for shaqmughal/seekstone, covering claude.md, what this repo is, commands, the harness itself (run after npm install) and architecture.
data-olympus AGENTS.md
Instructions for knaisoma/data-olympus, covering data olympus, project overview, architecture, development workflow and code standards.
obsidian-mcp-server CLAUDE.md
Instructions for smith-and-web/obsidian-mcp-server, covering obsidian mcp server — project conventions, stack, commands, layout and adding a new tool (the common change).
go-docs-mcp CLAUDE.md
Instructions for drolosoft/go-docs-mcp, covering go-docs-mcp, build & run, architecture, key decisions and tools.
data-olympus copilot-instructions.md
Instructions for knaisoma/data-olympus: Read and follow all instructions in AGENTS.md. Read and follow all rules in .rules/. Read and follow the global Codex and Claude Code collaboration rule in /kn-projects/company-knowledge/tooling/codex-claude-collaboration.md.
data-olympus CLAUDE.md
Instructions for knaisoma/data-olympus: Read and follow all instructions in AGENTS.md. Read and follow all rules in .rules/. Read and follow the global Codex and Claude Code collaboration rule in /kn-projects/company-knowledge/tooling/codex-claude-collaboration.md.