{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_cpk4uc24vzjj","handle":"gst-einvoice-mcp","url":"https://wellknown.network/agents/gst-einvoice-mcp","links":{"self":"https://wellknown.network/agents/gst-einvoice-mcp/record.json","html":"https://wellknown.network/agents/gst-einvoice-mcp","markdown":"https://wellknown.network/agents/gst-einvoice-mcp/record.md","api":"https://wellknown.network/api/v1/agents/gst-einvoice-mcp","status":"https://wellknown.network/api/v1/agents/gst-einvoice-mcp/status","claim":"https://wellknown.network/agents/gst-einvoice-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/gst-einvoice-mcp/claim.json","badge":"https://wellknown.network/agents/gst-einvoice-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/gst-einvoice-mcp/history","tools":"https://wellknown.network/api/v1/agents/gst-einvoice-mcp/tools"},"ard":{"identifier":"urn:air::server:gst-einvoice-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"gst-einvoice-mcp","summary":"GST e-invoice extraction: Indian tax invoices in, INV-01 JSON plus validation warnings out","description":"# GST e-invoice extraction \n \nTurns an Indian GST tax invoice into the government's **INV-01 JSON payload**, and tells you exactly what it could not read. \n \nShips as an [MCP](https://modelcontextprotocol.io/) server with three tools, so an agent can parse a document, check a GSTIN, or re-validate a payload it already holds. \n \n> **It produces a submission-ready payload, not a filed invoice.** There is no IRN here. An Invoice Reference Number is issued by the government's Invoice Registration Portal after you submit the payload to it. Nothing in this repository talks to the IRP. \n \n------ \n \n## The idea \n \nAn extraction tool that quietly guesses is worse than one that says it cannot read a field. A hallucinated digit in a GSTIN that still passes its checksum, or a line item that was never on the page, is the failure that costs an accountant real money — and it is invisible precisely because it looks right. \n \nSo the design has one rule: **the model may structure text, it may never invent values.** That is enforced twice. The prompt says it, and then every value the model returns is checked back against the document text before it is kept. A value with no source in the document is replaced with null and reported, however plausible it looks. If that field is mandatory in INV-01, no payload is produced at all. \n \nEverything the tool knows about its own work — how each page was read, where each field came from, what it was unsure about — travels beside the payload in `extraction_meta`, never inside it. The payload stays strictly spec-pure, because the government API rejects unknown keys. \n \n**Read [LIMITATIONS.md](LIMITATIONS.md) before trusting the output.** It is specific about what the tool cannot corroborate, and what that costs you. \n \n------ \n \n## Install \n \nRequires **Python 3.11 or newer** and **Tesseract OCR** as a system dependency. \n \n```bash \n# Tesseract (Windows) \nwinget install UB-Mannheim.TesseractOCR \n \n# Tesseract (Debian/Ubuntu) \nsudo apt-get install …","publisher":null,"homepage":null,"repository":null,"version":"0.1.5","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:gst-einvoice-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"documents.invoice-processing","name":"Invoice Processing","confidence":0.814,"provenance":"derived"}],"categories":["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":"gst-einvoice-mcp","registry":"pypi","observedAt":"2026-10-30T19:26:55.101Z","publishedAt":"2026-09-16T14:55:27.776320Z","latestVersion":"0.1.5"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"gst-einvoice-mcp","url":"https://pypi.org/project/gst-einvoice-mcp/","firstSeenAt":"2026-09-18T08:26:27.996Z","fetchedAt":"2026-10-30T19:25:42.864Z","normalizedAt":"2026-10-30T19:25:42.864Z"}]},"firstSeenAt":"2026-09-18T08:26:27.996Z","updatedAt":"2026-10-30T19:26:55.101Z"}