- ✓Actively maintained (<30d)
- ✓Documented (README)
- !No standard license detected
- !No description
claude mcp add agentindex -- npx -y add-mcp{
"mcpServers": {
"agentindex": {
"command": "npx",
"args": ["-y", "add-mcp"]
}
}
}MCP Servers overview
<p align="center">
<img src="web/public/agentindex-logo-512.svg" alt="AgentIndex" width="160" />
</p>
<h1 align="center">AgentIndex</h1>
<p align="center"><strong>AgentIndex shows AI agents which paid services are honest and which scam, with proof on-chain.</strong></p>
<p align="center">
<a href="https://agentindex.craftyour.site">Live app</a> ·
<a href="https://youtu.be/HFIaRBZGb2U">Demo video</a> ·
<a href="https://agentindex.craftyour.site/evidence">Evidence</a> ·
<a href="https://mcp-agentindex.craftyour.site/mcp">MCP server</a> ·
<a href="https://api.studio.thegraph.com/query/1759003/agentindex-sepolia/v0.0.3">Subgraph</a>
</p>
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.**
<p align="center">
<a href="https://agentindex.craftyour.site">
<img src="docs/images/hero.png" alt="AgentIndex playground where an agent checks which x402 service to trust before paying" width="900" />
</a>
</p>
<p align="center"><em>Ask the index who to pay before the agent spends.</em></p>
## The problem
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.
## How it works
```mermaid
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]
```
1. A provider registers a subname under `agentindex.eth` and stores its endpoint, price, method, and response specification in ENS text records.
2. The prober reads that manifest directly from ENS and calls the service like a normal customer.
3. It pays the x402 request with real HBAR on Hedera testnet. Approved external probes can use tightly capped USDC on Base.
4. It checks delivery, required response fields, latency, and—when the answer is objective—accuracy against The Graph Token API and peer consensus.
5. The result is attested on Sepolia and indexed by the AgentIndex subgraph.
6. An AI agent queries the trust score and evidence through MCP before choosing which service to pay.
<p align="center">
<a href="https://agentindex.craftyour.site/how">
<img src="docs/images/how-it-works.png" alt="The five-step AgentIndex flow from ENS registration to an MCP trust query" width="900" />
</a>
</p>
<p align="center"><em>The live site explains each step and links to its on-chain proof.</em></p>
## Why these protocols matter
AgentIndex works like a credit bureau for paid APIs. Each sponsor provides a part that the system cannot work without.
| Need | AgentIndex implementation | Protocol |
|---|---|---|
| A stable identity for every service | ENSv2 subnames and service-owned manifests | ENS |
| A payment history based on real behavior | Spend-capped HBAR payments over x402 | Hedera |
| A live record that agents can query | Token API verification, a subgraph, MCP, and an agent SKILL | The Graph |
## The Graph
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:
- The Token API is the independent input used to judge objective answers.
- The subgraph is the live ledger that turns probe history into trust scores.
- The MCP server and `SKILL.md` make those scores reusable by other agents.
- Every MCP response includes the subgraph deployment and indexed-block freshness metadata.
Relevant code:
- [Token API oracle and price comparison](prober/src/oracle.ts)
- [Subgraph trust-score calculation](subgraph/src/shared.ts)
- [Subgraph query and freshness metadata](mcp/src/subgraph.ts)
- [Reusable agent workflow](SKILL.md)
## Hedera
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:
- Only HBAR is allowed for the seeded-service payment path.
- Every payment is capped at **1 HBAR**.
- The payer and receiver are separate Hedera accounts.
- Payment references are stored with the probe evidence and linked to HashScan.
- The same x402 flow also protects AgentIndex's trust API, so AgentIndex acts as both a buyer and seller of machine-readable services.
Relevant code:
- [Hedera signer, x402 client, asset allowlist, and payment cap](prober/src/payment.ts)
- [Hedera x402 paywall for the seeded services](services/src/app.ts)
- [x402-gated trust API](api/src/app.ts)
## ENS
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:
- `url`
- `description`
- `x402:method`
- `x402:price`
- `x402:spec`
The 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:
- [ENSv2 subname registration, permissions, renewal, and revocation](contracts/src/ServiceRegistrar.sol)
- [Live ENS manifest reader](mcp/src/ens.ts)
- [Permissioned resolver deployment](contracts/script/DeployResolver.s.sol)
## Verification model
AgentIndex applies the strongest check that makes sense for each type of service.
| Check | What it answers | Applies to |
|---|---|---|
| Delivery | Did the service return a non-empty JSON response? | Every service |
| Spec match | Did it return every field promised in its ENS manifest? | Every service |
| Oracle check | Does an objective value agree with The Graph Token API? | Price services |
| Consensus | Is the value an outlier compared with other providers? | Comparable services |
| Track record | How has the service behaved across many paid probes? | Every service |
The trust score is calculated in basis points:
```text
trust = 0.60 × delivery + 0.25 × honesty + 0.15 × latency
```
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.
## Live proof
The project includes a real paid probe against an external x402 provider, not only services created for the demo.
- **Provider:** TickersFeed
- **Payment:** $0.002 USDC on Base mainnet
- **Verification:** returned BTC price checked against The Graph Token API and peer consensus
- **Outcome:** passed the configured 2% oracle tolerance
- **Base payment:** [view on BaseScan](https://basescan.org/tx/0x6e88906dcd1323811582e8a2683329a81efa1a964ba922dfdbedfe2a4f7d6e47)
- **Sepolia attestation:** [view on Etherscan](https://sepolia.etherscan.io/tx/0x46e28ead4fefff5eb67d908d1354e703c737702b4d781a324f7ecb013fc11d80)
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.
<p align="center">
<a href="https://agentindex.craftyour.site/evidence">
<img src="docs/images/evidence.png" alt="AgentIndex evidence dashboard showing service trust scores, delivery, honesty, latency, and verdicts" width="900" />
</a>
</p>
<p align="center"><em>The evidence dashboard is backed by the live subgraph, not a static dataset.</em></p>
## Seeded services
The six seeded services are a controlled teaching set used to demonstrate different trust signals.
| Service | Category | Behavior | What it demonstrates |
|---|---|---|---|
| `weatherpro` | Weather | Honest and fast | A service the agent should pay |
| `scamco` | Weather | Takes payment but returns bad data | A service the agent should avoid |
| `pricefeed` | Token prices | Honest and backed by live Graph data | Oracle verification |
| `summarize` | Summaries | Honest but slow | Latency affects trust |
| `geocode` | Geocoding | Honest but occasionally unavailable | Reliability without false fraud claims |
| `newsfeed` | Headlines | Honest | Another service category |
`scamco` is intentionally planted. It lets us demonstrate detection without accusing an unrelated real service of fraud.
## Use AgentIndex throWhat people ask about AgentIndex
What is cognivis/AgentIndex?
+
cognivis/AgentIndex is mcp servers for the Claude AI ecosystem with 0 GitHub stars.
How do I install AgentIndex?
+
You can install AgentIndex by cloning the repository (https://github.com/cognivis/AgentIndex) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is cognivis/AgentIndex safe to use?
+
Our security agent has analyzed cognivis/AgentIndex and assigned a Trust Score of 52/100 (tier: OK). See the full breakdown of passed checks and flags on this page.
Who maintains cognivis/AgentIndex?
+
cognivis/AgentIndex is maintained by cognivis. The last recorded GitHub activity is dated 2026-09-12, with 0 open issues.
Are there alternatives to AgentIndex?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy AgentIndex to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/cognivis-agentindex)<a href="https://claudewave.com/repo/cognivis-agentindex"><img src="https://claudewave.com/api/badge/cognivis-agentindex" alt="Featured on ClaudeWave: cognivis/AgentIndex" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
The fastest path to AI-powered full stack observability, even for lean teams.