CryptoPilot MCP
Connects Claude Desktop to crypto and brokerage portfolio data via Coinbase and SnapTrade, providing read-only tools to inspect accounts, holdings, prices, and provider health.
README
🌐 English | Español
CryptoPilot MCP
A read-only MCP server that brings your crypto and brokerage portfolio into Claude Desktop.
CryptoPilot MCP connects Claude Desktop to your Coinbase and SnapTrade portfolio data through the Model Context Protocol (MCP). It gives developers and power users a local-first way to inspect accounts, holdings, prices, and provider health without building a custom integration from scratch. The server is read-only by design: it does not trade, transfer funds, or expose transaction actions.
<!-- TODO: add screenshot of Claude Desktop with cryptopilot loaded -->
Features
- Two providers: Coinbase Advanced Trade and SnapTrade for brokerage aggregation.
- Five MCP tools:
list_providers,list_accounts,list_holdings,get_quote, andget_provider_health. - Read-only by design: no trading, no transfers, and no transactions tool.
- Type-safe TypeScript with Zod validation for MCP schemas and environment configuration.
- Automatic retry with backoff for
429and5xxresponses. - Local-first: no telemetry, no external servers, and no cloud dependencies operated by this project.
Quick Start
Prerequisites
- Node.js 18+
- Claude Desktop: download Claude
- Coinbase account (optional) and/or SnapTrade account (optional)
Install
git clone https://github.com/cryptopilot-tools/cryptopilot-mcp.git
cd cryptopilot-mcp
npm install
npm run build
Configure Claude Desktop as described below.
Configuration
Coinbase API Credentials
- Go to Coinbase API settings.
- Create a new API key with View permissions only. Do not enable trading permissions.
- Allow all accounts you want to analyze.
- Save the API Key Name and Private Key.
SnapTrade Credentials
- Sign up at SnapTrade.
- Create a client in the SnapTrade dashboard.
- Save the Client ID and Consumer Key.
- Create a user, then save the User ID and User Secret.
Claude Desktop Config
Edit your Claude Desktop config at:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the mcpServers entry below. Replace every REPLACE_ME value and update the server path to the absolute path on your machine.
{
"mcpServers": {
"cryptopilot": {
"command": "node",
"args": ["/absolute/path/to/cryptopilot-mcp/dist/server.js"],
"env": {
"COINBASE_API_KEY_NAME": "REPLACE_ME",
"COINBASE_API_PRIVATE_KEY": "REPLACE_ME",
"SNAPTRADE_CLIENT_ID": "REPLACE_ME",
"SNAPTRADE_CONSUMER_KEY": "REPLACE_ME",
"SNAPTRADE_USER_ID": "REPLACE_ME",
"SNAPTRADE_USER_SECRET": "REPLACE_ME",
"SNAPTRADE_DEFAULT_ACCOUNT_ID": "REPLACE_ME"
}
}
}
}
Restart Claude Desktop after saving the file.
Available Tools
list_providers
Returns configured providers and their capabilities.
Example input:
{}
Example output:
{
"providers": [
{
"id": "coinbase",
"displayName": "Coinbase",
"capabilities": {
"accounts": true,
"holdings": true,
"transactions": false,
"quotes": true
}
}
]
}
list_accounts
Returns accounts, optionally filtered by provider.
Example input:
{
"provider": "snaptrade"
}
Example output:
{
"accounts": [
{
"id": "snaptrade:account-id",
"provider": "snaptrade",
"name": "Robinhood Individual",
"type": "brokerage",
"balance": {
"amount": 1000,
"currency": "USD"
}
}
]
}
list_holdings
Returns holdings for a provider account. Requires provider and accountId.
Example input:
{
"provider": "coinbase",
"accountId": "coinbase:account-id"
}
Example output:
{
"holdings": [
{
"symbol": "BTC",
"quantity": 0.05,
"price": {
"amount": 80000,
"currency": "USD"
},
"marketValue": {
"amount": 4000,
"currency": "USD"
}
}
]
}
get_quote
Returns a current price for a symbol. Requires provider and symbol; SnapTrade quotes also require an accountId unless a default account is configured.
Example input:
{
"provider": "coinbase",
"symbol": "BTC"
}
Example output:
{
"quote": {
"symbol": "BTC-USD",
"provider": "coinbase",
"price": {
"amount": 80000,
"currency": "USD"
},
"asOf": "2026-01-01T00:00:00.000Z"
}
}
get_provider_health
Returns health and configuration status for each provider.
Example input:
{}
Example output:
{
"health": [
{
"ok": true,
"provider": "coinbase",
"checkedAt": "2026-01-01T00:00:00.000Z",
"details": {
"transport": "http-fetch"
}
}
]
}
Architecture
Claude Desktop
│ (MCP stdio)
↓
cryptopilot-mcp server
│
↓
BaseProvider (abstract)
│ │
↓ ↓
CoinbaseProvider SnapTradeProvider
│ │
↓ ↓
Coinbase API SnapTrade API
The server runs over MCP stdio and exposes provider-neutral tools to Claude Desktop. Each provider implements the shared BaseProvider abstraction, then normalizers convert provider-specific responses into canonical account, holding, and quote types. Zod schemas validate MCP tool inputs and outputs at the server boundary.
Security & Privacy
- Read-only API keys are strongly recommended. Do not enable trading permissions.
.env.localis never committed and is covered by.gitignore.- No telemetry, no analytics, and no external servers are operated by this project.
- Credentials are stored only on your local machine in Claude Desktop configuration or local environment files.
- See SECURITY.md for vulnerability reporting.
Roadmap
- [x] Coinbase + SnapTrade providers
- [x] 5 core MCP tools
- [ ] Transactions tool
- [ ] More providers based on user demand (Alpaca, IBKR direct, etc.)
- [ ] CI/CD pipeline
- [ ] npm package publication
- [ ] Anthropic Directory submission
Contributing
Contributions are welcome, especially provider integrations, reliability improvements, and documentation fixes. See CONTRIBUTING.md before opening a pull request.
Disclaimer
Disclaimer: CryptoPilot is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by Anthropic, Coinbase, SnapTrade, or any brokerage. This software does not provide financial advice. Use at your own risk and consult a licensed financial advisor for investment decisions.
License
MIT — see LICENSE
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。