Discover and transact on the AntSeed P2P AI network from any MCP-compatible agent.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Live at antfeed.org
An open-source, on-chain index of buyer activity on the AntSeed P2P AI services network. Provider/seller activity is already surfaced on antseed.com/network; this app fills the gap on the demand side: who is spending USDC on inference, with which providers, and how reliably.
Not affiliated with the AntSeed team.
AntseedStats.MetadataRecorded, with legacy settled-session metadata decoded only after validation.GET /api/score/[address] returns the trust score JSON for any address.| Script | What it does |
|---|---|
npm run dev | Local Next.js dev server |
npm run build | Production build |
npm run db:generate | Diff schema and emit a new migration in drizzle/ |
npm run db:push | Apply schema directly (dev-only, no migration history) |
npm run db:migrate | Apply pending migrations from drizzle/ |
npm run db:studio | Open Drizzle Studio for browsing the DB |
npm run sync | Run a one-shot indexer pass against the configured DB |
npm run sync loop | Loop until caught up to chain head |
| var | default | meaning |
|---|---|---|
DATABASE_URL | required | Postgres connection string. |
RPC_URL | https://base.drpc.org | Base RPC. DRPC and Tenderly free tiers allow large eth_getLogs ranges. |
CHAIN_ID | 8453 | 8453 Base mainnet, 84532 Base Sepolia. |
CRON_SECRET | none | Required in production. Cron requests must send Authorization: Bearer <CRON_SECRET>. |
LOG_BATCH_SIZE | 2000 | Max blocks per getLogs. Indexer auto-shrinks if RPC complains. |
CHANNELS_ADDRESS | 0xBA66d3b4f... | Override only if you've forked to a different contract. |
START_BLOCK | deployment block | First block to index from. |
Core settlement contract: AntseedChannels on Base mainnet,
0xBA66d3b4fbCf472F6F11D6F9F96aaCE96516F09d, deployed at block 45,667,842.
Auxiliary indexers also read AntseedStats, ANTS, staking, deposits, and identity events for token accounting, holder state, DAU, and address enrichment.
| event | semantic |
|---|---|
Reserved | session opened (buyer locks maxAmount for a seller). |
ChannelSettled | seller called settle; delta USDC moved this batch. metadata is seller-provided opaque bytes and is stored only after validation. |
MetadataRecorded | authorized stats writer recorded per-inference input/output tokens and request count; canonical source for network token totals. |
ChannelClosed | channel closed. settledAmount=0 + no prior ChannelSettled β ghost. |
ChannelTopUp | buyer added more deposit to an existing channel. |
ChannelWithdrawn | buyer pulled refund. |
CloseRequested | grace-period close started. |
Per-buyer aggregates are recomputed in SQL on every sync β no event replay needed for score recomputes. The indexer runs reconcileDrift() after each pass to catch rare partial-sync races.
lib/score.ts, 0β100, four sub-scores:
log10(USDC + 1) / log10(100) Γ 30. $100 settled = 30.log10(sessions + 1) / log10(50) Γ 25.<3 unique sellers = 0; 3 = 10; 10+ = 25.settled / (settled + ghost) Γ 20.A buyer with β₯3 distinct settled sellers earns the Qualified Proven Sign badge.
/api/score/{address} example:
vercel.json runs /api/cron/sync
every five minutes; do not add an external minute-level cron for the same
endpoint./api/cron/hero is an authenticated manual repair endpoint only. Call it
with ?repair=1 after confirming /api/cron/sync cannot refresh the hero
snapshot.API_RUNTIME_BASE_URL=http://localhost:3000 npm run test:api-runtime and
CSP_RUNTIME_URL=http://localhost:3000 npm run test:csp-runtime.npm run check:rate-limit-storage; otherwise the app falls back to
per-instance limits until the table exists.Issues and PRs are welcome. The most useful contributions right now:
Open an issue to discuss before submitting a large change.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/antfeed)<a href="https://allmcps.com/mcp/antfeed"><img src="https://allmcps.com/api/badge/antfeed?style=directory" alt="AntFeed on AllMCPs" /></a>