# ReefAPI

> One MCP server for 180+ live web-data APIs returning clean JSON from sites that block scrapers.

- name: io.github.reefapi/reefapi-mcp
- version: 1.27.2
- connection class: R1 (autonomous)
- trust: 93/100
- quality: 85/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.reefapi%2Freefapi-mcp
- tools: https://api.protogrid.dev/v1/servers/io.github.reefapi%2Freefapi-mcp/tools

**An agent can connect on its own if it already holds `REEFAPI_MCP_TOKEN`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "reefapi-mcp": {
      "type": "http",
      "url": "https://api.reefapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${REEFAPI_MCP_TOKEN}"
      }
    }
  }
}
```

Placeholders to fill: `${REEFAPI_MCP_TOKEN}`.

## Trust

- hygiene: 100
- liveness: 98
- freshness: 85
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-95% ~updated-53d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 85/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 86 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 5 of 5 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: search_engines (destructiveHint); get_engine_schema (destructiveHint); get_action_schema (destructiveHint); …
- pass `tools.token_cost`: about 1,296 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 5, about 1,296 tokens to load them all
- tool set hash: 830afd98cad0ed2aabf5a1de9dad7c88
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.reefapi/reefapi-mcp.svg)](https://protogrid.dev/servers/io.github.reefapi/reefapi-mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://api.reefapi.com/mcp (streamable-http, auth api_key ${REEFAPI_MCP_TOKEN}, reachable true, uptime30d 0.94736844)

## Packages

_none_

## Tools (5)

- `call_engine`: Call a ReefAPI engine action — POST /<engine>/v1/<action> with `params`. Returns the uniform
    { ok, data, meta, error } envelope. Get param names from get_engine_schema first. Needs YOUR
    ReefAPI key. The local server reads REEFAPI_KEY; the hosted server accepts an OAuth access token
    (connect with OAuth and paste your key once on the consent screen — this is what ChatGPT uses),
    an `Authorization: Bearer <key>` header, `x-reefapi-key`, or the key in the connection URL
    (`https://api.reefapi.com/mcp?key=<key>`). Get a key at https://reefapi.com. Failed calls cost no
    credits.
- `get_action_schema`: FULL detail for ONE engine action: every parameter (type, required, description, allowed_values
    dropdown, default, example, min/max), what it returns, pricing, and a ready-to-run example_params.
    Call this right before call_engine so you send valid params — invalid enum values are rejected with
    the allowed list.
- `get_catalog`: The FULL ReefAPI catalog — EVERY engine with its one-line title, grouped by category. This is the
    whole menu (≈ a few thousand tokens); SCAN IT AND PICK THE BEST ENGINE YOURSELF. You are an LLM, so
    you match the user's intent semantically — across ANY language, typo, or phrasing — far better than a
    keyword search can. Use this whenever search_engines didn't surface the right engine (or to be sure
    you didn't miss a better one). After you pick: get_engine_schema(engine) -> get_action_schema -> call_engine.
- `get_engine_schema`: COMPACT overview of ONE engine: every action with its description, required params and what it
    returns — but NOT the full param detail (kept lean so a 90-action engine stays token-cheap). Call
    this after search_engines to pick the right ACTION, then get_action_schema(engine, action) for that
    action's full params before call_engine.
- `search_engines`: Find the right ReefAPI engine for a task — pass ENGLISH keywords or a short natural-language
    use-case ("detect a website's tech stack", "company reviews", "check a package for vulnerabilities",
    "is this domain available"). The catalog is in English: if the end-user asked in another language,
    translate their INTENT into English keywords first (you are an LLM — do this inline). Ranks engines by
    how well the query matches each engine's name/title/category/ACTION descriptions (stem-matched, so
    plurals/word-forms still hit). Empty query = list all. Returns name/title/category/actions + match
    score. Call this FIRST, then get_engine_schema(engine) to pick an action. This is a fast keyword
    pre-filter — if the right engine isn't in the results (or you want to be sure), call get_catalog and
    pick from the full list YOURSELF (you semantically match any language/phrasing better than keywords).
