MCP Server Anydoc logo

MCP Server Anydoc

Converts local office files and other supported documents to Markdown for coding agents, without an API key or cloud upload.

Install MCP Server Anydoc

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-anydoc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-anydoc"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly ().

Overview

mcp-server-anydoc connects coding agents to local document conversion through anydoc, turning PDFs, Word, PowerPoint, Excel, and other supported files into GitHub-Flavored Markdown. It exposes tools for converting file paths, processing Base64 data, and listing supported extensions; large conversions can be written to an output file. Run it locally with npx when an agent needs to read office files in a repository, batch-convert documents, or avoid a hosted parsing API.

Use cases

  • Convert contracts in a repository to Markdown
  • Batch-convert PowerPoint files into project documents
  • Save large spreadsheet conversions to disk
  • Read local PDFs through a coding agent
  • Process document bytes supplied as Base64

Key features

  • Local PDF, Word, PowerPoint, and Excel conversion
  • GitHub-Flavored Markdown output
  • Path-based and Base64 conversion tools
  • Optional output files for large documents
  • Supported-extension listing
  • No API key required

Tools3

What MCP Server Anydoc lets your agent do. Expand a tool for its parameters.

Verified live~367 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

7/7 checks healthy over the last 25d

What it can do

From the 3 tools this server returned when we ran it.

Handles credentials · 1Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceNot published
Package age89 days
Maintainers1

Observed 2026-11-05 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · mcp-server-anydoc (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads268Package downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.

How MCP Server Anydoc works

What mcp-server-anydoc does

mcp-server-anydoc provides a local Model Context Protocol interface for converting documents into GitHub-Flavored Markdown. It is designed for coding-agent workflows where files such as contracts, slide decks, spreadsheets, or PDFs already exist on disk and need to become readable text.

The conversion engine is anydoc, used through the @firecrawl/anydoc package. Processing happens on the local machine and does not require an API key. The resulting Markdown can be returned to the agent or written to a file for later reading.

Supported input examples include:

  • PDF files
  • Word documents in .doc and .docx formats
  • PowerPoint files in .ppt and .pptx formats
  • Excel files in .xls and .xlsx formats
  • OpenDocument files
  • RTF, EPUB, and CSV files

How it works

The server runs as a standard local MCP process. An MCP client starts it with npx, then invokes a conversion tool when the agent needs document contents. convert_document accepts a path on disk and returns Markdown. It also accepts an optional output_path, which is useful for large reports, decks, or batches that should be saved as .md files rather than placed entirely in the immediate tool response.

When a document is available as bytes instead of a filesystem path, convert_base64 accepts Base64-encoded data and produces Markdown. list_formats reports the extensions supported by the conversion engine.

Typical workflows include converting a contract and asking the agent to identify clauses, turning every presentation in a directory into Markdown files, or saving a spreadsheet conversion before asking the agent to review it.

Setup and configuration

The server can be added to an MCP client with this configuration:

config.json
{
  "mcpServers": {
    "anydoc": {
      "command": "npx",
      "args": ["-y", "mcp-server-anydoc"]
    }
  }
}

Claude Code can register the same process with:

Terminal
claude mcp add anydoc -- npx -y mcp-server-anydoc

Cursor and VS Code provide install links for the server, and the repository also documents a local plugin layout that combines the MCP server with an agent skill. No API key or environment variable is needed for the documented setup.

Tools and capabilities

  • convert_document: Converts a document at a local path to Markdown. Use output_path when the converted content should be saved to disk.
  • convert_base64: Converts Base64-encoded document bytes when no local path is available.
  • list_formats: Lists supported file extensions.
  • Local conversion: Keeps document processing on the machine running the server.
  • Repository workflows: Supports agent-driven conversion of files already stored in a project.

Limitations and notes

The server targets text-based documents and is not an OCR system. Scanned, image-only PDFs can fail because their text is not available for normal document conversion. Local processing prevents third-party parser uploads, but Markdown returned to an agent can still enter that model's context.

For a single PDF attached to a chat interface, a separate MCP conversion step may be unnecessary. This server is better suited to coding agents that need to read office files from a repository, process multiple files, or create Markdown artifacts on disk.

The project is licensed under MIT. Its documented clients include Claude Code, Cursor, and VS Code with Copilot MCP support.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server Anydoc

mcp-server-anydoc is an MCP server that connects coding agents to local documents through anydoc, converting PDFs, Word, PowerPoint, Excel, and other supported formats into GitHub-Flavored Markdown. Its main tools convert file paths, convert Base64 document bytes, and list supported extensions, with optional output files for large conversions.

Install it by adding `npx -y mcp-server-anydoc` as a local MCP server command. For Claude Code, run `claude mcp add anydoc -- npx -y mcp-server-anydoc`; other clients can use the documented `mcpServers` JSON configuration.

Yes, mcp-server-anydoc works with Cursor through its MCP installation link or a standard local MCP configuration. Cursor can start the server with `npx -y mcp-server-anydoc` and invoke its document conversion tools.

No, scanned image-only PDFs are outside the server's target use case because it is not an OCR system. Text-based PDFs and supported office documents are the intended inputs.

Use `convert_document` with the document path and an `output_path` such as `./report.md`. Saving the Markdown to disk avoids placing the entire conversion directly in the immediate agent response.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server Anydoc AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-server-anydoc?style=directory)](https://allmcps.com/mcp/mcp-server-anydoc)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-server-anydoc"><img src="https://allmcps.com/api/badge/mcp-server-anydoc?style=directory" alt="MCP Server Anydoc on AllMCPs" /></a>