技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
411sst/gst-einvoice-mcp

411sst/gst-einvoice-mcp

Convert Indian GST invo
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add gst-einvoice-mcp -- npx -y gst-einvoice-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
0 ★ · 411sst/gst-einvoice-mcp · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 411sst/gst-einvoice-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

GST e-invoice extraction

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Turns an Indian GST tax invoice into the government's **INV-01 JSON payload**, and tells you exactly what it could not read.
Ships as an MCP server with three tools, so an agent can parse a document, check a GSTIN, or re-validate a payload it already holds.
> **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.
------
The idea
An 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.
So 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.
Everything 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.
**Read LIMITATIONS.md before trusting the output.** It is specific about what the tool cannot corroborate, and what that costs you.
------
Install
Requires **Python 3.11 or newer** and **Tesseract OCR** as a system dependency.
Tesseract does not need to be on PATH: the OCR module looks there first, then at the standard Windows install location, and raises an actionable error naming both if neither works.
Environment
| Variable | Required | Purpose |
| ------------------- | ----------- | ---------------------------------------------- |
| GROQ_API_KEY | yes | Stage 2 reads the line-item table through Groq |
| GST_MCP_MODEL | recommended | Pin the model your key can reach |
| GST_MCP_TRANSPORT | no | stdio (default), sse, or streamable-http |
The default model is openai/gpt-oss-120b, which is what this release was validated against. It works without configuration.
> **Still set GST_MCP_MODEL in a deployment.** A hard-coded model identifier expires silently when the provider retires it, and the failure arrives as an HTTP 404 that reads like a bad key rather than a stale constant. Pin the model you have access to, and check it against Groq's deprecation notices.
------
MCP client configuration
pip install puts a gst-einvoice-mcp command on your PATH, so a client only needs to name it:
Running from a clone rather than an install? Point command at the interpreter inside your virtual environment and invoke the module directly:
On Windows that interpreter path ends \.venv\Scripts\python.exe.
Tools
| Tool | Takes | Gives back |
| ------------------ | ------------------------------- | ------------------------------------------------------------ |
| parse_invoice | a file path, optional tolerance | the INV-01 payload, missing fields, refusals, and extraction_meta |
| validate_gstin | a GSTIN | structure, checksum, state code, PAN, and the reason on failure |
| validate_payload | an INV-01 payload | the four consistency checks over a payload you already hold |
parse_invoice has **three normal outcomes**, and only the first gives you a payload:
1. **A payload plus warnings.** Usable, but the warnings say which fields were read at low OCR confidence, which were assigned by position rather than by a label, and which were derived rather than printed.
来源
awesome · https://github.com/411sst/gst-einvoice-mcp
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引