An MCP server, built with FastMCP, that extracts text from document files using MarkItDown.
pip install mcp-document-brain-circlciFrom a clone of this repository:
uv sync
uv run fastmcp install claude-desktop src/document_brain/server.py --project .Then restart Claude Desktop.
Add the following to your ~/.cursor/mcp.json file:
{
"mcpServers": {
"document-reader-mcp": {
"command": "mcp-document-brain"
}
}
}- Extract text from PDF, DOCX, XLSX, and other files MarkItDown supports
- List and read the files in the server's working directory
- Save content to a file
- Clone the repository
- Install dependencies:
uv sync - Run tests:
uv run pytest - Open the MCP Inspector:
uv run fastmcp dev inspector src/document_brain/server.py
CircleCI runs the tests, the MCP Inspector checks, and the build on every push. Pushing a tag that starts with v (for example v0.2.0) also publishes the package to PyPI with uv publish, using the UV_PUBLISH_TOKEN project environment variable.