Feedback

Trading212 Community Server MCP Server

@rohananandpandit Claim

Basic information

Runtime
Python
Version
0.1.1
Category
License
MIT
Transports
stdio
Author
rohananandpandit
Submitted by
Community
Quality
25
Stars
65

About Trading212 Community Server MCP Server

The Trading212 MCP server is a Model Context Protocol server implementation that provides seamless data connectivity to the Trading212 trading platform enabling advanced interaction capabilities via the public API.

Trading212 Community Server is a MCP server in the Other category listed in the AddMCP.net directory, published by RohanAnandPandit. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 65 GitHub stars. Source code is hosted on github.com. Related topics: mcp, mcp-server, trading-platform, trading212.

Setup

{
    "mcpServers": {
        "trading212": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "-e",
                "TRADING212_API_KEY",
                "mcp/trading212"
            ],
            "env": {
                "TRADING212_API_KEY": "<YOUR_API_KEY>"
            }
        }
    }
}

Trading212 Community Server MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "trading212": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "-e",
                "TRADING212_API_KEY",
                "mcp/trading212"
            ],
            "env": {
                "TRADING212_API_KEY": "<YOUR_API_KEY>"
            }
        }
    }
}

Trading212 Community Server MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Trading212 Community Server?

The Trading212 Community Server is a Model Context Protocol (MCP) server that connects to the Trading212 trading platform API. It enables AI assistants to manage accounts, place orders, access market data, and analyse trading activity for Trading212 users.

How to use Trading212 Community Server?

Clone the repository, copy .env.example to .env, and set your API key and environment (demo or live). Install dependencies with uv install or pip install -r requirements.txt, then run uv run src/server.py. Configure your MCP client (e.g., Claude Desktop) with the provided Docker or uv configuration, replacing placeholders with your API key and paths.

Key features of Trading212 Community Server

  • Account metadata, cash balance, and portfolio monitoring
  • Market, limit, stop, and stop-limit order placement
  • Pie (portfolio bucket) creation, duplication, update, and deletion
  • Order history with pagination and cancellation
  • Historical trading data and dividend exports
  • Instrument and exchange search with working schedules
  • Currency-aware financial analysis via MCP prompts

Use cases of Trading212 Community Server

  • Automate portfolio rebalancing by managing pies programmatically
  • Place and cancel equity orders through a conversational AI interface
  • Retrieve real-time account cash and open positions for reporting
  • Analyse historical trading data with currency-context awareness
  • Fetch export CSVs of orders, dividends, and transactions for tax purposes

Frequently asked questions

1 How do I generate a Trading212 API key?

Generate an API key from your Trading212 account settings. See the Trading212 help centre. For a demo account, set ENVIRONMENT=demo in .env; for a live account, set ENVIRONMENT=live.

2 What are the runtime requirements?

Python 3.11 or later, plus Pydantic ≥ 2.11.4 and the Hishel library. Dependencies are listed in requirements.txt.

3 How do I run the server using Docker?

Build the image with docker build -t mcp/trading212-mcp-server . and configure your MCP client to run the container with the -e TRADING212_API_KEY environment variable.

4 Can I use this with a Trading212 demo account?

Yes. Set ENVIRONMENT=demo in your .env file and use the API key generated from the demo account.

5 Is this an official Trading212 tool?

No. This is an unofficial implementation of the Trading212 MCP protocol. Always consult official Trading212 documentation and terms of service before use.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