API and MCP
Two doors into the same catalog. Both are free, need no key, and return the same citation format.
Connect over MCP
Citeline speaks the Model Context Protocol over streamable HTTP at https://citeline.pro/mcp.
# Claude Code
claude mcp add --transport http citeline https://citeline.pro/mcp
# any MCP client (JSON config)
{
"mcpServers": {
"citeline": { "type": "http", "url": "https://citeline.pro/mcp" }
}
}- lookup
- Input
q: a tx hash, an address, a$TICKERor a name. Returns a card of cited facts, or a list of matches for names. - recent
- Input
type:launchorverified, and an optionallimitup to 50. - verify_citation
- Input
id. Returns the stored citation, its leaf hash, its hourly root and the Merkle proof. - stats
- Head block, catalog sizes, citations issued and roots sealed.
JSON API
- GET /api/v1/lookup?q=
- Same as the
lookuptool. Try it. - GET /api/v1/recent
?type=launch|verified&limit=20. Try it.- GET /api/v1/citation/:id
- One citation with its proof. Try it.
- GET /api/v1/anchors
- The last 48 hourly roots. Try it.
- GET /api/v1/stats
- Index coverage. Try it.
Rate limit: 60 requests per minute per IP. Over the limit you get HTTP 429.
The citation format
{
"id": 4211, // citation number, stable
"v": 1, "chain": 4663,
"kind": "address", // tx | address
"subject": "0x…", // what the fact is about
"claim": "erc20_total_supply",
"value": "1000000000",
"source": "rpc", // rpc | pons | sourcify
"method": "eth_call totalSupply()",
"block": 121173318, // the read is pinned to this block
"url": "https://robinhoodchain.blockscout.com/address/0x…",
"observedAt": 1795411431, // unix seconds, UTC
"leaf": "0x…" // sha256 of the canonical JSON above
}The leaf is sha256 over the citation serialized with sorted keys and no spaces (without id and leaf). Hourly roots use sorted pair hashing, sha256(min(a,b) ‖ max(a,b)), with an odd last node carried up unchanged. The verify page recomputes all of this in your browser.
On-chain anchor
Every hourly root is stored in CitelineAnchor at 0xA9bf5a25Cd3046BcD4c27e5702d34499CA7E32be on Robinhood Chain (4663), source verified on Sourcify.
function sealCount() view returns (uint256)
function getSeal(uint256 id) view returns (bytes32 root, uint64 firstCitation, uint64 lastCitation, uint64 sealedAt)
function verify(uint256 id, bytes32 leaf, bytes32[] proof) view returns (bool)
# check any citation yourself (sealId, leaf and proof come from /api/v1/citation/:id)
cast call 0xA9bf5a25Cd3046BcD4c27e5702d34499CA7E32be "verify(uint256,bytes32,bytes32[])(bool)" <sealId> <leaf> "[<proof…>]" --rpc-url https://robinhood-rpc.publicnode.comThe contract is append only: a seal cannot be edited or removed, and it holds no funds. One server key may append seals; the owner can only replace that key. It has not had an external audit.
Sources and their limits
- rpc: a public Robinhood Chain node. Reads are pinned to a block number.
- pons: the public Pons launch API. Market cap and trade counts are unofficial and can lag by up to 10 minutes.
- sourcify: the Sourcify verification repository for chain 4663.
- Explorer links point to Blockscout. Citeline does not read from Blockscout.