mcp-server-anydoc

v1.0.0
mcp-server-anydoc Checked 13 hours ago Published 3 months ago

Local 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.

ParameterTypeDescription
path *stringAbsolute or relative path to the document on disk
formatstringOptional format hint (e.g. "csv", "docx") when detection cannot work
output_pathstringOptional 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.

ParameterTypeDescription
content_base64 *stringBase64-encoded document bytes
filenamestringOptional filename used to infer format from extension
formatstringFormat hint such as "docx", "pdf", "xlsx", "csv"

list_formats

List document formats this local anydoc MCP server can convert to Markdown.