Capital.com MCP Server
by simontarara62io.github.SimonTarara62/capitalcom-mcp-serverv0.3.4
Unofficial Capital.com Open API integration: market data and guarded trading with preview-and-confirm trades, allowlists and demo-first defaults.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Capital.com MCP server
Install in Claude Code
claude mcp add capitalcom -e CAP_API_KEY='<cap-api-key>' -e CAP_IDENTIFIER='<cap-identifier>' -e CAP_API_PASSWORD='<cap-api-password>' -- uvx capitalcom-mcpInstall in Cursor
{
"mcpServers": {
"capitalcom": {
"command": "uvx",
"args": [
"capitalcom-mcp"
],
"env": {
"CAP_API_KEY": "<cap-api-key>",
"CAP_IDENTIFIER": "<cap-identifier>",
"CAP_API_PASSWORD": "<cap-api-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"capitalcom": {
"command": "uvx",
"args": [
"capitalcom-mcp"
],
"env": {
"CAP_API_KEY": "<cap-api-key>",
"CAP_IDENTIFIER": "<cap-identifier>",
"CAP_API_PASSWORD": "<cap-api-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"capitalcom": {
"type": "stdio",
"command": "uvx",
"args": [
"capitalcom-mcp"
],
"env": {
"CAP_API_KEY": "<cap-api-key>",
"CAP_IDENTIFIER": "<cap-identifier>",
"CAP_API_PASSWORD": "<cap-api-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"capitalcom": {
"command": "uvx",
"args": [
"capitalcom-mcp"
],
"env": {
"CAP_API_KEY": "<cap-api-key>",
"CAP_IDENTIFIER": "<cap-identifier>",
"CAP_API_PASSWORD": "<cap-api-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CAP_ENV_FILE | — | — | Path to a .env file holding credentials (alternative to inline secrets). |
| CAP_API_KEY | — | yes | Capital.com API key (use a DEMO key first). |
| CAP_IDENTIFIER | — | yes | Capital.com account identifier (email). |
| CAP_API_PASSWORD | — | yes | Capital.com API password. |
| CAP_ENV | — | — | Environment: demo or live (default: demo). |
| CAP_ALLOW_TRADING | — | — | Set true to enable order execution (off by default). |
| CAP_ALLOWED_EPICS | — | — | Comma-separated EPIC allowlist for trading, or ALL. |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-12 · 3mo ago · GitHub
Latest release
2026-06-15 · 4mo ago · GitHub · v0.3.4
Package published
no data · npm/PyPI
Registry entry updated
2026-06-15 · 4mo ago · official registry · v0.3.4
FAQ
›How do I install the Capital.com MCP server in Claude Code?
Run: claude mcp add capitalcom -e CAP_API_KEY='<cap-api-key>' -e CAP_IDENTIFIER='<cap-identifier>' -e CAP_API_PASSWORD='<cap-api-password>' -- uvx capitalcom-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Capital.com require an API key?
Yes. It expects CAP_API_KEY, CAP_IDENTIFIER, CAP_API_PASSWORD, of which 3 are secrets.
›Can I use Capital.com as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Capital.com in the official MCP registry?
Yes, as io.github.SimonTarara62/capitalcom-mcp-server.
Alternatives to Capital.com
Other finance & fintech MCP servers.