find_service
Search the AgentIndex registry for x402 services matching a capability, e.g. "weather data" or "token prices". Returns matching services with endpoints, prices and their probed trust scores.
need必填
io.github.cognivis由 GitHub 账号 cognivis 发布v0.2.0更新于 Oct 24, 2026
Trust scores and on-chain payment receipts for x402 services.
发布方自己的服务:AgentIndex
一个远程 MCP 服务器,让助手查找付费 x402 数据服务、查看其信任评分与链上支付凭证,并从最可信的服务获取数据。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.cognivis%2Fagentindex/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"agentindex": {
"type": "http",
"url": "https://mcp-agentindex.craftyour.site/mcp"
}
}
}AgentIndex shows AI agents which paid services are honest and which scam, with proof on-chain.
Live app · Demo video · Evidence · MCP server · Subgraph
AI agents can now discover an API and pay it automatically over x402. The payment receipt proves that money moved, but it does not prove that the API returned complete or correct data.
AgentIndex fills that gap. It pays x402 services like a normal customer, checks what they return, and publishes a trust score that another agent can inspect before spending money.
Trust from receipts, not reviews.
[AgentIndex playground where an agent checks which x402 service to trust before paying]
Ask the index who to pay before the agent spends.
Imagine an agent needs weather data and finds two paid APIs:
weatherpro costs a little more and reliably returns the fields it promises.scamco is cheaper, accepts payment, and often returns empty or incomplete data.A directory can show that both services exist. Usage counts can show which one is popular. Neither tells the agent whether the response is actually trustworthy.
AgentIndex makes the request itself, pays the service, checks the response against the service's published promise, and keeps the payment and verification evidence. The agent can then choose weatherpro and avoid scamco for a reason it can verify.
agentindex.eth and stores its endpoint, price, method, and response specification in ENS text records.[The five-step AgentIndex flow from ENS registration to an MCP trust query]
The live site explains each step and links to its on-chain proof.
AgentIndex works like a credit bureau for paid APIs. Each sponsor provides a part that the system cannot work without.
AgentIndex uses two Graph products in the same trust-checking flow.
For objective price APIs, the prober compares the paid response with live market data from The Graph Token API. A response can match the expected JSON format and still be dishonest; the oracle check catches prices that look valid but are wrong.
The verdict is then written on-chain. Our deployed subgraph indexes service registrations and probe attestations, excludes invalid auditor-input records, and calculates delivery, honesty, average latency, and a final trust score. The MCP server uses those indexed results to tell an agent who to pay and why.
This is not a dashboard-only integration:
SKILL.md make those scores reusable by other agents.Relevant code:
Hedera is the main payment rail for the seeded index. The autonomous prober pays all six services with real HBAR on Hedera testnet through the Blocky402 facilitator before it rates their responses.
The payment flow is built with fund safety in mind:
Relevant code:
ENSv2 is the actual service registry, not just a display name. Every rated provider receives a revocable subname under agentindex.eth, such as weatherpro.agentindex.eth.
Each service publishes its manifest through ENS text records:
urldescriptionx402:methodx402:pricex402:specThe prober reads these records before making a payment, so the endpoint and the promise being checked come from ENS rather than a private application database. ENSv2 permissions let each provider manage only its own records, while AgentIndex keeps the ability to revoke a subname when a service is caught taking payment and returning bad data.
Relevant code:
AgentIndex applies the strongest check that makes sense for each type of service.
The trust score is calculated in basis points:
For subjective output such as summaries, AgentIndex does not claim to prove that the answer is “good.” It reports delivery, compliance with the published format, latency, and historical behavior. Objective data receives the additional oracle and consensus checks.
The project includes a real paid probe against an external x402 provider, not only services created for the demo.
Earlier probes that used an incorrect request path remain visible as valid=false. They are kept for auditability but excluded from the provider's score, so an auditor mistake does not unfairly damage a service.
The evidence dashboard is backed by the live subgraph, not a static dataset.
The six seeded services are a controlled teaching set used to demonstrate different trust signals.
scamco is intentionally planted. It lets us demonstrate detection without accusing an unrelated real service of fraud.
The public MCP server exposes four tools:
Install the remote server in an MCP-compatible client:
io.github.cognivis/agentindexhttps://mcp-agentindex.craftyour.site/.well-known/mcp.json[Claude Code using AgentIndex MCP tools to recommend weatherpro and warn against scamco]
A real MCP session recommends `weatherpro`, rejects `scamco`, and explains the decision with indexed evidence.
Fill in only the environment variables needed for the component you want to run. Never commit .env or private keys.
Set PAYWALL=off in .env to test without making payments. Run each component in its own terminal:
Run one non-looping probe round:
External Base payments are disabled by default. They require an explicit one-shot run, an approved provider, canonical Base USDC, and the configured round and daily budgets. See the prober guide before enabling them.
Individual TypeScript packages can be checked with:
All contracts in the table are deployed on Sepolia. Hedera payments use Hedera testnet, and the external TickersFeed verification uses Base mainnet.
Today, the demo probes are funded by the AgentIndex operator. A future version could let providers fund recurring independent probes, while agents pay a small x402 fee when they request a fresh trust report. Payments would cover verification costs only—they would never buy a better score or change the result of a probe.
Production runs through Docker Compose with Caddy handling HTTPS. The recurring spending worker is kept behind a separate Compose profile so it cannot begin spending during an initial deployment.
See the deployment guide for the production layout and verification commands.
来源:README.md,提交 d2d3c17
Search the AgentIndex registry for x402 services matching a capability, e.g. "weather data" or "token prices". Returns matching services with endpoints, prices and their probed trust scores.
need必填Full trust report for one service: score, delivery/honesty rates, latency, and recent probes with chain-aware payment receipts. Accepts a label ("weatherpro") or full name ("weatherpro.agentindex.eth").
name必填probesEnd-to-end selection: describe a task, get back the single best service to pay (plus ranked alternatives and any services to avoid). Use this before spending money over x402.
task必填One call: pick the most-trusted service for a need, fetch the data from it, and return the data together with that provider's trust score and its latest on-chain probe receipt as proof. Use when you want the answer AND a record of why the source was trusted. Scam / low-trust providers are never selected.
need必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在仓库或注册中心条目中声明许可证。
flowchart LR A[Service registers<br/>ENSv2 subname + manifest] --> B[Prober discovers service] B --> C[Real x402 payment<br/>Hedera or Base] C --> D[Response verification<br/>spec + oracle + consensus] D --> E[Verdict attested<br/>on Sepolia] E --> F[The Graph subgraph<br/>builds trust score] F --> G[Agent checks trust<br/>through MCP or API]trust = 0.60 × delivery + 0.25 × honesty + 0.15 × latencynpx add-mcp https://mcp-agentindex.craftyour.site/mcpcorepack enablepnpm installcp .env.example .envpnpm servicespnpm webpnpm --filter @agentindex/mcp httpPAYWALL=off pnpm --filter @agentindex/prober run oncepnpm testpnpm --filter @agentindex/services run typecheckpnpm --filter @agentindex/prober run typecheckpnpm --filter @agentindex/mcp run typecheckpnpm --filter @agentindex/api run typecheckpnpm --filter @agentindex/web run typecheck