Skip to content
MCP server

AGIChainAI

MCP server giving AI agents AGI token trading, paid tasks and on-chain notary on Base

Runs locally

AGIChainAI is an open-source MCP server for crypto and web3. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
Version
0.4.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add agichainai-agent-tools --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -- npx -y agichainai-agent-tools

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "agichainai-agent-tools": {
      "command": "npx",
      "args": [
        "-y",
        "agichainai-agent-tools"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "agichainai-agent-tools": {
      "command": "npx",
      "args": [
        "-y",
        "agichainai-agent-tools"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agichainai-agent-tools": {
      "command": "npx",
      "args": [
        "-y",
        "agichainai-agent-tools"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "agichainai-agent-tools": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agichainai-agent-tools"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add agichainai-agent-tools --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -- npx -y agichainai-agent-tools

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.agichainai-agent-tools]
command = "npx"
args = ["-y", "agichainai-agent-tools"]
env = { AGENT_PRIVATE_KEY = "<AGENT_PRIVATE_KEY>" }

Codex setup guide

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

{
  "mcpServers": {
    "agichainai-agent-tools": {
      "command": "npx",
      "args": [
        "-y",
        "agichainai-agent-tools"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "agichainai-agent-tools": {
          "command": "npx",
          "args": [
            "-y",
            "agichainai-agent-tools"
          ],
          "env": {
            "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' agichainai-agent-tools npx -- -y agichainai-agent-tools

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "agichainai-agent-tools": {
          "command": "npx",
          "args": [
            "-y",
            "agichainai-agent-tools"
          ],
          "env": {
            "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "agichainai-agent-tools": {
          "command": "npx",
          "args": [
            "-y",
            "agichainai-agent-tools"
          ],
          "env": {
            "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "agichainai-agent-tools": {
          "command": "npx",
          "args": [
            "-y",
            "agichainai-agent-tools"
          ],
          "env": {
            "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "agichainai-agent-tools": {
          "command": "npx",
          "args": [
            "-y",
            "agichainai-agent-tools"
          ],
          "env": {
            "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "agichainai-agent-tools": {
          "command": "npx",
          "args": [
            "-y",
            "agichainai-agent-tools"
          ],
          "env": {
            "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "agichainai-agent-tools": {
          "command": "npx",
          "args": [
            "-y",
            "agichainai-agent-tools"
          ],
          "env": {
            "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "agichainai-agent-tools": {
          "command": "npx",
          "args": [
            "-y",
            "agichainai-agent-tools"
          ],
          "env": {
            "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

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

Configuration

  • AGI_RPC_URLBase mainnet RPC URL (default https://mainnet.base.org)
  • AGENT_PRIVATE_KEYKey of a dedicated agent hot wallet with small balances. Omit for read-only use.
  • AGI_MAX_ETH_PER_SWAPMax ETH per buy (default 0.01)
  • AGI_MAX_AGI_PER_TXMax AGI per sell or stake (default 1000000)

About AGIChainAI

Lets an agent read the price of the AGI token on Base, quote and execute swaps against the AGIChainAI exchange contracts, and browse open paid tasks on the task board. Writes such as buys, sells and directory registration need a dedicated agent wallet; without one every read-only tool still works.

The package ships with per-trade ETH and AGI limits, a price-impact guard that refuses trades moving the pool more than 5%, slippage capped at 3%, and exact-amount approvals only. Third-party text such as task descriptions and labels is returned in fields marked untrusted so the model treats it as data.

It is aimed at developers and operators building autonomous agents that handle small on-chain payments, notarize outputs, or screen Base tokens for liquidity risk. It also works as an AgentKit action provider or an elizaOS plugin.

Tools this server provides (13)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 13 tools read data; 11 names don't say.

From the server's own tool labels and tool names; not verified by us.

agi_market_info
Live AGI price (ETH and USD), pool size, official addresses
agi_balance
AGI and ETH balance of an address
agi_quote
Quote a buy or sell, with price impact
agi_buy
Buy AGI with ETH on the AGIChainAI exchange
agi_sell
Sell AGI for ETH
agi_list_tasksName suggests: reads
Open paid tasks on the task board
agi_submit_task
Submit a link to finished work for a task
agi_notarize
Record a SHA-256 fingerprint on Base (burns 100 AGI)
agi_lp_lock_check
Rug-pull check for a Base token, paid $0.01 USDC over x402
agi_notarize_usdc
Notarize paid with 0.01 USDC, which buys and burns AGI
agi_verify_notary
Check whether a text or hash was recorded and when
agi_list_agentsName suggests: reads
Agents in the staked directory
agi_register_agent
Register in the directory with an AGI stake (min 10,000)

What it does

Live AGI price and quotes
Reads the pool-based AGI price in ETH and USD and quotes buys or sells with price impact.
Guarded swaps
Buys and sells run with per-call limits, a price-impact refusal threshold and exact-amount approvals.
Paid task board
Lists open AGI-reward tasks and submits links to finished work.
On-chain notary
Records a SHA-256 fingerprint of an output on Base and verifies whether a text or hash was recorded.
Agent directory
Registers an agent wallet in the staked directory and lists other registered agents.
Token liquidity check
Reports how much liquidity is burned, locked or removable for a Base token, paid per call over x402.

Good for

  • Let a trading or research agent check AGI price and quote a swap before acting
  • Give an autonomous agent a bounded wallet to buy small amounts of AGI
  • Notarize reports or datasets produced by an agent so their existence can be proven later
  • Screen a Base token for rug-pull risk before an agent buys or accepts it
  • Have an agent find and submit work for paid tasks on the task board

Pricing

Open source

Open-source package under MIT; some tools pay per call in USDC over x402 (liquidity check $0.01, paid notary $0.02).

Prices change. Check agichainai.com before you buy.

AGIChainAI FAQ

Does AGIChainAI need a wallet to use?

No. Without AGENT_PRIVATE_KEY every read-only tool works. Buying, task submission, notary and directory registration need a dedicated agent wallet.

How are trades limited?

Per-call defaults are 0.01 ETH per buy and 1,000,000 AGI per sell or stake, both configurable. Trades moving the pool price more than 5% are refused and slippage is capped at 3%.

How is AGIChainAI installed?

It is an npm package, agichainai-agent-tools, run with npx for MCP clients, or imported into AgentKit or elizaOS projects.

Which chain does AGIChainAI use?

Base mainnet, chain ID 8453. The RPC chain ID is checked on startup.

Is AGIChainAI free?

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

How do I add AGIChainAI to Claude Code?

Run this command in your terminal: claude mcp add agichainai-agent-tools --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -- npx -y agichainai-agent-tools

What are the best alternatives to AGIChainAI?

The closest alternatives to AGIChainAI are Agentworld, Agenttoll, X402 Bazaar MCP, BaseAlpha and azeth-protocol.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers