MCP.Market

Doc Extract API MCP server

by thestarboy9696·io.github.thestarboy9696/doc-extract-api·v0.2.0

SchemaLock — paid extraction: JSON from docs via your schema, x402/USDC.

C68/100grade C
What users say
No reviews yet
Be the first
Safety scan
C68/100

full report

Adoption
New

0 stars32 downloads/wk

Reviews

Write one

Nobody has reviewed Doc Extract API yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Doc Extract API tools (1)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • extract_custom

    Extract structured JSON from a PDF/image or raw text/HTML into a caller-supplied JSON Schema. $0.08 in USDC on Base, paid from WALLET_PRIVATE_KEY on every call.

Public scan report

scanner v0.1.10 · 2026-10-30 · same rubric, same numbers if you re-run it

1 medium
  • Code scan2 source files scanned20/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 51 days ago12/15
  • Maintainer identityregistry namespace matches repository owner6/10

Findings (1)

  • mediumeval / new Function usedexec.eval
    dist/mcp-server.js: …ode, sch); const makeValidate = new Function(`${names_1.default.self}`, `${names_1.de…
Overall 68/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Doc Extract API compares

Against every graded Scraping and browsing MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
68/100
higher than 28% of 867 Scraping and browsing servers
Tools
1
the typical Scraping and browsing server has 6
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
32
more than 12% of 312 Scraping and browsing servers with a package

What its tools let an agent do: 1 read

Install Doc Extract API in Claude Code, Cursor or VS Code

Runs npx -y doc-extract-api on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add doc-extract-api -- npx -y doc-extract-api
Add to Cursor

What the publisher says

From the Doc Extract API repository's README, as published. We do not edit it. Read it on GitHub

doc-extract-api

Document-to-structured-JSON extraction API. Takes a PDF/PNG/JPEG and returns clean JSON. Four fixed document types (invoice, receipt, contract, resume) get a matched schema plus domain-specific validation; /extract/custom accepts any JSON Schema, so a caller isn't limited to those four types. Built for autonomous AI agents: no signup, no API key, no human checkout — an agent discovers the price and pays per call via x402 v2 (USDC), entirely over HTTP, and can find this service programmatically via the x402 Bazaar discovery catalog. Also published as an MCP server (doc-extract-api-mcp on npm, and on the official MCP Registry) — but that's a client for the same paid API, not a free alternative: every MCP tool call is a real x402 payment from a wallet you supply, not a locally-run, unmetered extraction. There is no free path to this service.

Why x402, not Stripe

Stripe Checkout is built for humans — it collects a card through a UI, and its payment button actively resists non-trusted, programmatic (agent-driven) submission. x402 revives the HTTP 402 Payment Required status code: hit a paid endpoint with no payment, get back a 402 whose PAYMENT-REQUIRED header carries a complete, machine-readable manifest (price, network, receiving address, asset, and — via the Bazaar extension — a full input/output schema with a real example). Retry with an X-PAYMENT header carrying a signed USDC transfer authorization, and the request goes through. No account, no key, no human in the loop — the discovery step and the payment step are the same HTTP round trip.

Payment is only settled after the extraction succeeds — @x402/hono's middleware verifies the payment signature before running the handler, but only executes the actual on-chain transfer if the handler returns a non-error status (confirmed: this project's paymentMiddlewareFromConfig call skips settlement whenever the wrapped route responds ≥400). A failed extraction costs the caller nothing.

Discovery: the x402 Bazaar

The Bazaar (GET {facilitator}/discovery/resources) is a live, queryable catalog of x402 services — ~15k listings as of this writing, searchable by agent clients (client.extensions.bazaar.search({ query: "..." })). Getting listed isn't a submission form: a facilitator catalogs a resource automatically the first time it processes a real payment that echoes the route's declared bazaar extension. src/lib/discovery.ts declares that extension for all four routes — full input schema (multipart form-data, a file field) and a real, verified output example — so once a route's first live mainnet payment lands, it becomes findable in the catalog with enough detail for an agent to integrate correctly without reading any docs. As of this writing the /extract/invoice catalog entry is still showing a stale pre-migration record rather than this rich content — see git history / ask for status; /extract/receipt, /extract/contract, and /extract/resume haven't had a mainnet payment yet so aren't catalogued at all.

Positioning (from surveying the live Bazaar before writing the listing copy): generic OCR competitors are free but return raw unvalidated text; generic structured-extraction competitors charge ~$0.10/call and require the caller to already have plain text, not a raw file. This is the only listing found doing both — raw PDF/image in, a fixed validated schema out. Pricing (see wrangler.toml) is matched per-route to the lowest verified live-402 price from a direct competitor in that category, not set independently — $0.02 for invoice/receipt/resume/custom, $0.03 for contract (its real comparable is a cent higher). See src/lib/discovery.ts for the exact listing copy and each route's tags (serviceName/tags/description).

Architecture

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Grade history

  • 2026-10-30downgradeB → Cscore 68: eval / new Function used

Doc Extract API: common questions

Is Doc Extract API MCP server safe?
With care: it is graded C, so read the findings first (68/100). Read the Doc Extract API safety report
How do I install Doc Extract API?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Doc Extract API need an API key?
Yes. The registry entry asks for WALLET_PRIVATE_KEY.
Is Doc Extract API maintained?
The last commit was 58 days ago (2026-09-08). The latest release is v0.2.0.
What can I use instead of Doc Extract API?
Servers from other publishers that do the same job: Talonic MCP server, Mistral MCP server and Groundcheck MCP server.
How does Doc Extract API compare with other Scraping and browsing MCP servers?
safety score 68/100 (higher than 28% of 867 Scraping and browsing servers); tools 1 (the typical Scraping and browsing server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Doc Extract API

Same job from other publishers: the closest match first, then the best rated.

  • Talonic
    Extract structured, schema-validated data from PDFs, scans, images, spreadsheets, and forms.
    A
  • Mistral
    Mistral MCP server: extract invoices and documents from text, Markdown or OCR into typed JSON.
    B
  • Groundcheck
    Verify claims, resolve FIGI identity, extract claims, and sign x402 delivery receipts over MCP.
    A
  • Rendex: Rendering API for Images, PDFs & Content Extraction
    Render HTML, Markdown, or URLs to images, PDF, or branded artifacts; extract and watch pages.
    A
  • Brightdata
    Bright Data's Web MCP server enabling AI agents to search, extract & navigate the web
    B