OpenChainBench

io.github.FlotapponnierPublished by GitHub account Flotapponnierv1.0.0Updated Nov 9, 2026

Live, neutral benchmarks for public RPC latency, oracles, bridges, perp DEX, and prediction markets.

The publisher's own server: Agent.chain.tokyo Address Contracts

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingFinanceData & Analytics

Overview

AI-generated overview

Read-only access to OpenChainBench's live crypto infrastructure benchmarks: RPC latency, oracles, bridges, perp DEXes and prediction markets, with rankings…

What you can do
  • Browse the benchmark catalogue with current values, leaders and categories
  • Search benchmarks by a plain-language question and get full detail for one benchmark, including rankings, 24h trend, methodology and a citable quote
  • Compare named providers side by side on a benchmark, or get a recommendation for a stated goal
  • List published answer pages that pair a plain question with the sentence answering it from live data
When to use it
Useful when someone asks which crypto RPC, data API, bridge, oracle, perp DEX or prediction market is fastest, cheapest or most reliable, or wants a citable figure with a timestamp. It is a read-only data source, not a tool for running or configuring infrastructure.
Requirements
Remote streamable HTTP endpoint; no key, account or environment variables are needed. Read endpoints are rate limited to 60 requests a minute per IP.
Before you install
Figures are live and change; each response carries an asOf timestamp, and a quote pasted elsewhere goes stale, so cite it with that timestamp. Data is CC-BY-4.0 and requires attribution to OpenChainBench with a link to the source page. Rankings reflect measurements under the project's own methodology and may be unflattering to a provider.

Installation

In SourceWeft

  1. Open OpenChainBench in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Flotapponnier%2Fopenchainbench/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "openchainbench": {
      "type": "http",
      "url": "https://openchainbench.com/api/mcp/mcp"
    }
  }
}

README

OpenChainBench

OpenChainBench measures crypto infrastructure the same way for every provider, publishes the number, and ships the code that produced it. RPC endpoints, data APIs, bridges, perp DEXes, prediction markets, oracles, cross-chain messaging. Live at openchainbench.com.

It answers questions like which free Ethereum RPC answers fastest, or which bridge charges least to move USDC, with figures recomputed around the clock rather than written down once.

[live benchmarks] [code: MIT] [data: CC--BY--4.0] [PyPI] [MCP] [DOI]

[a live benchmark card]

Every benchmark ships with the harness that produces its data, under MIT, with the dataset under CC-BY-4.0, and pull requests are open to any party including the providers being measured. The card above is live, and GitHub caches it, so it can lag the page it links to.

What this is

  • A public registry of benchmarks, one YAML spec per benchmark, each naming its metric, its methodology and the exact PromQL behind every figure it publishes.
  • A set of self-contained Go harnesses that probe providers on a schedule and expose Prometheus metrics. One shared Prometheus scrapes them, one worker materializes snapshots, the site reads those snapshots.
  • A citable data surface. Every benchmark figure is available as JSON, as Markdown, over RSS and through an MCP server. JSON responses carry an asOf timestamp, a source URL and a licence; exported citations carry the page URL and the date you retrieved it.

What this is not

  • Not a token, a fund, or an RPC vendor.
  • Not editable by the measured. A provider may be shown the facts behind a report before it is published, and the staging site is public, so figures are visible before a release. Nobody outside the method can change a number.
  • Not a single-vendor view. Providers that cannot be measured under identical conditions are split into separate benchmarks, or filtered to the same scope, and the spec says which.

Get the data in 30 seconds

bash
pip install openchainbench
python
from openchainbench import OpenChainBench
with OpenChainBench() as ocb:    for b in ocb.list_benchmarks()[:5]:        print(b.slug, b.leader)
    head_lag = ocb.get_benchmark("aggregator-head-lag")    print(head_lag.headline)

No key and no account. Read endpoints allow 60 requests a minute per IP, and the AI crawlers named in robots.txt are exempt. The same data over plain HTTP:

bash
# every benchmark with its current value, leader and citationcurl https://openchainbench.com/api/citable
# one benchmark: rankings, 24h sparkline, methodology, paste-ready quotecurl https://openchainbench.com/api/stat/aggregator-head-lag
# a benchmark as Markdown instead of HTML, at the same URLcurl -H "Accept: text/markdown" https://openchainbench.com/benchmarks/bridge-fee

For an agent, point an MCP client at the hosted server:

