Skip to content
VS Code

SchemaSure — structured extraction for VS Code

io.github.noamjose/schemasure

Extract schema-valid JSON from text/HTML or document images. Pay per call via x402 V2.

client:VS Code transport:stdio runtime:npm

Install SchemaSure — structured extraction in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "schemasure-api-url",
      "description": "SCHEMASURE_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "schemasure-timeout-ms",
      "description": "SCHEMASURE_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "schemasure-private-key",
      "description": "SCHEMASURE_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "schemasure-max-price-usd",
      "description": "SCHEMASURE_MAX_PRICE_USD",
      "password": true
    }
  ],
  "servers": {
    "schemasure": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@noamjose/schemasure"
      ],
      "env": {
        "SCHEMASURE_API_URL": "${input:schemasure-api-url}",
        "SCHEMASURE_TIMEOUT_MS": "${input:schemasure-timeout-ms}",
        "SCHEMASURE_PRIVATE_KEY": "${input:schemasure-private-key}",
        "SCHEMASURE_MAX_PRICE_USD": "${input:schemasure-max-price-usd}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

SchemaSure — structured extraction in other clients