MCP server for LocalParse — accurate document parsing for Cursor, Claude Desktop, and other MCP clients.
Project description
localparse-mcp
An MCP server that gives your coding agent (Cursor, Claude Desktop, etc.) accurate document parsing via LocalParse — table-detection recovery + arithmetic identity checks — instead of letting it write throwaway OCR scripts.
Tools
| Tool | What it does |
|---|---|
parse_document(path, result_type) |
Parse a local file (PDF/image/PPTX/…). |
parse_url(url, result_type) |
Download a remote doc and parse it. |
parse_folder(path, case_id, resume) |
Ingest a whole folder into a named case; re-runs only parse changed files. |
get_structured(job_id) |
Fetch the structured ingestion contract for a job. |
case_manifest(case_id) |
List a case's ingested docs (path + hash + status). |
case_failures(case_id) |
List a case's failed docs for reingest. |
result_type ∈ markdown (default), text, json, structured.
Configure your client
You need a LocalParse API key (LOCALPARSE_API_KEY).
Cursor — ~/.cursor/mcp.json (or project .cursor/mcp.json)
{
"mcpServers": {
"localparse": {
"command": "uvx",
"args": ["localparse-mcp"],
"env": { "LOCALPARSE_API_KEY": "lp-your-key" }
}
}
}
Claude Desktop — claude_desktop_config.json
{
"mcpServers": {
"localparse": {
"command": "uvx",
"args": ["localparse-mcp"],
"env": { "LOCALPARSE_API_KEY": "lp-your-key" }
}
}
}
Then ask the agent things like "parse the PDFs in ./data-room into case acme and tell me which tables don't reconcile."
Local development (before it's on PyPI)
Run the server straight from the repo and point the client at it:
{
"mcpServers": {
"localparse": {
"command": "uv",
"args": ["run", "--directory", "/abs/path/to/Agent-ingestor", "localparse-mcp"],
"env": { "LOCALPARSE_API_KEY": "lp-your-key" }
}
}
}
Point at a self-hosted parser by also setting LOCALPARSE_BASE_URL.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file localparse_mcp-0.1.0.tar.gz.
File metadata
- Download URL: localparse_mcp-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8b94b87987c87e08d8dbb609df2e678b19f2a19c77905024c703f9c6ccf0c48
|
|
| MD5 |
fb46b2cc7ee2a2108865b68f711c4c5b
|
|
| BLAKE2b-256 |
4e5436b9b91f5799ac4742f16b0c6e92ade5bbd54dc468260a58ee269ced559f
|
File details
Details for the file localparse_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: localparse_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
affd9349a5761409e279632949749721541b6d43265eb888128f35a7b5f7e260
|
|
| MD5 |
c8f6dacb80b613419573e601862c137c
|
|
| BLAKE2b-256 |
0eb6b46f2791565199ed7d58d11c1e58a5abdb65af11457c3d430fff433054e7
|