Extract JSON

Turn unstructured text (emails, invoices, receipts, job posts) into schema-valid JSON. x402 paid.

Should I use this

Quality & Safety

B
Description quality
80%
Schema completeness
65%
Naming quality
90%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (2)

  • LOWTool 'extract_json_lite' description lacks action verbin extract_json_lite
  • LOWTool 'get_pricing' description lacks action verbin get_pricing

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,271Tokens (tool definitions)
~2.4 KBTypical response size
Moderate attention impact (0.99% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "extract-json": {
      "url": "https://extract-json.mintfacts.workers.dev/mcp"
    }
  }
}

Remote endpoints

https://extract-json.mintfacts.workers.dev/mcpstreamable-http

What it can do

Tool inventory

Tools (4)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢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"].

Input 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"
      ]
    }
  ]
}

Output 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.

Input 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"
      ]
    }
  ]
}

Output 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.

Input Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_pricing

Use this when you want the current price, limits and payment details for Extract JSON. Free.

Input Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded4 tools