Skip to main content
Glama
AgentAPIGate MCP Server

AgentAPIGate MCP Server

Official
README.md
# AgentAPIGate MCP Server (`agentapigate-mcp`)

<p align="center">
  <img src="assets/logo-400x400.png" width="96" height="96" alt="AgentAPIGate Logo" />
</p>

> **300+ Real-Time Web Data APIs** in 4 progressive discovery meta-tools (`<800` schema tokens total) — clean REST JSON, LLM Compact Markdown (`-60%` to `-88%` tokens), 1-Click OAuth 2.1, and Scoped Budget Sub-Keys (`$0.00` on empty results or upstream errors).

Most data MCP servers dump 150+ raw tool definitions directly into your model prompt (`~20,000+` tokens wasted on every turn). **`agentapigate-mcp`** uses progressive discovery (`search_endpoints`, `get_endpoint_schema`, `call_endpoint`, `get_account_status`) so **Claude**, **Claude Code**, **Cursor**, **Cline**, **Windsurf**, and **VS Code** discover and invoke all **300+ Real-Time Web Data APIs** across 8 packs from one lightweight, read-only hub.

---

## Quickstart: 1-Click Remote Streamable HTTP (Zero Local Dependencies)

### Claude Code CLI
```bash
claude mcp add --transport http agentapigate https://mcp.agentapigate.ai/mcp
```

### Claude Desktop / Claude Connectors
Add `https://mcp.agentapigate.ai/mcp` under **Settings -> Connectors -> Add Custom Connector** to authenticate via **1-Click OAuth 2.1** (includes free starter credits).

### Cursor / Windsurf / `.mcp.json`
```json
{
  "mcpServers": {
    "agentapigate": {
      "type": "http",
      "url": "https://mcp.agentapigate.ai/mcp"
    }
  }
}
```

### Cline (`cline_mcp_settings.json`)
Claim free starter credits and an `aag_live_*` key in 10 seconds at **[agentapigate.ai/claim](https://agentapigate.ai/claim?utm_source=cline_marketplace)**, then add:

```json
{
  "mcpServers": {
    "agentapigate": {
      "type": "streamableHttp",
      "url": "https://mcp.agentapigate.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_AGENTAPIGATE_API_KEY"
      }
    }
  }
}
```

*(Autonomous Cline setup instructions are also available in [`llms-install.md`](./llms-install.md).)*

---

## Local `stdio` Server (Build from Source)

If your MCP client requires a local `stdio` process (Node.js `>= 18`):

```bash
git clone https://github.com/agentapigate/agentapigate-mcp.git
cd agentapigate-mcp
npm install
npm run build
```

Configure your MCP client:

```json
{
  "mcpServers": {
    "agentapigate": {
      "command": "node",
      "args": ["/absolute/path/to/agentapigate-mcp/build/index.js"],
      "env": {
        "AGENTAPIGATE_API_KEY": "YOUR_AGENTAPIGATE_API_KEY"
      }
    }
  }
}
```

---

## The 4 Progressive Discovery Meta-Tools (`<800` Schema Tokens)

| Tool | Read-Only | Destructive | Purpose |
| :--- | :---: | :---: | :--- |
| `search_endpoints` | `true` | `false` | Search **300+ Real-Time Web Data APIs** by keyword or pack; returns `id`, `price_usd`, `p50_ms`, and `summary`. |
| `get_endpoint_schema` | `true` | `false` | Inspect exact JSON input parameters, sample values, and per-call USD price before executing. |
| `call_endpoint` | `true` | `false` | Execute any endpoint with `format="md"` or `format="compact"` (`-60%` to `-88%` fewer context tokens) and optional `max_cost_usd` guard. |
| `get_account_status` | `true` | `false` | Check spendable USD balance, RPM rate limit, and scoped sub-key caps. |

---

## Coverage Across 8 Canonical Packs (`300+ Real-Time Web Data APIs`)

- **X / Social Graph (`x`)**: real-time post search, full threads, replies, quotes, user profiles, lists & communities
- **Search & Markdown Web (`search`)**: Google Web/News/Images/Trends/Lens SERP, URL-to-Markdown extraction, compound SERP + Read
- **Social & Short Video (`social`)**: YouTube transcripts & channels, TikTok, Instagram, Reddit, Xiaohongshu (RedNote), Douyin, Bluesky, Pinterest, Hacker News
- **Commerce & Ad Libraries (`commerce`)**: Meta Ad Library, Google Ads Transparency, TikTok Ads, Amazon, Walmart, Shopee, Etsy, Shopify/WooCommerce
- **LinkedIn, B2B & ATS Jobs (`b2b`)**: LinkedIn company & profile intelligence, 5-ATS live job search (Greenhouse, Lever, Ashby, Workday), GLEIF LEI / EU VAT KYB, USASpending contracts
- **Finance & Filings (`finance`)**: SEC EDGAR filings / Form 4 / XBRL financials, US equities quotes/news/options, earnings call transcripts, prediction market odds
- **Maps, Travel & Reviews (`local`)**: Google Maps places & reviews, Booking/Airbnb/Vrbo hospitality listings, Google Play & App Store intelligence, Trustpilot, Yelp
- **Dev, Academic & Domain Intel (`intel`)**: GitHub trending & star velocity, arXiv / OpenAlex / Crossref papers, ClinicalTrials.gov, RDAP / DNS / TLS / CVE lookup

---

## Links & Documentation

- **Live API Catalog & Uptime**: [https://agentapigate.ai/apis](https://agentapigate.ai/apis?utm_source=github_agentapigate_mcp)
- **Claim Free Starter Credits**: [https://agentapigate.ai/claim](https://agentapigate.ai/claim?utm_source=github_agentapigate_mcp)
- **OpenAPI 3.1 Specification**: [https://api.agentapigate.ai/openapi.json](https://api.agentapigate.ai/openapi.json)
- **Agent Skill (`SKILL.md`)**: [https://agentapigate.ai/SKILL.md](https://agentapigate.ai/SKILL.md)
- **Privacy Policy**: [https://agentapigate.ai/privacy](https://agentapigate.ai/privacy)
- **Support**: `support@agentapigate.ai`

## License

MIT © [AgentAPIGate](https://agentapigate.ai)

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation5/5

Each tool maps to a distinct stage of the workflow: discovery (search_endpoints), inspection (get_endpoint_schema), execution (call_endpoint), and account introspection (get_account_status). There is no meaningful overlap — search returns lightweight summaries while schema returns full input details, and the descriptions make that boundary explicit.

Naming Consistency5/5

All four names follow a clean verb_noun snake_case pattern (search_endpoints, get_endpoint_schema, call_endpoint, get_account_status). The verbs are used consistently for their action type: get_ for retrieval, search_ for discovery, call_ for execution.

Tool Count5/5

Four tools is lean but exactly right for a gateway proxy: you must discover, inspect, invoke, and check budget. No tool feels redundant or padded, and the small surface keeps misselection risk near zero.

Completeness4/5

The discover-inspect-invoke-meter loop is fully covered, including pre-call balance checks. Minor gaps: no way to purchase or top up prepaid credits, no usage/call history, and no category or pack listing beyond free-text search — agents would hit a dead end when balance runs out.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues