Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Ā© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. šŸ’° Finance & Fintech
  3. Trading212 MCP Server
Trading212 MCP Server logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 9:30:50 PM

Trading212 MCP Server

User RatingsBe the first to rate and review this MCP server!
View Repository7 GitHub StarsTotal stargazers on GitHub for the source repository (7 stars).Visit Website
trading212financeportfoliotradingdividends

MCP server for managing Trading 212 portfolios, orders, pies, dividends, market data, and analytics.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
We couldn’t automatically confirm this listing starts correctly

The install command below didn't complete successfully in our automated test.

uvx trading212-mcp-server

Downloading cryptography (4.5MiB) Downloading pygments (1.2MiB) Downloading pydantic-core (2.0MiB) Downloaded pydantic-core Downloaded cryptography Downloaded pygments Installed 40 packages in 23ms Traceback (most recent call last): File "/home/user/.cache/uv/archive-v0/71N-8C9jKgTYIvih/bin/trading212-mcp-server", line 6, in <module> from trading212_mcp_server.server import main File "/home/user/.cache/uv/archive-v0/71N-8C9jKgTYIvih/lib/python3.11/site-packages/trading212_mcp_server/s

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.

Manual Client & Custom JSON ConfigExpand JSON ā–¾

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "kyurish-trading212-mcp-server": {
      "command": "uvx",
      "args": [
        "trading212-mcp-server"
      ]
    }
  }
}

šŸ’” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesšŸ’° More in Finance & Fintech

Overview

This server connects MCP clients to a Trading 212 brokerage account through the Trading 212 API. It supports portfolio queries, market and pending orders, pies, dividend analysis, transaction history, and composite analytics. Use demo mode to test with virtual money before placing live trades.

Use cases

•Review portfolio value, holdings, cash, and profit or loss
•Place or cancel market, limit, stop, and stop-limit orders
•Create, update, duplicate, and delete investment pies
•Analyze dividend income and portfolio performance
•Search instruments and review account or transaction history

Key features

•32 tools across account, trading, portfolio, pies, market data, history, and analytics
•Composite portfolio, performance, dividend, and activity reports
•Automatic rate-limit handling with header-aware waits and retries
•Structured Pydantic responses
•Demo environment for paper trading
•Basic authentication using Trading 212 API credentials

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Trading212 MCP Server.

Extracted Tool Capabilities
32 tools across account, trading, portfolio, pies, market data, history, and analytics
Composite portfolio, performance, dividend, and activity reports
Automatic rate-limit handling with header-aware waits and retries
Structured Pydantic responses
Demo environment for paper trading
Basic authentication using Trading 212 API credentials

Documentation Overview

Trading 212 MCP Server

PyPI Downloads License: MIT Glama Python MCP Tools

Connect your AI assistant to your Trading 212 brokerage account. Ask questions about your portfolio, place trades, manage pies, and analyze dividends - all through natural language.

Works with Claude Desktop, Claude Code, ChatGPT, Gemini, Cursor, Windsurf, and any client that supports the Model Context Protocol (MCP).

Why this server?

  • 32 tools covering the full Trading 212 API, plus 4 analytics tools that combine multiple API calls into actionable insights
  • Smart rate limiting - reads T212's rate limit headers, auto-waits, and retries on 429 (up to 3 times). No rate limit errors leak to your AI
  • Zero config - install from PyPI, add your API key, done. No Docker, no database, no Redis
  • Typed responses - every tool returns structured Pydantic models, not raw JSON
  • Paper trading - set ENVIRONMENT=demo to test with virtual money first

What can it do?

CategoryToolsExamples
AnalyticsPortfolio summary, performance, dividends, activity"Show me my portfolio P&L"
TradingMarket, limit, stop, stop-limit orders"Buy 5 shares of AAPL"
PortfolioPositions, cash balance, account info"What's my cash balance?"
PiesCreate, update, duplicate, delete pies"Show my pie allocations"
Market DataInstrument search, exchange schedules"Search for Tesla"
HistoryPast orders, dividends, transactions, CSV exports"Show my dividend history"

Analytics tools

These combine multiple API calls into single high-level responses:

  • fetch_portfolio_summary - Complete snapshot: total value, P&L, cash, top holdings, allocation
  • fetch_portfolio_performance - Per-position returns with dividends, best/worst performers
  • fetch_dividend_summary - Income analysis grouped by ticker and month
  • fetch_recent_activity - Combined timeline of trades and transactions

Quick start

Install

bash
uvx trading212-mcp-server

Or via pip:

Terminal
pip install trading212-mcp-server

Get your API credentials

From the Trading 212 app: Settings > API (Beta). You need both the API Key and Secret - the server uses Basic Auth.

Connect to Claude Desktop

Add to claude_desktop_config.json (Windows: %APPDATA%\Claude\, Mac: ~/Library/Application Support/Claude/):

config.json
{
  "mcpServers": {
    "trading212": {
      "command": "uvx",
      "args": ["trading212-mcp-server"],
      "env": {
        "TRADING212_API_KEY": "<your-api-key>",
        "TRADING212_API_SECRET": "<your-api-secret>",
        "ENVIRONMENT": "live"
      }
    }
  }
}

Connect to Claude Code

Terminal
claude mcp add trading212 -- uvx trading212-mcp-server

