mcpField
S
SchemaSure — structured extraction

SchemaSure — structured extraction

Local
schemasure.comDeveloper Tools

About SchemaSure — structured extraction

Extract schema-valid JSON from text/HTML or document images. Pay with x402 on Base or MPP on Tempo.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"noamjose-schemasure": {
"command": "npx",
"args": [
"-y",
"@noamjose/schemasure"
],
"env": {
"SCHEMASURE_API_URL": "<SCHEMASURE_API_URL>",
"SCHEMASURE_TIMEOUT_MS": "<SCHEMASURE_TIMEOUT_MS>",
"SCHEMASURE_PRIVATE_KEY": "<SCHEMASURE_PRIVATE_KEY>",
"SCHEMASURE_MAX_PRICE_USD": "<SCHEMASURE_MAX_PRICE_USD>",
"SCHEMASURE_PAYMENT_PROTOCOL": "<SCHEMASURE_PAYMENT_PROTOCOL>"
}
}
}
}
Run commandnpx -y @noamjose/schemasure
Environment variables to set
SCHEMASURE_API_URLBase URL of SchemaSure. Text has free V1 evaluation without a wallet; image extraction is V2-only and always requires a wallet.
SCHEMASURE_TIMEOUT_MSPer-call request timeout in milliseconds.
SCHEMASURE_PRIVATE_KEYSecretOptional EVM key for a dedicated spending wallet. Signs x402 Base or MPP Tempo payments locally; never sent to SchemaSure.
SCHEMASURE_MAX_PRICE_USDClient-side spend cap in USD per call (paid mode). The client refuses to pay more than this, even if the server advertises a higher price.
SCHEMASURE_PAYMENT_PROTOCOLPayment protocol: x402 (USDC on Base) or mpp (USDC.e on Tempo). Signing stays local.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@noamjose/schemasure0.4.0

Tools

2

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
inputstringYesRaw unstructured content to extract from (plain text or HTML).
schemaobjectYesJSON Schema (draft 2020-12) that the returned `data` is guaranteed to satisfy.
optionsobjectNo
options.strictbooleanNoDrop fields not present in the schema.
options.maxRepairsintegerNoMax validate->re-prompt repair iterations.
options.deterministicbooleanNoEnable deterministic pre-extraction hints.
inputTypeenumNoHow to interpret `input`: plain text, HTML, or auto-detect (default).text | html | auto

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.