v5.24.0 · MIT OR Apache-2.0
Be your own indexer.
Turn an EVM contract's history into a local SQL database. One Rust binary, no Postgres, no subgraph to write, and an MCP server built in.
curl -fsSL https://nuthatch-indexer.com/install.sh | sh && export PATH="$HOME/.local/bin:$PATH" or: build with cargo · verify the script · have us host it, free
Peak memory
< 1.8 GiB
The largest nest we run, answering its 74 production statements two at a time: 1,595 to 1,788 MiB over four runs. 4.4.0 release notes ↗
OBIB case 6
4.67 s
Sentio's benchmark ↗: Uniswap V2 over 10,001 blocks, 35,271 events, median of five runs. Not a ranking. The 4.7.0 record ↗
Address to API
10 to 11 s
The README quickstart run as written in a clean ubuntu:24.04 container. 4.8.0 release notes ↗
A real run
A real run of 5.21.0, with the log trimmed to the lines that matter. init resolves the ABI and scaffolds the
project; dev follows the tip, seals finalized ranges to Parquet, and serves it.
--backfill 300 starts 300 blocks behind the tip, so there are rows within
seconds; without it dev backfills from deployment, which for a contract with a
long history wants your own archive-capable RPC.
How it works
One process, from RPC to a query you can trust.
Two engines, one binary
A hot store (redb) answers entity point-reads at the tip. Past finality, ranges seal to content-addressed Parquet segments, and Burrmill, an embedded query engine on DataFusion, reads them for analytical SQL. Single writer, no Postgres, no Docker.
Entities maintained as blocks arrive
General authored views run when queried. For a repeated, expensive aggregate, declare
an entity in entities.toml and Nuthatch maintains the keyed relation as
blocks arrive. A reorg is a retraction, not a pile of rollback code.
Deterministic by construction
Decode and derivation are reproducible: the same blocks in always give the same rows and entities out, so anyone can re-execute a nest and check the answer. Effects such as webhooks and alerts happen after sealing, never in the data path.
Where this is going is public, RFC by RFC - see the roadmap.
Where it sits
The honest comparison.
| The Graph | Ponder | Nuthatch | |
|---|---|---|---|
| Needs a subgraph | yes | no | no |
| Needs handler code | yes (AssemblyScript) | yes (TypeScript) | no: tables come from the ABI |
| Arbitrary per-event code | yes | yes | no |
| Data comes from | indexers on the network | your RPC endpoint | your RPC endpoint |
| What you run | nothing, or graph-node + Postgres + IPFS | Node.js, plus Postgres in production | one binary |
| Query with | GraphQL | SQL, GraphQL | SQL, HTTP, MCP |
Like Ponder, Nuthatch reads the chain over JSON-RPC, so it needs an endpoint, and a provider may charge for one. The public endpoints it bundles are for trying it out, not for keeping it running. It complements The Graph rather than replacing it: a subgraph serves an application from a network of indexers, while a nest puts a contract's history in a database on your own machine.
Agents
The AI writes the code. It never sits in the data path.
- A built-in MCP server: eight tools on every nest, covering schema discovery, SQL, entity lookup and
diff, plusbalanceandtop_balanceson a token nest; three resources and two prompts. Flags, exposure and a third prompt appear when the compliance pack is configured. - A governed semantic layer:
schemaserves this nest's meaning, andexplainchecks a query without running it, returning{valid: true}or the error with a fix hint. - A Claude Code skill an agent uses to drive nuthatch, not just read it.
initresolves the ABI and scaffolds the project: config,llms.txt, and that skill.- The skill hands the tool the real query surface, so it uses actual endpoints, not guesses.
- Works fully offline against your local instance.
Install
Under two minutes. One binary. No one to ask.
curl -fsSL https://nuthatch-indexer.com/install.sh | sh && export PATH="$HOME/.local/bin:$PATH"