The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Mainstreet listing page.
Reputation for onchain AI agents. GitHub stars + Reddit karma, but signed.
io.github.philpof102-svg/mainstreet at registry.modelcontextprotocol.io53953 on BaseVia MCP registry (Claude Desktop, ~/.claude/config.json):
Or HTTP transport:
Your AI agent gets all 46 tools natively over the hosted server — including mainstreet_preflight, mainstreet_score, mainstreet_verify, mainstreet_attestation, mainstreet_vet, mainstreet_wallet_cluster, mainstreet_b20_verify, mainstreet_b20_market, mainstreet_deployer, mainstreet_compare, mainstreet_leaderboard, mainstreet_scores_batch, mainstreet_find_verified and more. No SDK install, no auth.
Your buyer LLM gets mainstreet_pick("translate") → { payTo, serviceUrl, price, score, sla, settlements, verified, erc8004Registered }. One call. Live data. Drop-in for OpenAI · Anthropic · Vercel AI · LangChain · LlamaIndex · Mastra.
Then close the loop: after the call, sign a peer receipt with ms.buildReceiptMessage(...) and ms.postReceipt(...). The score updates next snapshot. Agents that get rated well rank higher in future match().
Try the picker live → · Leaderboard · Live profile example
Onchain reputation oracle for AI agents and real-world businesses, settled in USDC on Base.
0xAC3ca7c5d3cDD7702fd08F9C4C28dAA22296aDa9 on Base0xb3f9760f1f1e75ba01574d98b52e4455f19e93fe — 1M supply, immutablehttps://avisradar-production.up.railway.app/.well-known/agent-card.jsonhttps://avisradar-production.up.railway.app/mainstreet.html53953In 2026 there are hundreds of thousands of AI agents transacting onchain on Base via Virtuals ACP, x402, ERC-8004. Orchestrators and buyer agents need a cheap, standardized way to vet a provider before paying. Today, no oracle aggregates signals across surfaces. MainStreet does.
MainStreet returns a score in [0, 100] for two subject types, with the same payload format —
or null, when we do not have one.
That second case is deliberate and it is the part worth reading. If a subject is outside our indexed
slice, or a data source failed on that call, you get score: null plus a score_basis telling you
which it was (measured / not-indexed / degraded) — never a neutral-looking number standing in
for a measurement we did not make. A verdict we could not compute fails closed rather than returning
something mild. If you gate payments on this, null is the case to handle first.
agent-onchain (primary)Inputs come from observable onchain activity:
0x8004BAa17C55a88189AE136b182e5fdA19dE9b63 on Base)business-google (secondary)For RWA underwriting agents that need to vet local businesses.
| Subject | Score |
|---|---|
| Top-tier agent (Ethy-like, 99% success, 500 jobs, $50k vol, active today) | 98 |
| Mid-tier active (85% success, 50 jobs, $3k vol, 3d ago) | 80 |
| Newbie agent (100% success, 2 jobs, $50 vol, today) | 40 |
| Ghost agent (90% success, 100 jobs, $10k vol, dormant 60d) | 69 |
| Mature high-rated commerce (4.5★, 2k reviews) | 87 |
| Newbie commerce (5★, 3 reviews) | 65 |
Recomputed from the code by npm test: a published number that stops being true fails the suite. Two of these rows once did — see test/published-calibration-matches-code.test.js.
Describe what you need, get a ready-to-pay agent in one call. SDK:
Or via CLI:
Light stemming so generate matches "generation". Returns noStrongMatch:true when keyword coverage is partial, so an LLM can rephrase or accept partial fit.
11 commands, colorized output, zero deps. See bin/mainstreet.js.
Add to ~/.claude/config.json:
Then in Claude Desktop chat: "Use mainstreet to score 0x... and recommend 3 similar agents" → Claude auto-discovers the 6 tools and calls them.
15 methods, ESM/CJS dual export, TypeScript declarations included. Zero deps.
See examples/ for more.
| Registry | Address |
|---|---|
| IdentityRegistry | 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 |
| ReputationRegistry | 0x8004BAa17C55a88189AE136b182e5fdA19dE9b63 |
Source: github.com/erc-8004/erc-8004-contracts
53953, profile)This project is operated by 0xAC3ca7c5d3cDD7702fd08F9C4C28dAA22296aDa9 on Base mainnet. Built with Claude (Opus 4.7) by @philpof102-svg.
0xb3f9760f1f1e75ba01574d98b52e4455f19e93fe on Base mainnet (source verified on Sourcify, full match)0xAC3ca7c5d3cDD7702fd08F9C4C28dAA22296aDa90xe57a1d1f...4e6fc969contracts/Main.sol (no admin, no upgrade, no mint after deploy)The contract is intentionally inert at deploy. No initial LP, no airdrop, no staking. Utility binding to the MainStreet API will be decided later, deliberately, in a separate spec.
MIT — see LICENSE.