MCP server for Trading 212 API - portfolio, orders, pies, dividends, and analytics
registry version 0.1.1
Python
uvx trading212-mcp-serverPython
uvx trading212-mcp-server@0.1.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server"
],
"env": {
"TRADING212_API_KEY": "<YOUR_TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<YOUR_TRADING212_API_SECRET>"
}
}
}
}{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server@0.1.1"
],
"env": {
"TRADING212_API_KEY": "<YOUR_TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<YOUR_TRADING212_API_SECRET>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env TRADING212_API_KEY=<YOUR_TRADING212_API_KEY> --env TRADING212_API_SECRET=<YOUR_TRADING212_API_SECRET> trading212-mcp-server -- uvx trading212-mcp-server
claude mcp add --env TRADING212_API_KEY=<YOUR_TRADING212_API_KEY> --env TRADING212_API_SECRET=<YOUR_TRADING212_API_SECRET> trading212-mcp-server -- uvx trading212-mcp-server@0.1.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server"
],
"env": {
"TRADING212_API_KEY": "<YOUR_TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<YOUR_TRADING212_API_SECRET>"
}
}
}
}{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server@0.1.1"
],
"env": {
"TRADING212_API_KEY": "<YOUR_TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<YOUR_TRADING212_API_SECRET>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server"
],
"env": {
"TRADING212_API_KEY": "<YOUR_TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<YOUR_TRADING212_API_SECRET>"
}
}
}
}{
"servers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server@0.1.1"
],
"env": {
"TRADING212_API_KEY": "<YOUR_TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<YOUR_TRADING212_API_SECRET>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server"
],
"env": {
"TRADING212_API_KEY": "<YOUR_TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<YOUR_TRADING212_API_SECRET>"
}
}
}
}{
"mcpServers": {
"trading212-mcp-server": {
"command": "uvx",
"args": [
"trading212-mcp-server@0.1.1"
],
"env": {
"TRADING212_API_KEY": "<YOUR_TRADING212_API_KEY>",
"TRADING212_API_SECRET": "<YOUR_TRADING212_API_SECRET>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
TRADING212_API_KEY required secret — Trading 212 API key from Settings > API (Beta)TRADING212_API_SECRET required secret — Trading 212 API secret from Settings > API (Beta)ENVIRONMENT — API environment: 'live' for real account, 'demo' for paper trading⭐ 10 stars · 最近更新于 92 天前 · MIT license
Distributed as Python, listed under Finance & Payments. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/KyuRish/trading212-mcp-server. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/trading212-mcp-server/)
HTML
<a href="https://mcpnav.net/server/trading212-mcp-server/"><img src="https://mcpnav.net/badge/trading212-mcp-server.svg" alt="Listed on MCPNav" height="20"></a>