Model Context Protocol
Use Docira from Claude
docira-mcp is a thin MCP server that exposes Docira to Claude Desktop, Cursor, or any MCP client. It needs only an API key — no local model stack. Every call runs on the hosted Docira API and bills to your account, the same as the REST API.
Prerequisite: install uv
The only thing to install is uv (its uvx runner downloads and runs docira-mcp on demand). Pick one:
curl -LsSf https://astral.sh/uv/install.sh | shpowershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"pip install uv # or: pipx install uv1 Get an API key
Create a key in the dashboard → API keys. Copy it (pw_live_…) — it is shown once. A free-tier key works; it is metered against your tier’s daily page quota.
2 Add Docira to your client
Open Claude Desktop’s config file (Settings → Developer → Edit Config, or edit it directly) and add the docira server. Paste your key into DOCIRA_API_KEY:
{
"mcpServers": {
"docira": {
"command": "uvx",
"args": ["docira-mcp"],
"env": { "DOCIRA_API_KEY": "pw_live_…" }
}
}
}The config file lives at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json3 Restart and try it
Fully quit and reopen Claude Desktop. You’ll see the Docira tools available (the tools/plug icon). Then just ask:
- Parse https://arxiv.org/pdf/1706.03762 into Markdown.
- Extract { title, authors[] } from https://example.com/paper.pdf.
- Parse the local file /Users/me/invoice.pdf and summarize the line items.
Tools
parse_document(file_url, operation_mode?, max_pages?) | Parse a document at a URL into Markdown. |
extract_structured(file_url, json_schema, max_pages?) | Extract structured JSON from a URL using a JSON Schema. |
parse_local_file(file_path, operation_mode?) | Parse a local file (uploaded) into Markdown. |
get_result(result_id) | Fetch an async / batch result by id. |
health() | API and provider status. |
Other clients & troubleshooting
- Cursor / other MCP clients: use the same
command/args/envin that client’s MCP config. - Tools don’t appear: confirm
uvis on your PATH (uvx --version) and that you fully restarted the client. - 401 / “DOCIRA_API_KEY is not set”: check the key value in
env; create a fresh one in the dashboard if unsure. - Self-hosting: set
DOCIRA_API_URLinenvto point at your own deployment.