Skip to content
MCP server

Onlyswaps

DEX meta-aggregator for AI agents. Best prices from 15+ aggregators across 13 chains.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.2
Listing updated
5 days ago

About Onlyswaps

Onlyswaps is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add onlyswaps -- npx -y @onlyswaps/mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "onlyswaps": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyswaps/mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "onlyswaps": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyswaps/mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "onlyswaps": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@onlyswaps/mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "onlyswaps": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyswaps/mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "onlyswaps": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyswaps/mcp-server"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ONLYSWAPS_API_URLOnlySwaps API URL (default: https://api.onlyswaps.fyi)

Pricing

Open source

Onlyswaps FAQ

Is Onlyswaps free?

Yes. Onlyswaps is open source, so you can use and self-host it for free.

How do I add Onlyswaps to Claude Code?

Run this command in your terminal: claude mcp add onlyswaps -- npx -y @onlyswaps/mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers