# cluster-mcp

Connect an agent to cluster’s financial tools for quotes, portfolio data, swaps, and memory. Useful when you want to query a cluster deployment from your IDE.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: clusteragent
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/clusteragent/cluster
- Updated: 2026-09-21
- HTML: https://affpapa.org/en/nevibecode/mcp/cluster-mcp

## What it does

cluster-mcp exposes 35 tools for financial agents. It can fetch quotes and market data, value a portfolio, show payouts, and handle swaps. The repository also includes skills for research, monitoring, and memory. For a swap, the server gets a quote while your wallet signs the transaction; private keys stay off the server.

To run it with Claude Code, use `npx -y @clusteragent/cluster-mcp`. The stdio setup needs `CLUSTER_API_URL`, `CLUSTER_API_KEY`, and `CLUSTER_WALLET`; an API key is also needed for HTTP access. This repository provides the skill and MCP layer for a cluster deployment, not its backend or keeper bot, which are kept separate.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.clusteragent.dev/mcp`
- Environment variables: `CLUSTER_API_URL`, `CLUSTER_API_KEY`, `CLUSTER_WALLET` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add --env CLUSTER_API_URL=<CLUSTER_API_URL> --env CLUSTER_API_KEY=<CLUSTER_API_KEY> --env CLUSTER_WALLET=<CLUSTER_WALLET> --transport stdio cluster-mcp -- npx -y @clusteragent/cluster-mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http cluster-mcp https://mcp.clusteragent.dev/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add cluster-mcp --url https://mcp.clusteragent.dev/mcp
```

2. **Platform CLI**
```bash
codex mcp add cluster-mcp --env CLUSTER_API_URL=<CLUSTER_API_URL> --env CLUSTER_API_KEY=<CLUSTER_API_KEY> --env CLUSTER_WALLET=<CLUSTER_WALLET> -- npx -y @clusteragent/cluster-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cluster-mcp": {
            "url": "https://mcp.clusteragent.dev/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cluster-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@clusteragent/cluster-mcp"
            ],
            "env": {
                "CLUSTER_API_URL": "<CLUSTER_API_URL>",
                "CLUSTER_API_KEY": "<CLUSTER_API_KEY>",
                "CLUSTER_WALLET": "<CLUSTER_WALLET>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cluster-mcp": {
            "type": "http",
            "url": "https://mcp.clusteragent.dev/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cluster-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@clusteragent/cluster-mcp"
            ],
            "env": {
                "CLUSTER_API_URL": "<CLUSTER_API_URL>",
                "CLUSTER_API_KEY": "<CLUSTER_API_KEY>",
                "CLUSTER_WALLET": "<CLUSTER_WALLET>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http cluster-mcp https://mcp.clusteragent.dev/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e CLUSTER_API_URL=<CLUSTER_API_URL> -e CLUSTER_API_KEY=<CLUSTER_API_KEY> -e CLUSTER_WALLET=<CLUSTER_WALLET> cluster-mcp npx -y @clusteragent/cluster-mcp
```
Replace <…> with your own values

## When to use it
- fetch quotes for stock tickers
- value a wallet portfolio
- check payout information
- preview DCA or TP-SL settings
- inspect a wallet or liquidity pool

## Example prompts
- Show quotes for NVDA and PONS.
- Value my portfolio and show its payouts.
- Inspect this pool and preview a DCA plan.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44591
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5469
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2817
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2197
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