Then set the environment variables in your shell or .env file.

Other clients (Cursor, Windsurf, ChatGPT, etc.)

Same command and env vars - configure per your client's MCP docs. Set ENVIRONMENT to demo for paper trading.

From source

bash
git clone https://github.com/KyuRish/trading212-mcp-server.git
cd trading212-mcp-server
cp .env.example .env  # fill in your API keys
uv sync
uv run -m trading212_mcp_server.server
claude_desktop_config.json for source installs
config.json
{
  "mcpServers": {
    "trading212": {
      "command": "uv",
      "args": ["run", "--directory", "<path-to-repo>", "-m", "trading212_mcp_server.server"],
      "env": {
        "TRADING212_API_KEY": "<your-api-key>",
        "TRADING212_API_SECRET": "<your-api-secret>",
        "ENVIRONMENT": "live"
      }
    }
  }
}

All 32 tools

Analytics (composite)

ToolDescription
fetch_portfolio_summaryComplete portfolio snapshot with P&L and allocations
fetch_portfolio_performancePer-position returns, dividends, best/worst performers
fetch_dividend_summaryDividend income by ticker and month
fetch_recent_activityCombined timeline of trades and transactions

Account

ToolDescription
fetch_account_infoAccount metadata (currency, ID)
fetch_account_cashCash balance, invested value, P&L
fetch_all_open_positionsAll portfolio positions with live prices
search_specific_position_by_tickerSingle position lookup by ticker

Trading

ToolDescription
place_market_orderBuy/sell at current market price
place_limit_orderBuy/sell at specified price or better
place_stop_orderTrigger order at stop price
place_stop_limit_orderStop trigger with limit execution
fetch_all_ordersList all pending orders
fetch_orderGet specific order by ID
cancel_orderCancel a pending order

Pies

ToolDescription
fetch_piesList all investment pies
fetch_a_piePie details with instrument allocations
create_pieCreate a new pie with target weights
update_pieUpdate pie settings and allocations
duplicate_pieClone an existing pie
delete_pieRemove a pie

Market Data

ToolDescription
search_instrumentSearch tradeable instruments by ticker or name
search_exchangeSearch available exchanges

History

ToolDescription
fetch_historical_order_dataPast orders with pagination
fetch_paid_out_dividendsDividend payment history
fetch_transaction_listDeposits and withdrawals
fetch_exports_listList CSV export reports
request_csv_exportRequest a new CSV export

Compatibility

Tested with these MCP clients:

ClientStatus
Claude DesktopSupported
Claude CodeSupported
CursorSupported
WindsurfSupported
Any MCP-compatible clientSupported

Author

Built by Rishabh Dogra.

Support

If this server saves you time, a coffee would mean a lot.

Buy Me a Coffee

License

MIT

Read the full README →View source on GitHub →

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • Tasty Agent logoTasty Agent

    Tastyworks API integration to handle trading activities on Tastytrade

    šŸ’° Finance & Fintech4 views
    Compare vs Tasty Agent →
  • Kite MCP logoKite MCP

    Trade Indian stocks on Zerodha Kite via natural conversation. 14 tools for holdings, orders, quotes, GTT triggers, and more with automated TOTP login.

    šŸ’° Finance & Fintech3 views
    Compare vs Kite MCP →
  • Coinrithm Agent Trading logoCoinrithm Agent Trading

    Paper-trade crypto spot, futures & prediction markets on CoinRithm with a user-minted API key (simulated funds, 21 tools, public Agent Arena).

    šŸ’° Finance & Fintech3 views
    Compare vs Coinrithm Agent Trading →
  • Freqtrade MCP logoFreqtrade MCP

    An MCP server that integrates with the Freqtrade cryptocurrency trading bot.

    šŸ’° Finance & Fintech3 views
    Compare vs Freqtrade MCP →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
7
Stargazers on the source repository.
Last commit
23d ago
Most recent push to the default branch.
Install check
Inconclusive
Install command did not finish in our automated test.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Trading212 MCP Server

It requires a Trading 212 API key and API secret, used with Basic Auth.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTrading212 MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kyurish-trading212-mcp-server?style=directory)](https://allmcps.com/mcp/kyurish-trading212-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/kyurish-trading212-mcp-server"><img src="https://allmcps.com/api/badge/kyurish-trading212-mcp-server?style=directory" alt="Trading212 MCP Server on AllMCPs" /></a>

Technical Specs & Signals

CategoryšŸ’°Finance & Fintech
PricingFree
More technical detailsExpand ā–¾
TransportSTDIO
RuntimePython
AuthAPI key
LicenseMIT
ClientsClaude Desktop, Cursor, Windsurf
Last updatedAug 20, 2026
11/11 checks healthy over the last 33d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars7
GitHub Star CountTotal stargazers on GitHub representing community popularity (7 stars).
Last commit23d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Aug 20, 2026
52Quality signal: Good Ā· 52/100How this signal is calculated ā–¾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools23/30
Adoption & activity6/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 23d ago via OSV.dev Ā· trading212-mcp-server (PyPI)

ā˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in šŸ’° Finance & Fintech →Best MCP servers for Finance & Fintech →Alternatives to Trading212 MCP Server →Install in Claude DesktopInstall in CursorInstall in VS Code