Agent Service Ranking
by sethyu1
README.md
# Agent Service Ranking MCP
**Website:** [agentserviceranking.com](https://agentserviceranking.com)
**Product:** CoinMarketCap-style rankings for **AI agent services** — x402 / MPP / L402 / Lightning / Nostr rails, MCP servers, and hosted tools — with live uptime, pricing, and call instructions.
This repo is a **thin MCP client**. It only calls the public HTTP API. It does **not** ship the ranking database, scrapers, or verifier workers.
---
## What ASR is (for agents)
Agent Service Ranking helps an agent answer:
1. **What can I call?** — ranked catalog of payable / callable endpoints
2. **How do I pay?** — permissionless rails (`x402`, `mpp`, `l402`, `lightning`, `nostr_*`) vs account/API-key surfaces
3. **Can I trust it?** — `status`, `verification_level` (`endpoint_alive` | `rail_confirmed` | `call_succeeded`), uptime, P95 latency
4. **How do I invoke it?** — `agent_guide` + `call_instructions` (method, auth mode, cost summary)
Humans use the website. Agents should use **MCP tools**, **`/api/v1/*`**, or **`/llms.txt`**.
---
## How others find / install ASR MCP (no npmjs login required)
| Channel | How | Needs npmjs.org? |
| --- | --- | --- |
| **Remote MCP** | `https://agentserviceranking.com/mcp` | No |
| **MCP Registry** | `io.github.sethyu1/agentserviceranking` | No |
| **GitHub + npx** | `npx -y github:sethyu1/agentserviceranking-mcp` | No |
| **npmjs.org** | `npx -y agentserviceranking-mcp` | Yes (publish once) |
**Recommended for most hosts:** remote URL or Registry.
**Local stdio without npm publish:**
```bash
npx -y github:sethyu1/agentserviceranking-mcp
```
npmjs.org is an *extra* search channel. It cannot be published without an npm account login — skip it until you want that.
---
## MCP tools
| Tool | Use when |
| --- | --- |
| `discover_services` | Find ranked matches by query, category, payment rail, protocol, uptime |
| `get_service` | Load one slug: endpoint, rails, auth, trust, `agent_guide` |
| `get_stats` | Ecosystem totals, rail counts, rail-confirmed vs listed, trending |
| `search_catalog` | Fast autocomplete across names, tags, endpoints, rails |
### Example: discover x402 tools
Call `discover_services` with:
```json
{
"payment_rail": "x402",
"verified_only": true,
"min_uptime": 99,
"limit": 10
}
```
Response includes ranked rows plus match reasons / call instructions from the same catalog as
`GET https://agentserviceranking.com/api/v1/discover`.
---
## Website & API map (agents)
| Surface | URL | Purpose |
| --- | --- | --- |
| Rankings UI | https://agentserviceranking.com | Human browse / filters |
| Agent entry card | https://agentserviceranking.com/.well-known/agent.json | Entrypoints, auth, billing |
| Markdown for LLMs | https://agentserviceranking.com/llms.txt | Start-here + API index |
| OpenAPI | https://agentserviceranking.com/openapi.json | Full HTTP contract |
| Discover | https://agentserviceranking.com/api/v1/discover | Ranked discovery + call instructions |
| Catalog | https://agentserviceranking.com/api/v1/services | Filterable list |
| Service detail | https://agentserviceranking.com/api/v1/services/{slug} | Full profile |
| Stats | https://agentserviceranking.com/api/v1/stats | Totals / rails / trending |
| Search | https://agentserviceranking.com/api/v1/search?q=… | Autocomplete |
| Agent auth docs | https://agentserviceranking.com/api/v1/agents/docs | ed25519 register → `amc_` key |
| Blog (`.md`) | https://agentserviceranking.com/blog | Permissionless rails & usage guides |
| Remote MCP | https://agentserviceranking.com/mcp | This server over Streamable HTTP |
### Trust fields agents should read
- `status`: `verified` | `unverified` | … (listing hygiene / reachability path)
- `verification_level`:
- `endpoint_alive` — host answered
- `rail_confirmed` — live handshake proved the claimed payment rail
- `call_succeeded` — stronger success path (when present)
- `auth_model`: `none` for permissionless wallet/Lightning rails
- `agent_guide.callable_by_external_agents` + `caution_notes`
### Auth / metering (HTTP API)
- Anonymous browser/API reads are allowed (rate-limited).
- Agents can self-register (ed25519 challenge) → `amc_` key → 100 free metered calls → $1 USDC prepaid pack for 10k calls.
- MCP tools call the public API; set `ASR_API_KEY` if you want metered agent quota on the stdio client.
---
## Install options
### A) Remote (recommended)
Point your MCP host at:
```text
https://agentserviceranking.com/mcp
```
### B) Local stdio via GitHub (no npmjs account)
```bash
npx -y github:sethyu1/agentserviceranking-mcp
```
Cursor / Claude Desktop:
```json
{
"mcpServers": {
"agentserviceranking": {
"command": "npx",
"args": ["-y", "github:sethyu1/agentserviceranking-mcp"],
"env": {
"ASR_API_BASE": "https://agentserviceranking.com"
}
}
}
}
```
### C) Local stdio via npmjs (optional later)
Only after someone runs `npm login` + `npm publish` once:
```bash
npx -y agentserviceranking-mcp
```
Optional env:
| Var | Default | Meaning |
| --- | --- | --- |
| `ASR_API_BASE` | `https://agentserviceranking.com` | API origin |
| `ASR_API_KEY` | _(none)_ | Bearer `amc_*` for metered agent quota |
### D) Run from this repo (dev)
```bash
pnpm install
pnpm run build
node dist/stdio.js
```
---
## What this package is / is not
**Is:** open MCP + docs so agents can discover ASR and query rankings.
**Is not:** the ASR ranking engine, discovery workers, Postgres, or admin surfaces.
Source of truth for product behavior: the live site + `/llms.txt` + `/openapi.json`.
## License
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues