AntFeed

v0.2.3
io.github.Augustas11/antfeed-mcp Checked 2 days ago Published 6 months ago

Discover and transact on the AntSeed P2P AI network from any MCP-compatible agent.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lookup

Substring-search the AntFeed provider directory by address, displayName, or service name (case-insensitive). Use for fuzzy discovery; use list_providers to browse, get_pricing for a single price. Returns matched providers with the same shape as list_providers, plus an opaque nextCursor for more matches.

ParameterTypeDescription
query *stringSubstring matched (case-insensitive) against address, displayName, or any service name
cursorstringOpaque pagination token returned by a previous call. Omit for the first page.
limitintegerMax matches per page (default 50, max 200).

list_providers

Browse the AntFeed provider directory page by page. Use to discover sellers; use lookup for substring search, get_pricing for a single (peerId, service) lookup. sort: score (USDC earned, default) | recent (last refresh). Returns up to limit providers per page, plus an opaque nextCursor for the next page.

ParameterTypeDescription
cursorstringOpaque pagination token returned by a previous call. Omit for the first page.
limitintegerMax providers per page (default 50, max 200).
sortstringscore = total USDC earned; recent = newest in directory (by last-refresh timestamp).

get_pricing

Look up a single seller's advertised price for one service. Use for point lookups (peerId + service); use list_providers to browse. Returns input/output USDC per million tokens with status INDEXED | PROVIDER_NOT_INDEXED | SERVICE_NOT_OFFERED | PRICE_NOT_PUBLISHED. Refreshed hourly from network.antseed.com.

ParameterTypeDescription
peerId *stringSeller's on-chain address (0x + 40 hex chars)
service *stringService identifier (e.g. 'gpt-5.4', 'code-auditor')

get_session_status

Look up the on-chain status of one payment channel by channel_id. Use for 'is my session settled yet?' checks; use create_session to open one. Returns {sessionId, buyer, seller, status, channelBalance, settledAmountUsdc, settled, openedAt, closedAt}. v1 paginates /api/channels client-side because there is no per-channel endpoint yet.

ParameterTypeDescription
sessionId *stringChannel ID (bytes32 hex, e.g. 0xabc...)

network_stats

Get a one-shot point-in-time snapshot of antfeed: settled revenue, today's DAU, indexer→profile drift, and Base gas price. Use this for 'state of the network right now' questions; use dau_trend for growth over time. Parallel fetches /api/stats, /api/gas, and /api/metrics/dau; any individual upstream failure degrades that field to null and is listed in partialFailures.

get_buyer

Look up a single buyer by 0x address. Use when you have an address; for browsing the directory of sellers use list_providers. Returns trust score breakdown (volume/consistency/diversity/reliability), aggregate session stats, the last 20 recent settled sessions, and the buyer's top sellers by spend.

ParameterTypeDescription
address *stringBuyer's on-chain address (0x + 40 hex chars)

dau_trend

Get the daily active users series between two dates (UTC days). Use for growth/trend questions; use network_stats for today's single value. Returns per-day total DAU plus buyer/seller breakdown and new-user count. Default window: last 30 days. granularity: day (only value supported today).

ParameterTypeDescription
fromstringISO date YYYY-MM-DD (UTC). Default: today − 30 days.
granularitystringBucket size. Only 'day' is supported today; param is reserved for future expansion.
tostringISO date YYYY-MM-DD (UTC). Default: today.

buyer_setup

Diagnose missing local AntSeed buyer — registered instead of create_session when no buyer responded to /health at startup. Use this to tell the user how to install a buyer (CLI or AntStation Desktop). Returns the probed buyer URL and install instructions. For trading, install a buyer and restart the MCP server.