Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
SchemaLock — paid extraction: JSON from docs via your schema, x402/USDC.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
WALLET_PRIVATE_KEY「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"doc-extract-api": {
"command": "npx",
"args": [
"-y",
"doc-extract-api"
],
"env": {
"WALLET_PRIVATE_KEY": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add doc-extract-api --env WALLET_PRIVATE_KEY=your-value -- npx -y doc-extract-api動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"doc-extract-api": {
"command": "npx",
"args": [
"-y",
"doc-extract-api"
],
"env": {
"WALLET_PRIVATE_KEY": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"doc-extract-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"doc-extract-api"
],
"env": {
"WALLET_PRIVATE_KEY": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント thestarboy9696 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:WALLET_PRIVATE_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.2.0)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Zoo MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
An MCP server that provides access to the Zoo API for various CAD operations and tools.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.
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.
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).
invoice, receipt, contract, and resume extractions (also the tool input_schema sent to Claude, so the model is forced into this exact shape).document/image content block and a forced tool_choice, so the model can't return anything but the schema.validation_warnings alongside the data either way./extract/custom: same Claude forced-tool-use engine, but the tool's input_schema is a JSON Schema the caller supplies at request time instead of one of the four fixed schemas. There's no domain-specific validator (no fixed domain to check against), so this returns schema-conformant output, not fact-checked output — validation_warnings is always []. The caller's schema is bounded (≤6000 chars, depth ≤4, ≤30 properties per level, no $ref) and rejected with a 400 — which costs nothing, since x402 only settles on a non-error response — before any model call. Accepts either a file (binary PDF/image, same as the fixed routes) or content (raw text/HTML the caller already has — e.g. an already-scraped web page, ≤100,000 chars) — exactly one of the two, not both. The text/HTML path is labeled explicitly as data in the prompt sent to Claude, not instructions, since it's arbitrary caller-supplied content and could otherwise be a prompt-injection vector.X402_NETWORK = "base"), Coinbase's authenticated CDP facilitator plus Mogami and PayAI for additional Bazaar-equivalent discovery surface (CDP stays first/primary — earlier facilitators get precedence for verify/settle); maps this project's human-readable network names to the CAIP-2 identifiers x402 v2 uses (eip155:8453 etc). Important: src/index.ts caches the built payment middleware at module scope rather than rebuilding it per-request — with multiple facilitators, an unhealthy one adds its full timeout to initialize(), and rebuilding per-request meant paying that cost on *every* request (this broke the API entirely the first time multi-facilitator was tried). Caching means only a cold isolate's first request pays that cost.@x402/hono's paymentMiddlewareFromConfig guards /extract/*, built per-request from Env bindings (Workers only exposes env vars inside a request, not at module load time).extract_invoice, extract_receipt, extract_contract, extract_resume, and extract_custom tools. Each tool call signs and sends a real x402 payment (via @x402/fetch's wrapFetchWithPayment, same mechanism as scripts/test-payment.mjs) from a wallet supplied via WALLET_PRIVATE_KEY, then calls the live HTTP API over the network — it does not run extraction locally or call Claude directly. No free path: a missing or unfunded wallet fails the same way it would calling the API directly.The spec assumed a PDF→image conversion step (pdf2image/poppler). Cloudflare Workers can't run native binaries, and Claude's Messages API accepts PDFs natively as a document content block — so PDFs are sent to Claude as-is. This removes a whole pipeline stage and a dependency that wouldn't run on Workers anyway.
cd "doc-extract-api"
npm install
Local dev — copy .dev.vars.example to .dev.vars and fill in a real key (gitignored):
cp .dev.vars.example .dev.vars
Production:
npx wrangler secret put ANTHROPIC_API_KEY
Edit wrangler.toml: X402_PAY_TO_ADDRESS must be a real wallet address you control before this can receive actual payments. It's a public receiving address (safe to commit, like a bank account number) — never put a private key anywhere in this project.
X402_NETWORK defaults to base-sepolia (testnet, free fake USDC from a faucet — good for verifying the whole flow with zero real money at risk).
Pricing is per-route, not shared: X402_INVOICE_PRICE, X402_RECEIPT_PRICE, X402_CONTRACT_PRICE, X402_RESUME_PRICE, X402_CUSTOM_PRICE. Defaults are matched to the lowest verified live competitor per category — see the Positioning note above.
X402_NETWORK = "base")The free default facilitator (x402.org/facilitator, used automatically on testnet) only supports testnet — mainnet requires an authenticated facilitator. This project is wired for Coinbase's CDP facilitator (src/lib/facilitator.ts):
npx wrangler secret put CDP_API_KEY_IDnpx wrangler secret put CDP_API_KEY_SECRETX402_NETWORK = "base" in wrangler.toml and redeploy.Pricing: free for the first ~1,000 settled transactions/month, then $0.001 each — payment verification itself is always free. If X402_NETWORK is "base" and these secrets aren't set, requests will fail loudly at the facilitator-config step rather than silently misconfiguring payments.
Getting listed in the Bazaar requires at least one real mainnet payment to go through — the facilitator catalogs the resource the first time it processes a payment that echoes the bazaar extension. Run scripts/test-payment.mjs with a real funded wallet once to trigger it (see below), then confirm with:
curl -s "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources?limit=200" \
| grep -o 'doc-extract-api'
scripts/test-payment.mjs)Simulates a real autonomous agent: generates/uses a throwaway wallet, pays via x402 v2, and calls the live API. Fund a test wallet first — testnet USDC from a faucet (e.g. faucet.circle.com, Base Sepolia) for a free run, or a small amount of real USDC on Base if X402_NETWORK is "base":
node scripts/gen-test-wallet.mjs # prints a fresh throwaway private key + address
TEST_WALLET_PRIVATE_KEY=0x... node scripts/test-payment.mjs
Prints the settlement details and the recipient's before/after USDC balance — confirmed working end to end on both Base Sepolia (testnet) and Base mainnet with real USDC.
npm run dev
curl -X POST http://localhost:8787/extract/invoice -F "file=@/path/to/invoice.pdf"
/extract/custom takes a schema field (a JSON Schema string, type: "object"), an optional instructions field, and exactly one of file (binary) or content (raw text/HTML):
curl -X POST http://localhost:8787/extract/custom \
-F "file=@/path/to/doc.pdf" \ -F 'schema={"type":"object","properties":{"order_id":{"type":"string"},"ship_date":{"type":"string"}}}' \ -F "instructions=Dates in YYYY-MM-DD"
Or from raw text/HTML you already have — no file needed:
curl -X POST http://localhost:8787/extract/custom \
-F "content= Acme Corp Founded 1998, HQ in Austi
冒頭だけを表示しています。続きはリポジトリで読めます