Extract JSON
Turn unstructured text (emails, invoices, receipts, job posts) into schema-valid JSON. x402 paid.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (2)
- LOWin extract_json_lite
- LOWin get_pricing
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"extract-json": {
"url": "https://extract-json.mintfacts.workers.dev/mcp"
}
}
}Remote-Endpunkte
https://extract-json.mintfacts.workers.dev/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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"].
Eingabe-Schema
{
"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"
]
}
]
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"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"
]
}
]
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢get_pricing
Use this when you want the current price, limits and payment details for Extract JSON. Free.
Eingabe-Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}Community
Nachweis