The local internet for AI coding agents.

Build, test, and replay third-party API integrations locally without touching production services, leaking real keys, sending real messages, or charging real cards.

Safe API loops for agents

Production APIs are the wrong place to test autonomous integration code.

npx @yiaany/ghostapi start --open

npx @yiaany/ghostapi mcp

npx @yiaany/ghostapi setup --write

local API world is live

Local Proxy

Give agents a safe local target instead of production APIs.

Provider-Shaped Responses

Return realistic success and failure payloads that look like the providers your app already uses.

Dashboard

MCP For Agents

Let agents inspect state, read logs, force responses, and toggle failure modes instead of guessing.

Scenarios And Chaos

Replay payment failures, rate limits, upstream errors, latency, and saved traffic from your own app.

Dashboard

Start GhostAPI locally

Run the proxy, point your app at localhost, then inspect, replay, and control API behavior from the dashboard or MCP.

Start Instantly

$
npx
start
Run GhostAPI
npx @yiaany/ghostapi start --open
Opens the local dashboard
Watches local API traffic
No production provider calls by default
Safe for autonomous coding loops

Agent Control

MCP
$
MCP
tools
Start MCP
npx @yiaany/ghostapi mcp
Inspect state and read logs
Force responses and failure modes
Generate repeatable agent workflows
Works with MCP-compatible clients

Agent Setup

$
setup
write
Generate Setup
npx @yiaany/ghostapi setup --write
Claude, Cursor, Cline, Aider
Codex, OpenCode, Gemini CLI
Goose, OpenClaw, Hermes Desktop
Generic stdio MCP clients
Does not overwrite existing files
MIT open-source local developer tool

Test integrations locally
without unsafe API calls.

Cursor writes a Stripe integration. GhostAPI catches the request, returns a realistic payment failure, and the agent fixes the code without ever touching production.

John Doe
Robert Johnson
Jane Smith
Emily Davis
Tyler Durden
Dora

Built for AI coding agents, SaaS developers, and API-heavy teams

© copyright GhostAPI 2026. All rights reserved.

GhostAPI