One URL. Every market.

Turn your words into trades with the OpenFinance MCP server

Ask. Research. Quote. Confirm. Trade crypto, every Hyperliquid market, onchain stocks and forex, and Polymarket from Claude, ChatGPT, Cursor, Grok and 20+ AI tools.

https://api.openfinance.tech/agent/mcp
  • No KYC
  • Setup under 60s
  • Debit card funding
  • OAuth or API key
Routes toHyperliquidPolymarketSolanaBaseJupiter

Research, quote and trade in one flow

Ask your AI to read the market, check your positions and place the trade in the same chat. No exchange tabs, no scripts, no wallet juggling.

See every order before it runs

Your AI app shows the market, side, size and fee before anything is sent, and waits for your yes. Every request is signed in with OAuth or your API key, which you can revoke any time.

Every market behind one connection

Crypto, DeFi and memecoins, every Hyperliquid perp and spot market, onchain stocks and forex, and Polymarket prediction markets. One URL, one account, one balance to fund.

Start small, scale when you are ready

Fund with a debit card and try any workflow with a small amount first. Fees are 2.5 basis points on Hyperliquid and 25 basis points on Polymarket and onchain swaps.

Just ask

  • Buy $50 of SOL and set a stop at 10% below
  • Open a 3x long on BTC on Hyperliquid with $200
  • What are the odds on the top Polymarket election market? Buy $20 of YES
  • Show my positions and P&L across everything
  • Buy $100 of onchain NVDA
  • Swap half my USDC into the top trending memecoin, but show me the order first

Want to build with code instead?

The same backend is a REST API. Send your x-api-key header from Python, Node or curl, and add the OpenFinance skills to teach coding agents the playbook.

Read the docs
# live Hyperliquid mid prices
curl https://api.openfinance.tech/agent/trading/market/mids \
  -H "x-api-key: open_xxxxx"

# teach your coding agent the playbook
npx skills add openfinance-tech/skills -y

Connect with the AI tools you use

Every tool uses the same URL, https://api.openfinance.tech/agent/mcp. Pick yours, install, and ask for a quote to check it works.

Claude Desktop

Trade from the Claude desktop app.

Copy-and-paste setup
Claude Desktop
Settings → Connectors → Add custom connector → paste the URL → sign in.

Or in claude_desktop_config.json:
{
  "mcpServers": {
    "openfinance": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.openfinance.tech/agent/mcp",
        "--header",
        "x-api-key:${OPENFINANCE_API_KEY}"
      ],
      "env": {
        "OPENFINANCE_API_KEY": "YOUR_KEY"
      }
    }
  }
}

Claude.ai (web & mobile)

Add once on the web, use it on your phone too.

Copy-and-paste setup
Claude.ai
Settings → Connectors → Add custom connector
Name: OpenFinance
URL: https://api.openfinance.tech/agent/mcp
Then sign in with OAuth.

Claude Code

Trade and build bots from your terminal.

Copy-and-paste setup
Claude Code
claude mcp add --transport http openfinance https://api.openfinance.tech/agent/mcp --header "x-api-key: $OPENFINANCE_API_KEY"

ChatGPT

Use OpenFinance inside ChatGPT chats.

Copy-and-paste setup
ChatGPT
Plugins → + → Add custom MCP server
Name: OpenFinance
MCP endpoint: https://api.openfinance.tech/agent/mcp
Auth: OAuth (sign in to OpenFinance), then "Create as a plugin"
In a chat, type @ and pick OpenFinance.

Cursor

One click, then trade or code strategies.

Copy-and-paste setup
Cursor
{
  "mcpServers": {
    "openfinance": {
      "url": "https://api.openfinance.tech/agent/mcp",
      "headers": {
        "x-api-key": "YOUR_KEY"
      }
    }
  }
}

VS Code (Copilot)

One-click install for Copilot agent mode.

