Trading212 MCP Server
MCP server for Trading 212 API - portfolio, orders, pies, dividends, and analytics
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
- today
About Trading212 MCP Server
Trading212 MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add trading212-mcp-server --env TRADING212_API_KEY='<TRADING212_API_KEY>' --env TRADING212_API_SECRET='<TRADING212_API_SECRET>' -- uvx trading212-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server"
],
"env": {
"TRADING212_API_KEY": "<TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<TRADING212_API_SECRET>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server"
],
"env": {
"TRADING212_API_KEY": "<TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<TRADING212_API_SECRET>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"trading212-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"trading212-mcp-server"
],
"env": {
"TRADING212_API_KEY": "<TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<TRADING212_API_SECRET>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server"
],
"env": {
"TRADING212_API_KEY": "<TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<TRADING212_API_SECRET>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server"
],
"env": {
"TRADING212_API_KEY": "<TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<TRADING212_API_SECRET>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
TRADING212_API_KEYTrading 212 API key from Settings > API (Beta)RequiredTRADING212_API_SECRETTrading 212 API secret from Settings > API (Beta)RequiredENVIRONMENTAPI environment: 'live' for real account, 'demo' for paper trading
Pricing
Open source
Trading212 MCP Server FAQ
Is Trading212 MCP Server free?
Yes. Trading212 MCP Server is open source, so you can use and self-host it for free.
How do I add Trading212 MCP Server to Claude Code?
Run this command in your terminal: claude mcp add trading212-mcp-server --env TRADING212_API_KEY='<TRADING212_API_KEY>' --env TRADING212_API_SECRET='<TRADING212_API_SECRET>' -- uvx trading212-mcp-server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.