# OpenFinance MCP server

> Enables AI agents to research and trade crypto, stocks, prediction markets, forex, and memecoins through a single remote connection.

- Repository: https://github.com/openfinance-tech/mcp
- Page: https://hostedmcp.org/servers/openfinance-tech/mcp
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.0.0

## Install

### Claude Code

```sh
claude mcp add --transport http mcp https://api.openfinance.tech/agent/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.openfinance.tech/agent/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.openfinance.tech/agent/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"http","url":"https://api.openfinance.tech/agent/mcp"}'
```

### Codex

```sh
codex mcp add mcp --url https://api.openfinance.tech/agent/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp]
url = "https://api.openfinance.tech/agent/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http mcp https://api.openfinance.tech/agent/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.openfinance.tech/agent/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `OPENFINANCE_API_KEY` | no | no |  |

## Tools (12)

- `relay_get_quote`
- `relay_execute`
- `relay_get_status`
- `onchain_jupiter_order`
- `onchain_jupiter_execute`
- `onchain_send_token`
- `get_wallet_addresses`
- `onchain_get_address_holdings`
- `onchain_get_token_metadata`
- `onchain_get_token_usd_price`
- `onchain_search_tokens`
- `get_onramp_url`

## FAQ

### How do I authenticate with OpenFinance?

You can use OAuth sign-in, which is recommended for clients like Claude and ChatGPT, or use an API key for scripts and bots.

### Is there anything I need to install or host?

No, the server runs at a single HTTPS endpoint and requires no local installation or hosting.

### Can this server place real trades?

Yes, the server can place real orders and move real funds, so you should keep tool-approval prompts enabled in your client.