Copy-and-paste setup
VS Code
{
  "servers": {
    "openfinance": {
      "type": "http",
      "url": "https://api.openfinance.tech/agent/mcp",
      "headers": {
        "x-api-key": "${input:openfinance_key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "openfinance_key",
      "description": "OpenFinance API key",
      "password": true
    }
  ]
}

Windsurf

Add to Cascade's MCP config.

Setup guide
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "openfinance": {
      "serverUrl": "https://api.openfinance.tech/agent/mcp",
      "headers": {
        "x-api-key": "YOUR_KEY"
      }
    }
  }
}

Gemini CLI

Trade from Google's Gemini CLI.

Copy-and-paste setup
Gemini CLI
~/.gemini/settings.json
{
  "mcpServers": {
    "openfinance": {
      "httpUrl": "https://api.openfinance.tech/agent/mcp",
      "headers": {
        "x-api-key": "YOUR_KEY"
      }
    }
  }
}

Codex CLI

Add to OpenAI Codex.

Copy-and-paste setup
Codex CLI
export OPENFINANCE_API_KEY=open_xxxxx

# ~/.codex/config.toml
[mcp_servers.openfinance]
url = "https://api.openfinance.tech/agent/mcp"
env_http_headers = { "x-api-key" = "OPENFINANCE_API_KEY" }

# restart Codex, then run /mcp to see the OpenFinance tools

Grok

Trade from Grok and Grok Bot.

Copy-and-paste setup
Grok
Add a remote MCP / connector with URL:
https://api.openfinance.tech/agent/mcp
Auth: OAuth or x-api-key header.

Muse (Meta)

Trade by voice with Meta's Muse.

Copy-and-paste setup
Muse
Paste this into a new Muse chat (app, web or WhatsApp):

Create a Custom Connector for a new remote MCP server, then connect to it:
Name: OpenFinance
Transport: remote streamable HTTP
URL: https://api.openfinance.tech/agent/mcp
Auth: OAuth (or API key sent as the x-api-key header)

Sign in when Muse asks, then say "save this connector as a skill".

Ray-Ban Meta glasses

Hands-free trading prompts.

Copy-and-paste setup
Ray-Ban Meta glasses
Connect through Muse with URL:
https://api.openfinance.tech/agent/mcp

Qwen Chat

Add as a custom MCP server.

Copy-and-paste setup
Qwen Chat
Qwen Chat Desktop (Mac/Windows): MCP → MCP settings → Add MCP
Transport: Streamable HTTP
URL: https://api.openfinance.tech/agent/mcp
Header: x-api-key: open_xxxxx

Notion Custom Agents

Let Notion agents read markets and trade.

Copy-and-paste setup
Notion Custom Agents
Custom Agent → Tools & Access → Custom MCP server (Business/Enterprise, admin enabled)
URL: https://api.openfinance.tech/agent/mcp
Auth: OAuth, or header x-api-key: open_xxxxx

eustella

Europe's AI agent, on the web and in the apps.

Copy-and-paste setup
eustella
Settings → Connectors → Add custom connector
Name: OpenFinance
URL: https://api.openfinance.tech/agent/mcp
Auth: OAuth, or API key (x-api-key: open_xxxxx) in the secure form

OpenClaw

Run OpenFinance inside OpenClaw.

Copy-and-paste setup
OpenClaw
openclaw mcp add openfinance \
  --url https://api.openfinance.tech/agent/mcp \
  --transport streamable-http
# add the x-api-key header in the Control UI config editor (${OPENFINANCE_API_KEY}), then:
openclaw mcp doctor openfinance --probe

Hermes Agent

Add to Hermes' MCP servers.

Copy-and-paste setup
Hermes Agent
# ~/.hermes/.env:  OPENFINANCE_API_KEY=open_xxxxx
# ~/.hermes/config.yaml:
mcp_servers:
  openfinance:
    url: "https://api.openfinance.tech/agent/mcp"
    headers:
      x-api-key: "${OPENFINANCE_API_KEY}"
    timeout: 120

DeepSeek clients

Any DeepSeek-powered MCP client.

