streamable-httpMITupdated 8d ago
Open, reproducible benchmarks for crypto infrastructure. Aggregators, bridges, RPCs, oracles, price feeds, prediction markets, perp DEXes, cross-chain messaging. Same metric, same conditions, every provider. Live at openchainbench.com.
What can you do with OpenChainBench?
OpenChainBench
Open, reproducible benchmarks for crypto infrastructure. Aggregators, bridges, RPCs, oracles, price feeds, prediction markets, perp DEXes, cross-chain messaging. Same metric, same conditions, every provider. Live at openchainbench.com.
OpenChainBench publishes one benchmark at a time, each shipping with the harness that produces its data. The goal is to make performance an observable property of crypto infra, measured in the open, by anyone who wants to add a provider or a metric.
Community-run, MIT-licensed harnesses + CC-BY-4.0 data, PRs from any party including the providers we benchmark.
At a glance
- 94 live benchmark specs across 8 categories (RPCs, Trading, Aggregators, Bridges, Blockchains, RWA, Explorers, NFT APIs)
- 50 self-contained Go harnesses, each shipping a
/metricsPrometheus endpoint - 32 curated question/answer pages Β· 23 "alternatives to X" landing pages
- 26 machine-readable API routes (citation, badges, MCP, feeds, per-format quotes)
- One shared Prometheus, one materialization worker, CDN-fastpath snapshot store: cold reads in < 100 ms edge, no origin fan-out on hot paths
Quickstart
pnpm install
pnpm dev # site at http://localhost:3000
pnpm validate # bench spec Zod schema check (run before opening a PR)
pnpm typecheck # tsc --noEmit
Adding a benchmark, writing a harness, or fixing a number: see CONTRIBUTING.md + the visual walkthrough at /contribute.
Machine-readable surfaces
Every benchmark is licensed CC-BY-4.0 and exposed through endpoints designed for citation by journalists, devs, and AI agents:
| Endpoint | Audience | What it returns |
|---|---|---|
/llms.txt Β· /llms-full.txt |
LLM crawlers | Plain-text index (short) + full Markdown context (long) per the llmstxt.org convention. |
/api/citable |
Devs, agents | Flat JSON: every benchmark with current value, leader, headline sentence, citation URL, OG image URL. |
/api/stat/<slug> |
Devs, agents | Single benchmark: full rankings, sparkline (24h), methodology, paste-ready quote, attribution URL. |
/api/cite/<slug>/<format> |
Zotero, Mendeley, Perplexity | Citation in bibtex, apa, ris, or txt with the correct MIME type. |
/api/openapi.json |
LangChain, custom GPTs, generic clients | OpenAPI 3.1 schema describing every endpoint. |
/api/mcp/mcp |
MCP clients (Claude Desktop, Cursor, ChatGPT tools) | MCP server: list_benchmarks, get_benchmark, query_prom tools + openchainbench://benchmark/{slug} resource. |
/api/freshness |
Live UI, dashboards | {slug β asOf ms} map. Edge-cached 5 s. |
/api/llm-context |
LLM system prompts | Every benchmark with rankings + methodology in one Markdown blob. |
/benchmarks/<slug>/opengraph-image |
X, LinkedIn, Slack, iMessage | 1200Γ630 PNG with current value + leader + sparkline. Auto-served on link unfurl. |
/benchmarks/<slug>/share-card?template=... |
Manual export | 5 templates (ranking / snapshot / headline / compare / leaderboard), ?theme=dark supported. |
/api/badge/<bench>/<provider> |
Provider sites, READMEs | 360Γ36 embeddable SVG with the provider's rank + headline figure. |
/rss.xml Β· /feed.json |
Feed readers, agent tooling | RSS 2.0 + JSON Feed 1.1 mirrors, one entry per live bench, updated on release. |
/sitemap.xml Β· /robots.ts |
Crawlers | Every AI crawler (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot, β¦) explicitly allowed. |
Structured data on every bench page: Dataset + StatisticalReport + Observation + TechArticle + FAQPage + BreadcrumbList JSON-LD, plus a schema.org Dataset microdata graph layered on the visible "At a glance" infobox.
Journalist citation format (what /api/stat/<slug>.headlineSentence emits):
"Mobula leads head lag at 0.8s (p50, 24h) on Fastest onchain data provider.
Source: OpenChainBench (https://openchainbench.com/benchmarks/aggregator-head-lag)"
Site surfaces
| Route | What lives there |
|---|---|
/ |
Hero + Latest benchmarks table + Live dashboard |
/benchmarks Β· /benchmarks/[slug] |
Catalog grid + per-bench leaderboard with chart, ledger, chain/region filters, share cards, FAQ |
/benchmarks/[slug]/[chain] |
Chain-scoped bench view with per-chain explainer |
/products/[slug] |
Per-provider aggregated profile: every bench they appear in, top-1 counts, related products |
/chains/[slug] |
Per-chain hub: live native price, TVL history, every bench that touches this chain grouped by category |
/compare/[a]-vs-[b] |
Head-to-head comparison across shared benches, canonical alphabetical order enforced at the edge |
/alternatives/[slug] |
"Alternatives to X" landing pages with live leaderboard from the referenced bench |
/answers/[slug] |
Q&A pages backed by a live bench, formatted for AI answer engines |
/hyperliquid Β· /hyperliquid/[slug] |
HyperLiquid frontends cohort + per-builder dashboard (revenue, volume, first-active date) |
/perps Β· /prediction-markets Β· /rpc |
Vertical hubs aggregating multiple benches per topic |
/mcp |
MCP server docs + install instructions |
/methodology Β· /contribute Β· /team Β· /about Β· /press Β· /badges |
Static |
Architecture
βββββββββββββββββββββββββββ βββββββββββββββββββββ ββββββββββββββββββββββββ
β 50 Go harnesses on β β Shared Prometheus β β Materialization workerβ
β ocb-par-main (Paris) ββββ βΆβ (same VPS) βββββΆβ (same VPS, docker) β
β each exposes /metrics β β federates a few β β sweeps every 60s β
βββββββββββββββββββββββββββ β Railway regional β ββββββββ¬ββββββββββββββββ
β harnesses β β
βββββββββββββββββββββ βΌ
βββββββββββββββββββββββββββ
β Redis + CDN blob store β
β (SRH at kv.openchaβ¦) β
ββββββββββββ¬βββββββββββββββ
β
βββββββββββββββββββββββββββ
β Vercel Fluid Compute: β
β pages read CDN blobs β
β first, SRH as fallback, β
β last-known-good on cold β
βββββββββββββββββββββββββββ
- Harnesses + Prometheus + worker + Redis + SRH run on one VPS (
ocb-par-mainin Paris) via docker compose. A handful of multi-region harnesses (rpc-capabilities-us/eu/sgp, evm-quote-latency, aggregator-head-lag regional) stay on Railway and federate into the VPS Prom. - Worker publishes atomic snapshots every 60 s to Redis + CDN blobs at
kv.openchainbench.com/aggregate/{latest,benches/<slug>,variants/<slug>/<sig>}.json. Site reads CDN first (~20 ms edge), falls back to SRH, then to the last-known-good snapshot key on cold cache. - Site is Next.js 16 App Router on Vercel Fluid Compute. Auto-deploy from
mainon every push (with sitemap smoke test + auto-rollback + bench-page warm-up);devbranch runs on staging preview. - Middleware (
src/middleware.ts) handles lowercase 308 normalization,/compare/<b>-vs-<a>β canonical alphabetical, 410 Gone for removed benches, 301 for renamed ones, and cache-key normalization on read-only public APIs. - Live stream relay (WebSocket at
wss://stream.openchainbench.com/ws) is a separate service run by Mobula because it holds upstream API keys; the browser talks to it directly, Vercel only serves the static shell.
Full walkthrough with diagrams + a "clone-and-run-it-yourself" section is in docs/architecture.md.
Repo layout
benchmarks/ 94 YAML specs, one per public benchmark
harnesses/ 50 Go harnesses, each self-contained + Dockerized
answers/ 32 Q&A YAMLs backing /answers/<slug>
alternatives/ 23 "alternatives to X" YAMLs backing /alternatives/<slug>
worker/ Materialization worker (sweeps Prom β publishes CDN + Redis blobs)
infrastructure/ Shared Prometheus config
src/ Next.js 16 site (App Router, ISR, Tailwind 4, TypeScript, Zod)
docs/ architecture.md, methodology, walkthrough.md
scripts/ Spec validators + prebuild manifest generators
.github/ CI: prod deploy, staging preview, sync dev from main
Contributing
Read CONTRIBUTING.md for the long-form guide. TL;DR:
- Float an idea in Discussions
- Open a
π Propose a benchmarkissue with the metric + methodology - Write the harness (Go recommended, any language shipping
/metricsworks) - Host it (anywhere with HTTPS + public
/metrics) - Open a PR against
dev: spec YAML + harness ref + Prom scrape config - Review on the staging preview; merge to
mainwhen data lands
Editorial conventions
- Same metric, same conditions. If two providers can't be measured identically, they don't share a bench.
- Provider marketing does not shape published numbers. Public methodology + reproducible harness are the only source of truth.
- Retirement over removal. Retired benches return
410 Gonewith a link to the current catalog so previously-indexed URLs decay cleanly. - Freshness signals everywhere. Every citable surface carries
dateModified+asOfso LLMs can tell fresh data from stale. - Draft benches never quote a number. If quorum drops, the page renders "awaiting samples" rather than a fabricated leader.
Community + license
- Discussions: github.com/ChainBench/OpenChainBench/discussions
- Twitter/X: @OpenChainBench
- Wikidata: Q140172649
- Zenodo DOI: 10.5281/zenodo.20800311
- Hugging Face dataset mirror: OpenChainBench/benchmarks (daily parquet snapshots)
License: harness code MIT Β· dataset CC-BY-4.0 Β· attribution required. See LICENSE.
Install
Add OpenChainBench to your client. Pick the one you use.
claude mcp add --transport http openchainbench https://openchainbench.com/api/mcp/mcpcodex mcp add openchainbench --url https://openchainbench.com/api/mcp/mcp{
"mcpServers": {
"openchainbench": {
"url": "https://openchainbench.com/api/mcp/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"openchainbench": {
"type": "http",
"url": "https://openchainbench.com/api/mcp/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"openchainbench": {
"url": "https://openchainbench.com/api/mcp/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"openchainbench": {
"serverUrl": "https://openchainbench.com/api/mcp/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance19/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 0 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 1.0.0Latest | Jul 14, 2026 |