permitverdict-mcp

v0.2.4
io.github.okwithit9-debug/permitverdict-mcp Checked 2 days ago Published 4 months ago

Crypto price-event settlement verdicts and US building-permit data, paid per call in USDC.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

wallet_status

FREE. Whether a payment wallet is configured for this MCP server, and its address. Call this first if a paid tool reports it cannot pay.

list_settlement_assets

FREE. Which crypto assets, venues, operators and modes the settlement oracle supports, plus the price of each paid endpoint. Call this before resolve_price_event to confirm an asset is covered.

check_venue_health

FREE. Which price venues are answering right now, and how many independent sources are behind a verdict. Worth calling before you spend: a verdict corroborated by three venues is worth more than one backed by a single venue, and this tool tells you which you are about to buy.

ParameterTypeDescription
assetstringAsset to probe with. Defaults to BTC.

list_jurisdictions

FREE. Cities covered by the permit intelligence API, with pricing and payment details.

check_permit_activity

FREE. Whether a given address has recent permit activity, and how much. A yes/no screen — use get_permit_verdict when you need the full history and a decision.

ParameterTypeDescription
address *stringStreet address, e.g. '760 14th St'
jurisdiction *stringCovered city slug, e.g. san_francisco. See list_jurisdictions.

get_crypto_spot

PAID — $0.01 USDC. Live cross-venue spot price with venue agreement and spread. A wide spread means the venues disagree and any settlement priced in that range is contestable. Pays automatically from the configured wallet.

ParameterTypeDescription
asset *stringAsset symbol, e.g. BTC, ETH, SOL

resolve_price_event

PAID — $0.05 USDC. Settlement verdict for a crypto price event: did the asset trade or close above/below a threshold during a window? Returns YES / NO / DISPUTED / UNRESOLVED with per-venue evidence and stated confidence. Choose mode carefully — 'close' counts only candle closes, 'touch' counts any intrabar print including wicks. They routinely give different answers, and that difference is the single most common cause of a disputed settlement. When venues disagree the result is DISPUTED at low confidence rather than a confident guess. Pays automatically from the configured wallet.

ParameterTypeDescription
asset *stringAsset symbol, e.g. BTC, ETH, SOL
operator *stringComparison against the threshold
threshold *numberPrice threshold in USD
fromstringISO-8601 window start. Defaults to 24h before `to`.
modestringtouch = any intrabar print counts (default); close = only candle closes count
tostringISO-8601 window end. Defaults to now.

decode_decision_id

FREE. Given a Permit Verdict decision_id — one you were shown by a counterparty, or one you issued earlier — read what it claims and check whether Permit Verdict actually issued it. The decision_id is signed by the same wallet that receives payment, so forgery and after-the-fact editing are both detectable. Costs nothing and needs no wallet. This tells you the record is genuine; it does NOT tell you the verdict is still correct — use verify_decision for that.

ParameterTypeDescription
decision_id *stringA decision_id of the form pv1.<payload>.<signature>

verify_decision

PAID — $0.02 USDC. Re-resolve an attested settlement against the price venues right now and report whether it still holds: CONFIRMED, CHANGED, or INDETERMINATE. Call this whenever someone hands you a decision_id you are about to rely on. An attestation proves what was said at the time; only a fresh resolution proves it is still true — exchanges revise candle history, and a venue that was unreachable when the record was issued may answer differently now. CHANGED is the outcome that matters: it means acting on the original verdict would be acting on stale evidence. Cheaper than resolving fre…

ParameterTypeDescription
decision_id *stringA decision_id issued by attest_price_event

attest_price_event

PAID — $0.25 USDC. Everything resolve_price_event returns, plus a signed decision_id, an integrity hash over the evidence, and every candle that determined the outcome. This is the citable artifact: use it when the answer may later have to be defended to a counterparty, not when you just need to know. KEEP THE decision_id. It is self-contained — anyone you show it to can authenticate it for free with decode_decision_id, and confirm the verdict still holds for $0.02 with verify_decision, without you having to supply anything else. Pays automatically from the configured wallet.

ParameterTypeDescription
asset *stringAsset symbol, e.g. BTC, ETH, SOL
operator *stringComparison against the threshold
threshold *numberPrice threshold in USD
fromstringISO-8601 window start. Defaults to 24h before `to`.
modestringtouch (default) or close
tostringISO-8601 window end. Defaults to now.

get_permit_verdict

PAID — $2.00 USDC. Address-level building-permit intelligence for a covered city: normalized permit history, activity signals, and a decision-ready verdict with cited public records. Run the free check_permit_activity first — if there is no activity, this call has nothing to add. Pays automatically from the configured wallet.

ParameterTypeDescription
address *stringStreet address, e.g. '760 14th St'
jurisdiction *stringCovered city slug, e.g. san_francisco. See list_jurisdictions.