Server definition
- Hash
- sha256:0e023132ffa5af7d7e2b8c520afe3cc2e944874f94748ddfa4f7ba0ef2b5d0b9
- What it is
- What a remote MCP server returned when asked what it offers: 14 tools
The blob, as servednamed by its sha256
{
"instructions": "This endpoint (/mcp/docs) lists only the documents & web tools plus free tools; first real call: pdf_info. Mart402: pay-per-call APIs for AI agents - documents & web, Japan statutory calculations, calibrated vision (x402, USDC on Base; no account, no API key). Free tools work immediately. Paid tools called without x_payment return the exact payment requirements instead of charging you. Typical workflow: check an unfamiliar x402 seller for free (search_x402_services, operator_history), pay it, then verify what it returned (verify_invoice, document_pipeline; free samples via get_sample). Cheapest first real calls to test your payment loop end to end: jp_business_days at $0.003 (deterministic, LLM-free) or pdf_info at $0.001. Line-specific endpoints with smaller tool sets: /mcp/docs, /mcp/jp, /mcp/vision, /mcp/market. Docs: https://mart402.com/agents.md",
"tools": [
{
"description": "One call: PDF invoice to parse (hallucination-guarded OCR) + field extraction + arithmetic verification (+optional issuer enrich). Flat $0.05/document; inputs validated before payment. Choose this when a PDF is an invoice/receipt and you want parse + field extraction + arithmetic verification in one paid call; for text only use parse_document.",
"inputSchema": {
"properties": {
"enrich": {
"default": false,
"description": "Also run issuer enrichment on the parsed invoice",
"type": "boolean"
},
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "document_pipeline",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Company name/domain/URL to a verified profile from primary sources + GLEIF LEI and Japan NTA corporate-number registries. Per-field evidence + confidence, honest nulls; unresolved lookups never charged. $0.03/company. Choose this when you have a company NAME or DOMAIN and need a registry-grounded profile (GLEIF LEI / Japan NTA) with per-field evidence; pass country_hint 'jp' for Japanese companies.",
"inputSchema": {
"properties": {
"company": {
"description": "Company name, domain or URL",
"type": "string"
},
"country_hint": {
"description": "ISO country hint for registry lookups, e.g. 'jp'",
"type": "string"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [
"company"
],
"type": "object"
},
"name": "enrich_company",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Extract a web page to clean Markdown + metadata (auto JS rendering, robots.txt respected). $0.005 fast / $0.01 rendered; cached results half price. Choose this when you need a web PAGE as clean Markdown to read yourself; to fill a schema use structured_extract, for a PDF use pdf_info then parse_document.",
"inputSchema": {
"properties": {
"mode": {
"default": "auto",
"description": "Extraction mode: auto (fast with rendered fallback), fast, heavy",
"enum": [
"auto",
"fast",
"heavy"
],
"type": "string"
},
"ttl": {
"default": 86400,
"description": "cache seconds (0 = no cache)",
"type": "integer"
},
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "extract_url",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Mart402 product catalog: all products, prices, payment config, error codes, rate limits. Free.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "get_catalog",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Re-fetch a previously paid result for free by receipt id (every paid response carries receipt_id).",
"inputSchema": {
"properties": {
"receipt_id": {
"description": "receipt_id from a paid response (rcpt_...)",
"type": "string"
}
},
"required": [
"receipt_id"
],
"type": "object"
},
"name": "get_receipt",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Free recorded sample response for a paid product (from real production runs, marked sample:true) - see the exact response shape before paying anything. Available: document-pipeline, enrich, extract, jp-bonus-net, jp-business-days, jp-company, jp-consumption-tax, jp-crypto-tax, jp-dependent-threshold, jp-mortgage, jp-overtime-wage, jp-payroll-net, jp-payroll-suite, jp-payslip-audit, jp-retirement-tax, jp-social-insurance, meal-vision, ocr, parse, pdf-info, pdf-merge, pdf-pages, portrait-analysis, report-pack, structured, style-profile, style-report, verify.",
"inputSchema": {
"properties": {
"product": {
"description": "One of: document-pipeline, enrich, extract, jp-bonus-net, jp-business-days, jp-company, jp-consumption-tax, jp-crypto-tax, jp-dependent-threshold, jp-mortgage, jp-overtime-wage, jp-payroll-net, jp-payroll-suite, jp-payslip-audit, jp-retirement-tax, jp-social-insurance, meal-vision, ocr, parse, pdf-info, pdf-merge, pdf-pages, portrait-analysis, report-pack, structured, style-profile, style-report, verify. Product id (see the enum)",
"enum": [
"document-pipeline",
"enrich",
"extract",
"jp-bonus-net",
"jp-business-days",
"jp-company",
"jp-consumption-tax",
"jp-crypto-tax",
"jp-dependent-threshold",
"jp-mortgage",
"jp-overtime-wage",
"jp-payroll-net",
"jp-payroll-suite",
"jp-payslip-audit",
"jp-retirement-tax",
"jp-social-insurance",
"meal-vision",
"ocr",
"parse",
"pdf-info",
"pdf-merge",
"pdf-pages",
"portrait-analysis",
"report-pack",
"structured",
"style-profile",
"style-report",
"verify"
],
"type": "string"
}
},
"required": [
"product"
],
"type": "object"
},
"name": "get_sample",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "OCR one image to text with dual-engine consensus, calibrated confidence and per-segment corroboration. Japanese-strong. Flat $0.05/image. Choose this when the input is an IMAGE (photo, screenshot, receipt); for PDFs use parse_document.",
"inputSchema": {
"properties": {
"image_base64": {
"description": "Base64-encoded image bytes (alternative to image_url)",
"type": "string"
},
"image_url": {
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)",
"type": "string"
},
"lang": {
"default": "japanese",
"description": "One of: japanese, latin. Expected script for OCR: japanese or latin",
"enum": [
"japanese",
"latin"
],
"type": "string"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [],
"type": "object",
"x-required-one-of": [
"image_url",
"image_base64"
]
},
"name": "ocr_image",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Parse a PDF to structured Markdown (hallucination-guarded OCR for scanned pages, Japanese-strong). Pass url (one step: the 402 quotes the exact price for that PDF) or quote_id from quote_parse (price fixed by the quote). One of the two is required. Choose this when the input is a PDF and you want its full text as Markdown; call pdf_info first if you do not know whether it is scanned, and use document_pipeline instead for invoices you also want verified.",
"inputSchema": {
"properties": {
"quote_id": {
"description": "quote_id returned by quote_parse (price is fixed by the quote)",
"type": "string"
},
"url": {
"description": "Absolute http(s) URL of the PDF (one-step form)",
"type": "string"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [],
"type": "object",
"x-required-one-of": [
"url",
"quote_id"
]
},
"name": "parse_document",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "PDF facts before you pay for parsing: pages, metadata, per-page text volume, scanned-or-not estimate. $0.001. Choose this first for any unknown PDF (cheapest real call); then parse_document, pdf_pages or document_pipeline.",
"inputSchema": {
"properties": {
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "pdf_info",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Merge 2-10 PDFs into one, in order. Deterministic, $0.003.",
"inputSchema": {
"properties": {
"urls": {
"description": "List of absolute PDF URLs, in order (2-10)",
"items": {
"type": "string"
},
"type": "array"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [
"urls"
],
"type": "object"
},
"name": "pdf_merge",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Extract pages from a PDF by 1-based ranges (e.g. 1-3,7) into a new PDF. Deterministic, $0.002.",
"inputSchema": {
"properties": {
"pages": {
"description": "1-based page ranges, e.g. '1-3,7'",
"type": "string"
},
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [
"url",
"pages"
],
"type": "object"
},
"name": "pdf_pages",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Free quote for PDF parsing: page count, route (text/scan-OCR) and the exact final price, before any payment. Use the returned quote_id with parse_document (on /mcp or /mcp/docs).",
"inputSchema": {
"properties": {
"url": {
"description": "PDF URL",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "quote_parse",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Fill YOUR JSON schema from any URL (hybrid LLM + deterministic canonicalization). $0.03/call. Choose this when you have your OWN JSON schema to fill from any page; for company profiles use enrich_company or jp_company_profile.",
"inputSchema": {
"properties": {
"instructions": {
"description": "optional extra guidance for filling the schema",
"type": "string"
},
"schema": {
"description": "{key: description} pairs",
"type": "object"
},
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [
"url",
"schema"
],
"type": "object"
},
"name": "structured_extract",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
},
{
"description": "Verify extracted invoice fields: arithmetic consistency, line-item totals, JP registration number check-digit + corporate-number existence observation (official Japan NTA registry), accounting-ready JSON. $0.015/call. Choose this when you already HAVE invoice fields (from your own extraction) and only need them checked; to start from a PDF use document_pipeline.",
"inputSchema": {
"properties": {
"fields": {
"description": "Extracted invoice fields: total_jpy, tax_jpy, reg_no, invoice_no, issue_date, due_date, vendor, customer",
"type": "object"
},
"line_items": {
"description": "Optional line items [{description, amount_jpy}] to reconcile against the subtotal",
"type": "array"
},
"x_payment": {
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
"type": "string"
}
},
"required": [
"fields"
],
"type": "object"
},
"name": "verify_invoice",
"outputSchema": {
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"how_to_pay": {
"type": "string"
},
"payment_required": {
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment",
"type": "boolean"
},
"receipt_id": {
"description": "set on paid results; free re-fetch via get_receipt",
"type": "string"
},
"status": {
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)",
"type": "integer"
}
},
"required": [
"status",
"body"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:0e023132ffa5af7d7e2b8c520afe3cc2e944874f94748ddfa4f7ba0ef2b5d0b9 | sha256sum