# API Anything

API Anything is an MCP server for Claude Code that learns a site's HTTP requests and stores callable operations in a shared catalog. Agents can query sites without a separate API.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 3703 repo stars
- Author: goodnight000
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/goodnight000/api-anything
- Updated: 2026-11-13
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/api-anything

## What it does

API Anything learns how a website sends its own HTTP requests and turns those requests into callable operations. The operations go into a shared catalog, so another agent can reuse them instead of driving the site through a browser. Cookies and tokens are removed from learned requests before they are shared.

Run `npx -y api-anything setup` to find available agents and connect the MCP server. Node 22.13 or newer is required, while an account and API key are not. Calls use plain HTTP where possible; sites that block that path can be handled through browser-based requests.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `API_ANYTHING_HOME`, `API_ANYTHING_BROWSER` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env API_ANYTHING_HOME=<API_ANYTHING_HOME> --env API_ANYTHING_BROWSER=<API_ANYTHING_BROWSER> --transport stdio api-anything -- npx -y api-anything
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add api-anything --env API_ANYTHING_HOME=<API_ANYTHING_HOME> --env API_ANYTHING_BROWSER=<API_ANYTHING_BROWSER> -- npx -y api-anything
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "api-anything": {
            "command": "npx",
            "args": [
                "-y",
                "api-anything"
            ],
            "env": {
                "API_ANYTHING_HOME": "<API_ANYTHING_HOME>",
                "API_ANYTHING_BROWSER": "<API_ANYTHING_BROWSER>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "api-anything": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "api-anything"
            ],
            "env": {
                "API_ANYTHING_HOME": "<API_ANYTHING_HOME>",
                "API_ANYTHING_BROWSER": "<API_ANYTHING_BROWSER>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e API_ANYTHING_HOME=<API_ANYTHING_HOME> -e API_ANYTHING_BROWSER=<API_ANYTHING_BROWSER> api-anything npx -y api-anything
```
Replace <…> with your own values

## When to use it
- call a site that has no public API
- turn a page request into a reusable operation
- share a learned operation through the catalog
- fetch site data over HTTP instead of browser steps

## Example prompts
- Ask Goodreads for the rating of Piranesi.
- Search Hacker News for SQLite through API Anything.

## Similar
- [cli-anything-pm2](https://affpapa.org/en/nevibecode/skills/cli-anything-pm2.md) — skill · 556 installs
- [anything-analyzer-cdp](https://affpapa.org/en/nevibecode/skills/anything-analyzer-cdp.md) — skill · 454 installs
- [cli-anything-minimax](https://affpapa.org/en/nevibecode/skills/cli-anything-minimax.md) — skill · 350 installs
- [rust-anything](https://affpapa.org/en/nevibecode/skills/rust-anything.md) — skill · ★ 7482 repo stars
- [reverse-engineer-anything](https://affpapa.org/en/nevibecode/skills/reverse-engineer-anything.md) — skill · 18800 installs
- [prisma-client-api](https://affpapa.org/en/nevibecode/skills/prisma-client-api.md) — skill · 441400 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
