Servers Changes Log Check Watch Why How it works GitHub

io.github.Kali123411/k402

io.github.Kali123411/k402 · https://x402-compute.68cxgfyr0.workers.dev/mcp

Latest observed change · 2026-11-18T22:27:37Z

Agent-payable APIs on Kaspa: LLMs, chain data, covenants, zk proofs — pay per call, no API key

First observed
2026-09-23
Unchanged since
2026-11-18
Last observed
2026-12-03
Observations
157
Changes on record
1
Tools
44

Tool definitions as last observed (44)

  • attest_verify — Verify a RISC Zero receipt against an image_id -> {valid, journal_b64}. Anyone can check an attestation without trusting the prover. Paid (~$0.0002).
  • catalog — List every service this gateway sells (text tools, Kaspa chain data, LLM tiers) with live prices in KAS and USD. Free. Start here to see what's available and what calls cost.
  • channel_config — Parameters for opening a kaspa-channel — a covenant-enforced payment channel that settles per-call vouchers on Kaspa L1 with NO custodian (the trustless alternative to a prepaid session). Returns the payee pubkey, min/max channel size, required expiry lead, and maxfee. Free. Opening a channel means funding the channel covenant on-chain (payer holds the key), then paying per call wi …
  • channel_status — Status of a kaspa-channel by its channel id (covenant id): funded value, amount spent via vouchers, remaining, expiry, and whether it has been closed on-chain. Free.
  • classify — Classify text into one (or multiple, if multi=true) of 2-32 labels; the result is constrained to your label set. Paid (~$0.0003 in KAS).
  • covenant_address — Derive the covenant P2SH address for a compiled script on 'mainnet' or 'testnet-10'. Paid (~$0.0003).
  • covenant_broadcast — Broadcast a signed covenant tx (RpcTransaction JSON from covenant_build). MAINNET moves real KAS — run covenant_check first. Paid (~$0.0003).
  • covenant_build — Assemble a covenant spend tx. Each input: {txid, index, entry, compute_budget?, and either sigscript:{source,decl,args,is_leader?} to build a covenant sigscript server-side, or omit sigscript for a P2PK input you sign locally}. Each output: {amount, address|script_public_key_hex, covenant?:{authorizing_input,covenant_id}}. Returns the tx, a broadcast-ready rpc_transaction, fee acco …
  • covenant_check — Local txscript pre-verify of a signed covenant tx BEFORE broadcast — catches script failures that would otherwise cost you a broadcast. 'entries' are the spent UTXOs (covenant_utxos output plugs in directly). Returns {all_ok, inputs:[{index, ok, error?}]}. Paid (~$0.0005).
  • covenant_compile — Compile a Silverscript covenant to script hex, ABI, hardened template hash, and its P2SH address on each network. constructor_args is the silverc ctor JSON (e.g. [{"kind":"int","data":7}]). Paid (~$0.002). NOTE: 'compiles' ≠ proven on-chain.
  • covenant_utxos — Live UTXO set locked under a covenant address (covenant state inspection), from the node. Optionally filter by covenant_id. Paid (~$0.0003).
  • delist_service — Remove YOUR listing from the Kaspa Agent Market: a signed DELETE with the same listing body (same capability, endpoint, price, description), signed by your kUSD wallet key. Free. Local (stdio) only.
  • embed_text — Embed up to 64 texts (768-dim vectors, nomic-embed-text). Paid (~$0.0003 in KAS).
  • extract — Extract structured data from text as JSON guaranteed to match your JSON schema (schema-constrained decoding, not best-effort). Paid (~$0.0015 in KAS).
  • generate — Run a prompt on a GPU model tier: 'chat' (fast 7B, ~$0.0015), 'llama' (budget 8B, ~$0.0008), 'reason' (35B, ~$0.004), 'think' (deep chain-of-thought 35B MoE, ~$0.004), 'code' (coder model, ~$0.0025), or 'kaspa-expert' (RAG-grounded, current Kaspa knowledge, ~$0.0015). Returns the completion text.
  • get_quote — What one call would cost, fully checked, with NOTHING paid. Give a `capability` (the best listing on the Kaspa Agent Market is quoted, ranked by `policy`: registry | cheapest | reputation) or an `endpoint` (+ its listed `payee_pubkey` so the quote can be checked against it). Fetches the provider's 402 and returns the kUSD requirement: cents, the per-offer payee key, payment_id, wire, t …
  • job_result — Fetch a finished proving job's result {image_id, total_cycles, journal_b64, receipt_b64}. 404 until done; results kept 24h. Free.
  • job_status — Poll a proving job: queued/running/done/failed, queue position, cost. Free.
  • kaspa_balance — Balance of any Kaspa MAINNET address, straight from a node (no indexer, no API key). Paid (~$0.00015 in KAS).
  • kaspa_fee_estimate — Current Kaspa mainnet feerate buckets (sompi per gram of tx mass). Paid (~$0.00015).
  • kaspa_network — Kaspa mainnet status: DAA score, block count, difficulty, node sync state. Paid (~$0.00015 in KAS).
  • kaspa_tx_status — Mempool status of a Kaspa transaction. Absent from mempool means accepted-or-unknown — confirm acceptance by checking one of its outputs with kaspa_utxos. Paid (~$0.00015).
  • kaspa_utxos — UTXO set of a Kaspa mainnet address, including scriptPublicKey and covenant_id where set. Paid (~$0.0003 in KAS).
  • kusd_balance — Your kUSD market wallet: kUSD cents (and the boxes they sit in), KAS, and the payee key other agents would pay. Local (stdio) k402-mcp only; free.
  • kusd_spend_status — What your kUSD wallet's OPERATOR allows pay_kusd to spend, and what is left: frozen (kill switch), lifetime total, this window's cents / calls / PSM top-ups / unserved payments, the remaining amount on each bounded axis, and the policy itself. Read-only and free; the policy can only be changed by the operator (k402-spend CLI, KUSD_SPEND_POLICY). Local (stdio) k402-mcp only.
  • list_service — Sell on the Kaspa Agent Market: publish a kUSD-priced listing for YOUR 402-gated endpoint. The listing is signed with your kUSD wallet key (so payments reach you and nobody else can list as you) and the registry's listing fee (10¢ of kUSD on TN10) is paid through k402 from your wallet, inside the operator's policy. The endpoint must answer an unpaid request with a 402 carrying a kUSD r …
  • open_session — Open a prepaid payment session: returns a session key and a personal Kaspa MAINNET deposit address. Send KAS to the address from any wallet (min 0.25 KAS); confirmed deposits become spendable balance within seconds and every paid tool call meters against it. Free. The session is saved locally so subsequent calls use it automatically.
  • pay_kusd — Buy one call from the kUSD market: discover the providers listing `capability` for kUSD (registry_search currency='kUSD'), rank them (policy: registry | cheapest | reputation), pay the best one from YOUR kUSD wallet — at most `max_price_cents` — and return its result. The payment is a kUSD box of exactly the quoted cents to the provider, on the x402 wire (PAYMENT-REQUIRED / PAYMENT …
  • pay_per_call — Complete a PER-CALL coin payment. After a paid tool returns a 402 with pay_per_call_offers, pay one offer on-chain from your own wallet, then call this with the 402's `endpoint` and `request_body`, the chosen offer's `scheme` and `payment_id`, and your payment `txid`. The gateway verifies the payment landed and returns the tool's real result. (Alternative to a prepaid session — use …
  • payment_options — Which coins and schemes this gateway accepts for payment. Free. Ways to pay any paid tool: a prepaid KAS session (open_session — simplest, no per-call step); per-call in any listed coin (pay the offer a 402 returns, then pay_per_call); or, where the experimental 'kaspa-channel' scheme is offered, a covenant payment channel that settles per-call vouchers on L1 with no custodian (see …
  • prove_guest_upload — Upload a RISC Zero program binary (the .bin risc0-build emits, base64) once; returns its content-addressed image_id (also the verification key), reusable across proofs. Paid (~$0.01).
  • prove_preflight — Execute a guest WITHOUT proving: exact cycle count + a signed price quote {total_cycles, price_kas, quote_id, quote_expires}. Run this first — proving cost scales with cycles by orders of magnitude. Paid (~$0.002).
  • prove_submit — Queue a proving job -> {job_id, cost_kas}. Pass quote_id (from prove_preflight; charged the quote) or max_kas (skip preflight; priced on actual cycles, refuses if over the cap). Then poll job_status and fetch job_result. Paid: the proof's cycle-based price (dynamic).
  • read_url — Fetch a public web page and return its title + clean markdown; distill=true adds key-fact bullets. Useful when you have no web access of your own. Paid (~$0.0012 in KAS).
  • registry_activity — The Kaspa Agent Market's settlements feed: kUSD payments the registry verified on its own node, newest first (txid, box index, payee, cents, capability, time) and the all-time total. This is what agents actually paid, not what anyone claimed. Free.
  • registry_provider — Full detail on one provider in the Kaspa Agent Market by its payee pubkey: every service it lists, its reputation derived from chain-verified settlements (settled KAS, settled kUSD cents, counts, first/last), and its payee address. Free.
  • registry_search — Discover providers in the k402 service exchange — an open marketplace of agent-payable services, each settled directly with the provider (no custodian): over a Kaspa payment channel, or per call in kUSD (the covenant-native dollar on Kaspa). Filter by capability (e.g. 'summarize', 'llm:reason', 'zk-prove'), max USD price, minimum reputation (settled KAS volume, chain-verified), and …
  • rewrite — Rewrite text per an instruction (tone, format, length...). Paid (~$0.001 in KAS).
  • search_index — Store documents [{id, text, meta?}] in a named server-side collection for semantic search. Use an unguessable collection name and keep it secret. Paid (~$0.0015 in KAS).
  • search_query — Semantic-search a collection you indexed earlier; returns top-k matches with scores. Paid (~$0.0003 in KAS).
  • session_status — Check the current payment session: deposit address, deposited / spent / remaining KAS. Free.
  • summarize — Summarize text or a public URL in at most max_words. Paid (~$0.001 in KAS).
  • use_session — Attach an existing k402 session key (from a previous open_session) so paid calls meter against its balance — use after reconnecting to the hosted endpoint, or to carry one funded session across clients. Returns the session's current balance. Free.
  • verify_settlement — Did a kUSD payment count? Two independent answers. `registry`: the Kaspa Agent Market's verified settlement row(s) for the txid (it checked the box on its own node before recording it), or verified:false when it has none. `node`: when you also give the offer's payee_pubkey, cents and payment_id and this k402-mcp has a local kUSD wallet (stdio), the box is checked again on the wallet's …

For signed observations, earlier tool sets and diffs, use the interactive record or /api/v1/servers/82c0385c3339683e.

io.github.Kali123411

Transparency log · MCP tool definitions

Every MCP server's tools, on the record.

Your AI client trusts the tool descriptions an MCP server sends it — and a server can change them after you approved it. HISTOR keeps a public, signed record of what every remote MCP server in the official registry advertised, and tells you the day it changed.

Remote endpoints: it lists tools and never calls one. Registry packages: bounded canary calls run inside the isolated sandbox. It never says a server is safe — it tells you what was said, and when.

DRAG TO ORBIT
SIM
—

WebGL is unavailable here. The picture is the log itself: each label is a leaf, leaf hashes climb a Merkle tree, and a signed tree head seals the root.

—
Registry remote endpoints
last completed crawl
—
Targets with a pinned tool set
current
—
Changes
last 7 days
—
Labels in the log
all time
—
Last signed tree head
UTC

What HISTOR is for

Tool descriptions are instructions. They should not change behind your back.

The problem

A server can change what your model reads

When you connect an MCP server, its tool descriptions go straight to the model as instructions. A server can pass your review with harmless descriptions and change them next week — one added sentence is all a prompt injection needs, and most clients never ask you again.

What HISTOR does

It keeps the public record

Every six hours (every 30 minutes for a week once its tools have changed twice) HISTOR reads what each remote (streamable-HTTP) endpoint in the official MCP registry advertises, fingerprints it, signs what it saw and appends it to a log that can only grow. When a server's definitions change, the change gets a date and a diff.

What you get

A second pair of eyes you can check

Look up any server before you trust it. Paste what your client received and learn whether everyone else sees the same thing. Follow changes in a feed, or put a badge in your README. Every answer is signed, so you can verify it instead of believing it.

Who it is for

People who use MCP serversin Claude, Cursor or any client — check a server before you connect it, and again when it changes.
Agent builderswhose agents connect to servers on their own — call /check before trusting a tool set.
Registries and directoriesthat want more than stars and download counts — show when a listing's tools last changed.
Server authorswho want to show a stable, documented history — add the badge, and every change you ship is dated in public.

Four words used on this page

Tool definitions
The name, description and input schema of each tool a server offers — the text your model reads.
Pinned
HISTOR has recorded a fingerprint (digest) of the exact definitions it saw, so any later change is detectable.
Label
One signed statement about one observation: what was seen, what matched, whether it changed. Anyone can verify it offline.
Signed tree head
The log's signed summary after each crawl. Comparing two of them proves nothing was deleted or rewritten in between.

Read → digest → label → append → sign → compare

How the log works

Six steps, every one of them checkable by someone who does not trust HISTOR. The only thing you have to take on faith is that the observation happened when the label says it did — and the log makes it impossible to change that story afterwards.

01

Read

Remote endpoints in the official MCP registry: initialize, then tools/list, drained across every page; no tool is called, and private addresses are refused before the connection opens. npm and PyPI packages: installed and started in the sandbox described below, with no route out.

02

Digest

The tool set is reduced to name, description, input and output schema, sorted by UTF-16 code units and hashed over its RFC 8785 canonical form. Anyone holding the same tools gets the same digest — which is what makes a comparison possible.

03

Label

Four MTL/1 methods, one signed AWR/2 document each: what was observed, what the WARDEN pattern set matched, whether the definitions changed since the last label, and whether the name is on a threat list. No score, ever.

04

Append

Every label becomes a leaf of an RFC 9162 Merkle tree: leaf hash = SHA-256(0x00 ‖ JCS(label)). The label you download is the leaf input, so you can recompute its hash yourself.

05

Sign

After each crawl HISTOR signs a tree head: the size and the root. Keep yesterday's head; ask for a consistency proof to today's; if anything was removed or rewritten, the proof fails.

06

Compare

Each day a continuity label compares the new digest with the last one. Equal: "unchanged since". Different: a change, with the date and a per-tool diff. A client that checks what it received adds the view no crawler has.

Where an npm or PyPI package is run

Test conditions

A package observation is true for these conditions, and no others. Every package page names the exact image it ran in and any configuration it was given.

System

Linux x86_64, inside gVisor (runsc): the package talks to a kernel written for sandboxing, not to the host's. An unprivileged user, no capabilities, a read-only root.

Runtimes

npm packages in histor-node:22, PyPI packages in histor-python:3.12: the official node:22-bookworm-slim and python:3.12-slim images plus bash, git, Python 3 or Node 22 and a Java 21 runtime — never Docker — built when a sandbox host is installed. A package whose Requires-Python excludes 3.12 runs on histor-python:3.13 or 3.14; one that requires a newer Node runs again on histor-node:24. The exact image a package ran in is on its page.

Install

npm with --ignore-scripts, then the install scripts in a traced stage of their own. PyPI: wheels only — a package that ships only source is reported, never built.

Network

No route out. Every name the package looks up resolves to HISTOR's own traps, which record what was sent and forward nothing. A server that needs the internet to start shows that here.

Secrets

None are real. Decoy credentials sit in HOME and a decoy .env in the working directory. A variable the package says it needs gets a placeholder; where the placeholder was sent is recorded.

Limits

512 MB of memory, one CPU, 64 MB of /tmp. 360 s to install, 150 s to start and answer; up to 15 tools called once each with canary arguments, 8 s per call.

Configuration

Only names: required variables its registry entry declares or that it printed when it exited, and a start argument such as serve when its usage text offers one. Never a value from anyone else.

What a label does not say

The profile HISTOR implements forbids the words safe, secure, audited, certified, approved and trusted. Here is why, in the terms of what the log can and cannot show.

Not a safety rating

A pattern match is a reason to read a definition, not a finding. Three of the four methods can never return fail. There is no score to rank by, because no score HISTOR could compute would mean what a reader takes it to mean.

Not the code

Labels are about advertised text. A remote endpoint's source is never read and its tools are never invoked; a package runs only in the sandbox, against nothing real. A server can keep identical definitions and behave differently for real users; the log cannot see that, and says so inside every label.

A change is not an accusation

A version bump changes definitions too. A change is shown as a date and a diff, in amber, never red. What you do with it is yours: re-read, re-approve, or pin the old digest.

A package as run here, not on your machine

An npm or PyPI server is observed under the test conditions above: Linux, no internet, placeholder keys. One that needs Windows, a real account or the network may show fewer tools or none; its page says why it exited.

One operator, one key

Today one party runs the log. A second observer on another network is the next step, and any AIMarket hub can run one. Until then, what the key proves is who said it — not that it is true.

Behind a login, unseen

Endpoints that require authentication answer 401 to everyone without a key, including HISTOR. They are counted and listed as not observed, never dropped from the numbers.

Other logs, the same servers

Outside checks

HISTOR is not the only public record of MCP tool definitions. Where another log publishes its reads, the two are compared on the same servers and days, and the result is published both ways, with HISTOR's own misses.

ScraperWatch

A daily diff of a fixed panel of about 3,000 remote endpoints. HISTOR compares each of their published days with its own reads, and ScraperWatch shows the result on its page under "Outside check". The first comparison found a robots.txt parsing limit on their side and a handshake regression on HISTOR's; both were fixed the same day.

scraperwatch.com/mcp-changes
/datasets/peers/scraperwatch/latest

heldfast

An open daily record of the tool definitions of the servers in the official MCP registry. Of the 23,190 servers both logs recorded on 26 October 2026, 21,215 had every field in both; on those, 97.9% of servers and 99.1% of tools were identical byte for byte, and each difference has a stated cause: package versions, read times, failed reads, a first page only, an older protocol.

github.com/rufat325/heldfast
/datasets/interop-digests-2026-10-31

For clients, registries and server authors

Use it

Before your agent trusts a server, send the tools it received. The answer is signed by the log's did:key and names the tree head it was given under.

curl -sS https://histor.modelmarket.dev/api/v1/check \
  -H 'Content-Type: application/json' \
  -d '{"endpoint":"https://example.com/mcp","tools":[ …tools/list result… ],"contribute":true}'
# -> {"type":"histor.check/v1","match":"same"|"different"|"previously-observed"|"same-other-revision"|…,
#     "observed":{"unchangedSince":"…","changes":0}, "patternScan":{…}, "signature":{…}}

# Only looking a server up: a GET with its endpoint (writes nothing)
curl -sS "https://histor.modelmarket.dev/api/v1/check?endpoint=https://example.com/mcp"

# README badge for your server
[![MCP tool defs](https://histor.modelmarket.dev/badge/<id>.svg)](https://histor.modelmarket.dev/s/<id>)

# Atom feed of every observed change
https://histor.modelmarket.dev/feed.xml
WARDENchecks definitions at connect
HISTORremembers what was advertised
THEMISadmits at publish
Hublists histor.check@v1
AWRthe signed format

Questions

Is this a marketplace listing?

No. The server list is the log's index: every remote endpoint in the official MCP registry, with what HISTOR could observe about it. Nothing here is for sale and nothing is ranked by quality.

Does HISTOR tell me a server is safe?

No, and it never will. It tells you what a server advertised, whether that changed, and which published patterns matched the text. Whether to trust the server is your decision — HISTOR makes sure you decide on the same facts as everyone else.

Why are so many servers "not observed"?

Most remote MCP endpoints require a login (they answer 401 to anyone without a key), some use the legacy SSE transport or need per-user values in the URL, and some are simply down. They stay on the list with the reason, so the numbers never hide them.

How do I check a server I already use?

Open the Check tab, paste the server's endpoint and the tools/list result your client received, and press Check. You get back, signed, whether HISTOR observed the same definitions — or different ones, or an older set.

What does HISTOR record when a tool definition changes?

HISTOR records tool names, descriptions and input schemas from tools/list, plus any output schemas the server returns. Each change compares the newly observed list with the previous list from the same server. A full diff shows tools added or removed, word-level edits to descriptions, and old and new schema values at the JSON paths that changed. If either observation has only names, the diff is limited to names. HISTOR tracks annotations such as readOnlyHint separately when it captures them.

Browse observed changes · Example diff (JSON) · Original question on DEV

How do I get a badge for my server?

Find your endpoint on the Servers tab, open it, and copy the Markdown snippet under the facts. The badge shows the date your definitions were pinned or last changed, and links to the full history.

Why should I trust HISTOR itself?

You do not have to. Every label and every tree head is signed with one published key; the Log tab proves in your browser that the log only grew; and the command-line auditor does the same from any machine. What remains is that one operator runs it today — a second, independent observer is the next step.

What does it cost?

Looking things up, the badges, the feed and /check are free. HISTOR also offers histor.check@v1 to the AIMarket Hub, so agents can reach it through the market.

I run an MCP server. What does HISTOR send it, and how do I opt out?

Every 6 hours, and every 30 minutes for a week once its tools have changed twice in a week. First it reads /robots.txt (RFC 9309, product token histor, about once a day per site): a path that file does not allow HISTOR is not read, and its page here says so. Otherwise server/discover and tools/list (MCP 2026-07-28), or, for a server without that, initialize, notifications/initialized and tools/list — never a tool call, never a redirect followed on the MCP path, at most two connections per host, from a User-Agent that starts with histor/. To keep HISTOR out, disallow your MCP path for User-agent: histor (or for all crawlers); to let HISTOR alone in, add User-agent: histor with an Allow line for that path. An issue on the histor repository with your endpoint or host also works: it is then listed as not observed (operator-opt-out), with the reason, rather than silently dropped. Labels already in the log stay: the log only grows.