mcp-server-anydoc
v1.0.0Local MCP server that converts PDF, Word, PowerPoint, Excel and more to Markdown with anydoc.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
convert_document
Convert a local office document (PDF, Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV) to GitHub-Flavored Markdown on the user's machine. No API key. File never leaves the device. Prefer this over uploading docs to cloud parsers.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the document on disk |
format | string | Optional format hint (e.g. "csv", "docx") when detection cannot work |
output_path | string | Optional path to write the .md file. Use for large documents instead of returning full markdown inline. |
convert_base64
Convert document bytes (base64) to Markdown locally. Use when the file content is already in context and you cannot pass a filesystem path. Still runs on-device via anydoc.
| Parameter | Type | Description |
|---|---|---|
content_base64 * | string | Base64-encoded document bytes |
filename | string | Optional filename used to infer format from extension |
format | string | Format hint such as "docx", "pdf", "xlsx", "csv" |
list_formats
List document formats this local anydoc MCP server can convert to Markdown.