Copy-and-paste setup
DeepSeek clients
Add remote MCP URL:
https://api.openfinance.tech/agent/mcp
Header: x-api-key: YOUR_KEY

Xiaomi MiMo

Use with MiMo agents.

Copy-and-paste setup
Xiaomi MiMo
Add remote MCP URL:
https://api.openfinance.tech/agent/mcp

n8n

Automate trades in workflows.

Setup guide
n8n
Add node: MCP Client Tool
Endpoint: https://api.openfinance.tech/agent/mcp
Transport: HTTP Streamable
Auth: Header → x-api-key

LM Studio

Local models that can trade.

Setup guide
LM Studio
Program → Install → Edit mcp.json
{
  "mcpServers": {
    "openfinance": {
      "url": "https://api.openfinance.tech/agent/mcp",
      "headers": {
        "x-api-key": "YOUR_KEY"
      }
    }
  }
}

Cline

Trade from Cline in your editor.

Setup guide
Cline
MCP Servers → Remote Servers
Name: openfinance
URL: https://api.openfinance.tech/agent/mcp

Zed

Add as a context server.

Setup guide
Zed
settings.json
{
  "context_servers": {
    "openfinance": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.openfinance.tech/agent/mcp",
        "--header",
        "x-api-key:YOUR_KEY"
      ]
    }
  }
}

Any MCP client

Streamable HTTP, works everywhere.

Copy-and-paste setup
Any MCP client
URL: https://api.openfinance.tech/agent/mcp
Header: x-api-key: YOUR_KEY  (or OAuth sign-in)

More coming soon

What OpenFinance users are saying

Grok
quite interesting to trade with grok while my agent runs the research in the background
OpenFinance user
Claude
built an arb scanner for myself using claude + openfinance. polymarket vs kalshi odds in one view, took an evening
OpenFinance user
Multi-market
wait, my agent has access to all of defi, perps AND prediction markets? one api key? wow
OpenFinance user
Alerts
told my agent to watch btc funding rates and ping me when they flip. it just did it
OpenFinance user
Polymarket
I asked it to buy $10 of YES on the 2028 election market. It showed me the price, I confirmed, and the order filled on Polymarket. That was it.
OpenFinance user

Individual experiences. Results vary and are not indicative of future performance.

Frequently asked questions

What is the OpenFinance MCP server?

It connects AI apps like Claude, ChatGPT, Cursor and Grok to OpenFinance so they can research markets and place trades in plain language.

What can I trade?

Crypto, DeFi tokens, memecoins, every Hyperliquid market, onchain stocks and forex, and Polymarket prediction markets, all from one connection.

Do I need KYC?

No KYC on OpenFinance. If you connect a broker account, that broker's own rules apply.

How long does setup take?

Under 60 seconds: add the URL, sign in, fund with a debit card.

How do I authenticate?

Every request needs either OAuth sign-in or an API key in the x-api-key header. You can create an API key in your account.

Do I see orders before they run?

Your AI app shows the order details it is about to send, and you can ask it to confirm with you before every trade.

Is this openfinance.sh?

No. OpenFinance at openfinance.tech is a separate product, not related to openfinance.sh.

What are the fees?

OpenFinance charges 2.5 basis points (0.025%) on Hyperliquid trades, perps and spot, and 25 basis points (0.25%) on Polymarket trades and onchain swaps. Venue, broker and network fees apply on top.

Can my AI agent trade options?

Not through the MCP today. Options are available in the OpenFinance app through your connected IBKR or Robinhood account.

Risk disclosure. Trading crypto, perpetual futures, options, tokenized stocks, forex and prediction markets carries a high risk of loss, and leverage can magnify losses. AI tools can misread instructions or act on wrong data; you are responsible for every order placed through your AI app. Nothing on this page is financial advice, and past results do not predict future returns. Availability of markets may depend on your location. OpenFinance (openfinance.tech) is not affiliated with openfinance.sh, Anthropic, OpenAI, Google, xAI, Meta, Cursor, Microsoft or any AI tool named here; names are used only to describe compatibility.