Skip to content
MCP server

Document corpus

Query a verified document collection: passages that answer a question, with their source.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.31.0
Listing updated
4 days ago

About Document corpus

Document corpus is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add markdown-document-search --env MDCX_FILE='<MDCX_FILE>' --env MDCX_KEY='<MDCX_KEY>' -- uvx mdcx

Add to claude_desktop_config.json

{
  "mcpServers": {
    "markdown-document-search": {
      "command": "uvx",
      "args": [
        "mdcx"
      ],
      "env": {
        "MDCX_FILE": "<MDCX_FILE>",
        "MDCX_KEY": "<MDCX_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "markdown-document-search": {
      "command": "uvx",
      "args": [
        "mdcx"
      ],
      "env": {
        "MDCX_FILE": "<MDCX_FILE>",
        "MDCX_KEY": "<MDCX_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "markdown-document-search": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mdcx"
      ],
      "env": {
        "MDCX_FILE": "<MDCX_FILE>",
        "MDCX_KEY": "<MDCX_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "markdown-document-search": {
      "command": "uvx",
      "args": [
        "mdcx"
      ],
      "env": {
        "MDCX_FILE": "<MDCX_FILE>",
        "MDCX_KEY": "<MDCX_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "markdown-document-search": {
      "command": "uvx",
      "args": [
        "mdcx"
      ],
      "env": {
        "MDCX_FILE": "<MDCX_FILE>",
        "MDCX_KEY": "<MDCX_KEY>"
      }
    }
  }
}

Configuration

  • MDCX_FILEAbsolute path to the .mdcx package to queryRequired
  • MDCX_KEYKey that decrypts the packageRequired

Pricing

Open source

Document corpus FAQ

Is Document corpus free?

Yes. Document corpus is open source, so you can use and self-host it for free.

How do I add Document corpus to Claude Code?

Run this command in your terminal: claude mcp add markdown-document-search --env MDCX_FILE='<MDCX_FILE>' --env MDCX_KEY='<MDCX_KEY>' -- uvx mdcx

What are the best alternatives to Document corpus?

The closest alternatives to Document corpus are ASTra, CARTESIAN ECU, Invoices, SigPen and ConvertAudioToText.

Alternatives to Document corpus

  1. ASTra

    MCP server

    Let agents read, edit, validate and undo Word .docx files with exact operations

    Runs locally
    • 5 tools
    • Freemium
    • Files and documents
  2. CARTESIAN ECU

    MCP server

    Check and repair ECU and TCU flash-file checksums from Claude (Ultimate plan)

    Not checked yet
    • 5 tools
    • Remote
    • Paid
    • Files and documents
  3. Invoices

    MCP server

    MCP server that reads supplier invoices and returns data plus DATEV, CSV or Excel files

    • 4 tools
    • Remote
    • Paid
    • Files and documents
  4. SigPen

    MCP server

    MCP server that drafts e-signature documents while you approve every send

    Not checked yet
    • 13 tools
    • Remote
    • Freemium
    • Files and documents
  5. Transcribe audio and video links from Claude or ChatGPT and read the results

    Not checked yet
    • 5 tools
    • Remote
    • Freemium
    • Design and media
  6. WhoScribe

    MCP server

    Search and read your WhoScribe audio and video transcripts from ChatGPT, read-only

    Not checked yet
    • Remote
    • Freemium
    • Design and media