{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_cfsjnfapxdtr","handle":"doc-parser-mcp","url":"https://wellknown.network/agents/doc-parser-mcp","links":{"self":"https://wellknown.network/agents/doc-parser-mcp/record.json","html":"https://wellknown.network/agents/doc-parser-mcp","markdown":"https://wellknown.network/agents/doc-parser-mcp/record.md","api":"https://wellknown.network/api/v1/agents/doc-parser-mcp","status":"https://wellknown.network/api/v1/agents/doc-parser-mcp/status","claim":"https://wellknown.network/agents/doc-parser-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/doc-parser-mcp/claim.json","badge":"https://wellknown.network/agents/doc-parser-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/doc-parser-mcp/history","tools":"https://wellknown.network/api/v1/agents/doc-parser-mcp/tools"},"ard":{"identifier":"urn:air::server:doc-parser-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"doc-parser-mcp","summary":"MCP server for passport MRZ extraction and document parsing","description":"# Doc Parser MCP Server\n\nA Model Context Protocol (MCP) server for passport MRZ (Machine Readable Zone) extraction and document parsing.\n\n## Features\n\n- **MRZ Extraction**: Extract MRZ data from passport images\n- **MRZ Detection**: Locate MRZ regions in passport images\n- **Text Parsing**: Parse MRZ text into structured information\n- **Checksum Validation**: Validate MRZ checksums\n- **Multiple Input Formats**: Support file paths and base64 encoded images\n- **Fallback Processing**: Works with or without external passport_mrz_extractor library\n\n## Installation\n\n### From PyPI (when published)\n\n```bash\npip install doc-parser-mcp\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/yourusername/doc-parser-mcp.git\ncd doc-parser-mcp\npip install -e .\n```\n\n## Dependencies\n\nThe server requires the following dependencies:\n\n- `mcp>=1.0.0` - Model Context Protocol framework\n- `opencv-python>=4.5.0` - Image processing\n- `numpy>=1.21.0` - Numerical operations\n- `Pillow>=8.0.0` - Image manipulation\n- `pytesseract>=0.3.8` - OCR functionality (optional, for fallback)\n\n### Optional Dependencies\n\n- `passport-mrz-extractor>=1.0.0` - Specialized passport MRZ extraction library\n\n### System Dependencies\n\nFor OCR functionality (fallback mode), you need Tesseract:\n\n**macOS:**\n```bash\nbrew install tesseract\n```\n\n**Ubuntu/Debian:**\n```bash\nsudo apt-get install tesseract-ocr\n```\n\n**Windows:**\nDownload and install from [Tesseract at UB Mannheim](https://github.com/UB-Mannheim/tesseract/wiki)\n\n## Usage\n\n### As MCP Server\n\nRun the server using stdio transport:\n\n```bash\ndoc-parser-mcp\n```\n\n### Available Tools\n\nThe server provides the following tools:\n\n#### 1. extract_passport_mrz\nExtract MRZ data from a passport image.\n\n**Parameters:**\n- `image_path` (string): Path to the passport image file\n- `image_data` (string): Base64 encoded image data (alternative to image_path)\n\n**Example:**\n```json\n{\n  \"image_path\": \"/path/to/passport.jpg\"\n}\n```\n\n#### 2. detect_mrz_region\nDetect and locate MRZ region…","publisher":null,"homepage":"https://github.com/yourusername/doc-parser-mcp","repository":"https://github.com/yourusername/doc-parser-mcp","version":"0.1.0","license":"MIT","protocols":["mcp"],"tags":["mcp","passport","mrz","ocr","document-parsing"],"pricing":null,"endpoints":[{"url":"pypi:doc-parser-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"documents.ocr","name":"OCR","confidence":1,"provenance":"declared"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.825,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["dev","documents"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"doc-parser-mcp","registry":"pypi","observedAt":"2026-11-09T03:24:49.395Z","publishedAt":"2026-03-09T17:18:00.141082Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"doc-parser-mcp","url":"https://pypi.org/project/doc-parser-mcp/","firstSeenAt":"2026-09-09T14:32:00.736Z","fetchedAt":"2026-11-09T03:23:58.017Z","normalizedAt":"2026-11-09T03:23:58.017Z"}]},"firstSeenAt":"2026-09-09T14:32:00.736Z","updatedAt":"2026-11-09T03:24:49.395Z"}