json
{ "mcpServers": { "openchainbench": { "url": "https://openchainbench.com/api/mcp/mcp" } } }

It exposes list_benchmarks, get_benchmark, search_benchmarks, compare_providers, recommend_provider and list_answers, plus the openchainbench://benchmark/{slug} resource. Install notes are at /mcp.

One benchmark, end to end

A benchmark is a spec, a harness, and the surfaces generated from them. Take aggregator-head-lag, which measures how long a data API takes to emit a swap that is already on chain.

The spec (benchmarks/aggregator-head-lag.yml) declares the metric, the unit, whether higher is better, the written methodology, and one PromQL query per provider per percentile. No number on the page is typed by hand.

The harness (harnesses/aggregator-head-lag/) subscribes to chain events and to each provider's feed, races them per transaction, and exposes the result at /metrics.

The published shape, from GET /api/stat/aggregator-head-lag:

jsonc
{  "slug": "aggregator-head-lag",  "metric": "Head lag",  "unit": "s",  "higherIsBetter": false,  "value": 0.240038,                  // example reading, 2026-10-25  "leader":   { "name": "Codex", "slug": "codex", "value": 0.240038 },  // ms holds the raw series value in the benchmark's stored unit, which is  // not always milliseconds: on a percent benchmark it holds a percent.  "rankings": [ { "name": "Codex", "ms": { "p50": 240.038, "p90": 399.49 } } ],  "sparkline": [ /* 73 points, last 24h */ ],  "sampleSize": 184980,  "measured": 6,  "ranked": 6,  "asOf": "2026-10-25T19:26:11.573Z",  "freshness": { "ageHours": 0.2, "stale": false },  "headline": "...",                  // one sentence, ready to quote  "methodology": [ /* the written rules, same text as the page */ ],  "source": "https://github.com/ChainBench/OpenChainBench/tree/main/harnesses/aggregator-head-lag",  "license": "CC-BY-4.0"}

headline is generated from the current reading, so it is correct whenever you fetch it and stale the moment it is pasted into a file. Quote it with its asOf. For a formal citation use /api/cite/<slug>/bib.

By the numbers

In this repositoryCount
Benchmark spec files (benchmarks/*.yml)243
Harness directories (harnesses/*/, every one a Go module)73
Answer pages (answers/*.yml)49
Alternatives pages (alternatives/*.yml)21
Distinct categories (category: values across the specs)10
Categories with a published benchmark8
Held on staging until a release condition is met (DEV_ONLY_BENCH_SLUGS)7
Retired, answering 410 Gone or redirecting to a successor (REMOVED_BENCH_SLUGS)38

243 specs, minus 7 held on staging, minus 2 retired benches that keep their spec, leaves 234 benchmarks that this commit publishes. Counts derived from the repository at 2026-11-06.

Published by category: RPCs 157, Trading 43, Aggregators 9, Bridges 9, Blockchains 8, RWA 6, NFT APIs 1, Wallets 1.

The badge at the top reads the live count from /api/citable, which is what production serves. The table is derived from the commit you are reading. The two agree once a change has been released, and differ while a benchmark is merged and waiting, so comparing them tells you something instead of requiring you to trust either.

Machine-readable surfaces

Every benchmark is CC-BY-4.0 and reachable without a key.

EndpointWhat it returns
/api/citableEvery benchmark with its current value, leader, headline sentence, citation and asOf. Start here.
/api/stat/<slug>One benchmark: rankings, 24h sparkline, methodology, quote, source, freshness.
/api/series/<slug>Per-provider time series. ?range=24h.
/api/compare/<a>/<b>Two providers across every benchmark they share.
/api/cite/<slug>/<format>Citation as bib, ris, apa or txt, with the matching content type.
/api/openapi.jsonOpenAPI 3.1 schema covering 11 of the read endpoints.
/api/mcp/mcpMCP server over streamable HTTP. Six tools and one resource template.
/api/llm-contextEvery benchmark with rankings and methodology as one Markdown document.
/llms.txt · /llms-full.txtIndex and full context per the llmstxt.org convention. llms-full.txt and /api/llm-context serve the same document.
Accept: text/markdownReturns Markdown instead of HTML at the page's own URL, on /benchmarks/<slug>, /products/<slug>, /perps, /rwa and /capital. Browsers are unaffected because their Accept header includes text/html.
/api/freshness{slug: asOf} in epoch milliseconds for every benchmark, plus the server's now. Cached 30 s.
/api/og/<slug>The 1200x630 card with the current value, leader and sparkline, at a stable URL.
/benchmarks/<slug>/share-cardExport card in five templates (ranking, snapshot, headline, compare, leaderboard), with ?theme=dark.
/api/badge/<bench>/<provider>Embeddable SVG with that provider's rank and figure. Add /snippet for paste-ready Markdown.
/rss.xml · /feed.jsonRSS 2.0 and JSON Feed 1.1, one entry per live benchmark.
/sitemap.xml · /robots.txtEvery URL we publish. More than thirty AI and answer-engine crawlers are named and allowed explicitly.
/contribute/ai-brief.mdA brief written for coding agents contributing a benchmark.

Each benchmark page also carries Dataset, StatisticalReport, Observation, TechArticle, FAQPage, DataDownload and BreadcrumbList JSON-LD.

Two mirrors are published outside this repo: a Hugging Face dataset with a daily parquet snapshot, and a Zenodo record under DOI 10.5281/zenodo.20800311.

Site surfaces

Route familyWhat lives there
/benchmarks, /benchmarks/<slug>, /benchmarks/<slug>/<chain>Catalogue, then one leaderboard per benchmark with chart, ledger, chain and region filters, share cards and FAQ. Chain-scoped views carry their own explainer.
/products/<slug>One page per product: every benchmark it appears in, first-place counts, related products, and a view per category it belongs to.
/chains/<slug>Per-chain hub: native price, TVL history, and every benchmark touching that chain grouped by category.
/compare/<a>-vs-<b>Head to head across shared benchmarks. Alphabetical order is canonical and enforced with a redirect.
/answers/<slug> · /alternatives/<slug>Question pages and "alternatives to X" pages, each backed by a live benchmark rather than by prose.
/rpc · /perps · /prediction-markets · /hyperliquid · /capitalVertical hubs aggregating several benchmarks per topic.
/methodology · /contribute · /mcp · /press · /badges · /aboutHow it works, how to contribute, how to cite and embed.

How it works

mermaid
flowchart LR  H["Go harnesses<br/>each exposing /metrics"] --> P["Shared Prometheus"]  R["Regional harnesses<br/>US, EU, SGP"] -.federated.-> P  P --> W["Materialization worker<br/>sweeps and publishes snapshots"]  W --> B["Redis plus CDN blob store<br/>kv.openchainbench.com"]  B --> S["Next.js site on Vercel<br/>reads the blob, Redis as fallback"]  S --> A["JSON, Markdown, RSS, MCP,<br/>cards, badges, citations"]
  • Harnesses run as containers on one VPS in Paris. A few that must measure from more than one place run on Railway and federate into the same Prometheus, because a latency number is meaningless without saying where it was measured from.
  • The worker sweeps Prometheus on a timer and publishes atomic snapshots to Redis and to CDN blobs at kv.openchainbench.com/aggregate/.... The site reads the blob first, falls back to Redis, and falls back again to the last known good snapshot rather than rendering an empty page.
  • The site is Next.js 16 on Vercel. main deploys to production automatically, with a warm-up pass, a sitemap indexability smoke test, an automatic rollback if that test fails, and an IndexNow ping once it passes. dev deploys to a staging preview.
  • Routing rules are in src/middleware.ts and next.config. A retired benchmark answers 410 Gone with a link to the catalogue, or redirects permanently where it has a successor. A renamed one redirects permanently to its new slug. And /compare/<b>-vs-<a> redirects to the canonical alphabetical order, so one comparison has one URL.
  • The live dashboard reads a WebSocket relay at wss://stream.openchainbench.com/ws, which the maintainers run separately because it holds upstream API keys. The browser talks to it directly.

Depth, including a clone-and-run-it-yourself walkthrough, is in docs/architecture.md.

Repo layout

benchmarks/        one YAML spec per benchmarkharnesses/         one Go module per harness, each self-contained and Dockerizedanswers/           Q&A specs backing /answers/<slug>alternatives/      "alternatives to X" specs backing /alternatives/<slug>packages/          python-client, published to PyPI as openchainbenchworker/            materialization worker: Prometheus to CDN and Redis snapshotsinfrastructure/    shared Prometheus configsrc/               the Next.js site, App Router, TypeScript, Tailwind, Zodscripts/           spec validators, prebuild manifests, sitemap smoke testdocs/              architecture.md, methodology, walkthrough.mdpublic/            static assets served by the sitevideo/             the renderer behind the Export video button on every benchmark page.github/           CI, production deploy, staging preview, dataset publishing

crm/ and outreach/ are internal tooling and not part of the published benchmark surface.

Contributing

Long form in CONTRIBUTING.md, visual walkthrough at /contribute, and a brief for coding agents at /contribute/ai-brief.md.

  1. Float the idea in Discussions.
  2. Open a Propose a benchmark issue with the metric and the methodology, before writing code.
  3. Write the harness. Go is the convention, but anything that serves /metrics over HTTPS works.
  4. Host it anywhere with a stable HTTPS URL. You keep your keys and your budget; maintainers never see them.
  5. Open a PR against dev with the spec, a link to the harness, and the Prometheus scrape config.
  6. Review it on the staging preview. It reaches production once data has landed and the page reads correctly.

Local checks before you open it:

bash
pnpm installpnpm dev              # http://localhost:3000pnpm validate         # every spec against the Zod schemapnpm check            # validate, typecheck, lint, test

How we decide what to publish

  • Same metric, same conditions. Where providers cannot be measured identically they are split apart or filtered to a common scope, and the benchmark says so rather than comparing them anyway.
  • Marketing does not shape a number. The published methodology and the harness are the only inputs.
  • A benchmark earns its page. New ones are held on staging until a written condition is met, for example a full measurement window, an audit round, or a minimum number of providers. The conditions are in src/lib/removed-benches.ts, one comment per benchmark, including the ones still waiting.
  • Retirement, not deletion. A retired benchmark answers 410 Gone and keeps its entry, or redirects to its successor where one exists, so an indexed URL decays honestly instead of disappearing.
  • No number without a timestamp. Every JSON surface carries asOf, and /api/freshness returns the whole map as epoch milliseconds, so a reader can tell fresh from stale without asking us.
  • A draft never quotes a figure. If too few providers report, the page says it is awaiting samples instead of crowning a leader on thin data.

Cite this

bibtex
@misc{openchainbench,  author    = {OpenChainBench},  title     = {OpenChainBench: live benchmarks for crypto infrastructure},  year      = {2026},  doi       = {10.5281/zenodo.20800311},  url       = {https://openchainbench.com},  note      = {Dataset licensed CC-BY-4.0}}

For one benchmark, GET /api/cite/<slug>/bib returns the same shape for that page, and ris, apa and txt are also available.

The DOI resolves to the latest version of the dataset record, which is v1.0.1 published 2026-06-22. Cite it for the dataset, and cite a page with its asOf for a figure you read today.

Questions

Is the data free to use? Yes. The dataset is CC-BY-4.0, so quote it, chart it, or ship it in a product, with attribution to OpenChainBench and a link to the page you took it from. Harness code is MIT.

Can I add my own product? Yes, including if we already measure you. Providers can open PRs here. What a PR cannot do is change a number without changing the method that produced it, and a method change applies to every provider in that benchmark at once.

A figure about my product looks wrong. What now? Open a provider correction issue with the page, the figure and what you measured instead. Every benchmark value traces to a PromQL query in a spec and a harness in this repo, so a disagreement is usually resolvable by reading both.

How current is a number? Each benchmark carries its own asOf. /api/freshness returns the whole map in one request, and a page that has gone stale says so rather than showing an old figure as current.

Why does a benchmark exist in this repo but not on the site? Because it has not met its release condition yet. Those are listed with a reason in src/lib/removed-benches.ts, and the arithmetic in the numbers table above accounts for every one of them.

Do you measure providers who do not want to be measured? We measure endpoints any customer can reach under their published terms, free ones and paid ones, and the keyed benchmarks say which plan was used. A provider can ask for its methodology to be corrected and that is usually a good PR, but not for its result to be removed because the result is unflattering.

Community and licence

Discussions · @OpenChainBench · PyPI · Hugging Face · Zenodo · Wikidata

Harness and site code: MIT, see LICENSE. Dataset: CC-BY-4.0 with attribution required, published as the license field on every API response.

Source: README.md at commit dffd369

Tools

6

list_benchmarks

Browse the benchmark catalogue

A compact index of what OpenChainBench measures. One short row per benchmark: slug, title, category, the metric, the current value and who leads it. Use when the user asks what is measured at all ("what does OpenChainBench cover?", "do you track bridges?"). When they ask a question about a provider or a chain, use `search_benchmarks` instead: it ranks the catalogue against their words and costs far less to read. The catalogue holds over 200 benchmarks, so this is capped and filterable rather than exhaustive. Narrow with `category`, then open the one you need with `get_benchmark`. Categories: RPCs, Trading, Bridges, Blockchains, Aggregators, RWA, NFT APIs.

Parameterslimitcategory

search_benchmarks

Find the benchmark that answers a question

Ranks the benchmark catalogue against a question in the user's own words and returns the best few matches. Use this when somebody asks which provider, chain or service is fastest, cheapest, most reliable or best for something. Pass their phrasing through: provider names, chain names and goals all match. • "which Solana RPC is fastest" -> search_benchmarks({ query: "solana rpc" }) • "Alchemy or QuickNode on Base?" -> search_benchmarks({ query: "alchemy quicknode base" }) • "cheapest way to bridge to Arbitrum" -> search_benchmarks({ query: "bridge arbitrum" }) Returns compact rows. Open the one you want with `get_benchmark` for the full ranking and a citation line. An empty result means nothing is measured for that question; say so rather than guessing.

Parameterslimitqueryrequiredcategory

get_benchmark

Get a single OpenChainBench benchmark

Returns full detail for one benchmark, ready to cite verbatim: • rankings (every provider sorted by p50) • sparkline (24h trend, 72 points) • headline sentence + paste-ready citation quote • methodology bullets + source-code URL + canonical pageUrl + OG image URL Pass `chain` and/or `region` to scope the result to a sub-slice when the benchmark declares those dimensions (e.g. aggregator-head-lag exposes chain=base|bnb|solana, region=us-east|eu-west|ap-southeast). Both args are optional; omit them for the global aggregate. Chain RPC benchmarks (<chain>-rpc) rank two access cohorts apart: the free public endpoints (default) and the private, API-key providers (Alchemy, Chainstack, GetBlock, QuickNode). The default response carries both under `cohorts`; pass tier="keyed" to get the private cohort as the main record (rankings, quote, pageUrl). Never compare a public row with a private row: they are measured on different endpoints and cadences. Example usage: • User: "who's the fastest crypto data aggregator on Base?" → get_benchmark({ slug: "aggregator-head-lag", chain: "base" }) • User: "how much does it cost to bridge $300 cross-chain?" → get_benchmark({ slug: "bridge-fee" }) • User: "fastest Base RPC with an API key, Alchemy or QuickNode?" → get_benchmark({ slug: "base-rpc", tier: "keyed" }) Drafts return { error: "unknown_slug" }. Cite the returned `pageUrl` and use `quote` as the attribution line in your answer.

Parametersslugrequiredtierchainregion

compare_providers

Compare named providers head to head

Puts two or more named providers side by side on one benchmark, with each one's rank, measured value and success rate. Use when the user names the candidates themselves: "Alchemy or QuickNode?", "is Helius faster than Triton for Solana?", "compare Across and Stargate on fees". Find the benchmark slug with `search_benchmarks` first if you do not already have it. Providers the benchmark does not measure come back in `missing`: say they are not measured rather than implying they ranked badly. A provider measured but below the ranking floor comes back with rank null, which is also not a loss.

Parameterstierchainregionbenchmarkrequiredprovidersrequired

recommend_provider

Recommend a provider for a stated use case

Answers "which should I use for X" by picking the benchmarks that measure X and reporting who currently leads them. Pass the user's goal in their own words: "a Solana trading bot", "an indexer backfilling Base", "a wallet that needs price data", "bridging to Arbitrum". This returns measurements and the caveat that goes with them, not an endorsement. A leader on one benchmark is the leader of that one measurement over its stated window. Where the use case has a known caveat (a bot should read p99 rather than p50, an indexer is bound by archive depth) it comes back in `guidance`; pass it on, it is usually more useful than the ranking itself.

Parameterschainregionuse_caserequired

list_answers

List OpenChainBench answer pages

Returns every published answer page: one plain question, the sentence that answers it from live data, and the benchmark the number comes from. Call this when the user asks a question in words rather than by benchmark name ("which bridge is cheapest for $300?", "which Solana RPC lands transactions fastest?"). Match the question, then call `get_benchmark` with the returned `benchmark` slug for the full ranking behind it. Returns one row per answer: { slug, question, answer, benchmark, chain?, url, benchmarkUrl } Cite `url` when the question itself is the claim, `benchmarkUrl` when the measurement is. Drafts are filtered out, and an answer whose benchmark has no defensible leader yet says so in `answer` rather than naming a winner.

Parametersbenchmark

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Chain integrations