Extract JSON
Turn unstructured text (emails, invoices, receipts, job posts) into schema-valid JSON. x402 paid.
使うべきか
品質と安全性
検出事項(2)
- LOWextract_json_lite 内
- LOWget_pricing 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"extract-json": {
"url": "https://extract-json.mintfacts.workers.dev/mcp"
}
}
}リモートエンドポイント
https://extract-json.mintfacts.workers.dev/mcpstreamable-httpできること
ツール一覧
ツール(4)
🟢extract_json(text, schema, fields, instructions)
Use this when you need to turn unstructured text (emails, invoices, receipts, job posts, listings, bios, support tickets, chat logs) into JSON matching a schema. Send the text plus a JSON Schema or a list of field names; get back data that validates against it. Missing values come back as null, never invented. Charged only on success. Price: $0.002 USDC per call (x402, eip155:8453); the first call returns payment requirements, then retry with an x402 payment in _meta["x402/payment"]. Not charged if extraction fails. Free trial: 25 free calls, no wallet needed: get a key with the get_trial_key tool (or POST /trial-key), then send it as the X-Trial-Key HTTP header on /mcp or in params._meta["trial_key"].
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 8000,
"description": "The unstructured text to extract from (max 8000 characters)."
},
"schema": {
"type": "object",
"description": "A JSON Schema (type: object, with properties) describing the JSON you want back. Supports type, properties, required, items, enum, description. Provide this OR fields."
},
"fields": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40,
"description": "Shortcut instead of a schema: field names, optionally typed as name:type where type is string, number, integer, boolean, date, string[], number[] or object[] (e.g. [\"name\", \"email\", \"total:number\", \"skills:string[]\"])."
},
"instructions": {
"type": "string",
"maxLength": 500,
"description": "Optional extra guidance, e.g. 'dates as YYYY-MM-DD', 'amounts in USD'."
}
},
"required": [
"text"
],
"additionalProperties": false,
"examples": [
{
"text": "Hi team, I'm Dana Ortiz, VP of Ops at Lumen Freight. Can we move Thursday's demo to Friday Nov 27 at 2pm ET? Reach me at [email protected] or (617) 555-0142.",
"fields": [
"name",
"title",
"company",
"email",
"phone",
"requested_meeting_time"
]
}
]
}出力スキーマ
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "The extracted JSON. Validates against your schema; values not found in the text are null."
},
"model": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"missing": {
"type": "array",
"items": {
"type": "string"
},
"description": "Paths of requested fields that were not found in the text (returned as null)."
},
"note": {
"type": "string"
}
},
"required": [
"data",
"model",
"warnings"
]
}🟢extract_json_lite(text, schema, fields, instructions)
Free, rate-limited demo of extract_json: up to 1000 characters of text and 5 fields (or a small schema). Use this to try the service; use extract_json for real work. Free, rate limited.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "The unstructured text to extract from (max 1000 characters)."
},
"schema": {
"type": "object",
"description": "A JSON Schema (type: object, with properties) describing the JSON you want back. Supports type, properties, required, items, enum, description. Provide this OR fields."
},
"fields": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40,
"description": "Shortcut instead of a schema: field names, optionally typed as name:type where type is string, number, integer, boolean, date, string[], number[] or object[] (e.g. [\"name\", \"email\", \"total:number\", \"skills:string[]\"])."
},
"instructions": {
"type": "string",
"maxLength": 500,
"description": "Optional extra guidance, e.g. 'dates as YYYY-MM-DD', 'amounts in USD'."
}
},
"required": [
"text"
],
"additionalProperties": false,
"examples": [
{
"text": "Hi team, I'm Dana Ortiz, VP of Ops at Lumen Freight. Can we move Thursday's demo to Friday Nov 27 at 2pm ET? Reach me at [email protected] or (617) 555-0142.",
"fields": [
"name",
"title",
"company",
"email",
"phone",
"requested_meeting_time"
]
}
]
}出力スキーマ
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "The extracted JSON. Validates against your schema; values not found in the text are null."
},
"model": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"missing": {
"type": "array",
"items": {
"type": "string"
},
"description": "Paths of requested fields that were not found in the text (returned as null)."
},
"note": {
"type": "string"
}
},
"required": [
"data",
"model",
"warnings"
]
}🟡get_trial_key
Use this when you want to try extract_json without a wallet: returns a key good for 25 free full extract_json calls (valid 30 days). Send it as the X-Trial-Key HTTP header on /mcp or in params._meta["trial_key"]. Free, limited per IP.
入力スキーマ
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢get_pricing
Use this when you want the current price, limits and payment details for Extract JSON. Free.
入力スキーマ
{
"type": "object",
"properties": {},
"additionalProperties": false
}コミュニティ
エビデンス