About denpyo-mcp
denpyo-mcp is an MCP server for extracting structured data from Japanese invoices and receipts, with registration-number verification. It accepts files or URLs and charges per call through x402; documents are processed transiently, not stored.
Key features
- 01Read Japanese invoices and receipts
- 02Extract merchants, items, and tax
- 03Verify registration numbers and names
- 04Accept local files and URLs
- 05Pay per call via x402
Use cases
- 01Structure invoice and receipt data
- 02Total deductible receipts by tax rate
- 03Check whether an issuer is registered
MCP support
The MCP server provides tools to read invoices and receipts, verify registration numbers, and retrieve a service catalog. Analysis is paid per call through x402.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y denpyo-mcpEVM_PRIVATE_KEYSecretBase wallet private key holding USDC (0x...). Provide this or SVM_PRIVATE_KEY.SVM_PRIVATE_KEYSecretSolana wallet private key holding USDC (base58). Provide this or EVM_PRIVATE_KEY.Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
4Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | No | Public http(s) URL of the invoice document (alternative to file) |
| file | string | No | Local path to the invoice file (PDF/JPEG/PNG/TIFF/HEIF) |
Details
From the project READMEdenpyo-mcp
MCP server for Denpyo — Japan Invoice & Receipt Reader API (https://denpyo-api.hp-vladic.workers.dev).
OCR Japanese invoices (請求書) and receipts (領収書) from local files or URLs into structured JSON — vendor/merchant, line items, 8%/10% consumption-tax breakdown — with the qualified-invoice registration number (インボイス登録番号, T+13 digits) extracted and verified against the National Tax Agency registry in the same call.
Pays per call via x402 (USDC on Base or Solana). The wallet is the account — no signup, no API keys.
Usage
{
"mcpServers": {
"denpyo": {
"command": "npx",
"args": ["-y", "denpyo-mcp"],
"env": { "EVM_PRIVATE_KEY": "0x... (Base wallet holding USDC)" }
}
}
}
Solana instead: set SVM_PRIVATE_KEY (base58) rather than EVM_PRIVATE_KEY.
Tools
| Tool | Cost | What it does |
|---|---|---|
read_japan_invoice | $0.04 | Invoice (local file path or URL) → structured JSON + NTA verification. First 2 pages |
read_japan_receipt | $0.03 | Receipt (photo/PDF, local path or URL) → structured JSON + NTA verification. First page |
verify_japan_invoice_number | $0.01 | Registry-only check of a T+13-digit number, optional name match |
denpyo_catalog | free | Machine-readable service catalog |
Example prompts once connected: "Read C:\scans\invoice-0712.pdf and tell me if the
issuer is a registered qualified-invoice issuer" / "Process every receipt photo in this
folder and total the deductible amounts by tax rate."
Failed analyses (unreadable files) return errors and are not charged. Documents are processed transiently and never stored.
Sister package: kaisha-mcp — Japan company
registry lookups, new-company feeds, business-day math.
MIT — vladic-corp/denpyo-api
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.