Swap Api MCP Server

Executable token swap calldata in one GET request. No API keys. No accounts. No SDK bloat. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-04-03 · ★ 22 · #509 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Swap Api MCP Server

before you install - you'll need

Set CHAIN_ID, TOKEN_IN, TOKEN_OUT, PRIVATE_KEY, RPC_URL, TX_TO, TX_DATA, TX_VALUE, TX_GAS before connecting.

Claude Code

claude mcp add swap-api-swap-api -- npx -y @swapapi/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "swap-api-swap-api": {
      "command": "npx",
      "args": [
        "-y",
        "@swapapi/mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @swapapi/mcp - the @swapapi scope differs from the repo owner (swap-api); confirm it's the project's official package

registry namespace io.github.Swap-API is GitHub-verified and matches the repo owner

03 · Who maintains Swap Api MCP Server

mcp is maintained by swap-api. It's the only MCP server we track from this author; the repo dates to Mar 2026.

04 · Facts

category
other - ranked #509 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.Swap-API/mcp (active, first published 2026-03-17)
packages
npm:@swapapi/mcp

05 · Swap Api MCP Server FAQ

What is Swap Api MCP Server?

Executable token swap calldata in one GET request. No API keys. No accounts. No SDK bloat. It runs locally over stdio via the published package.

Is Swap Api MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-04-03. We re-verify nightly.

How do I install Swap Api MCP Server?

Run `npx -y @swapapi/mcp`. The README documents 9 environment variables (CHAIN_ID, TOKEN_IN, TOKEN_OUT…) to set first. Set CHAIN_ID, TOKEN_IN, TOKEN_OUT, PRIVATE_KEY, RPC_URL, TX_TO, TX_DATA, TX_VALUE, TX_GAS before connecting. You can also paste the ready-made client config above.

Does Swap Api MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

06 · Alternatives to Swap Api MCP Server