1. Conduid
  2. Finance
  3. T212 MCP Server
MCP server · Finance

T212 MCP Server

A Model Context Protocol (MCP) server for interacting with Trading212's API

37Low

Scored 4 months ago · breakdown

About T212 MCP Server

T212 MCP Server is an MCP server in the Finance category: a Model Context Protocol (MCP) server for interacting with Trading212's API. It has been installed 0 times through Conduid.

Install

Claude Code
claude mcp add t212-mcp-server -- npx -y t212-mcp-server
npx
npx -y t212-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about T212 MCP Server

Powered by Claude · Grounded in docs

I know everything about T212 MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • ·Scoped permissionsNot checked yet.

README

T212 MCP Server

npm version

A Model Context Protocol (MCP) server for interacting with the Trading 212 API. Gives AI assistants read-only access to your Trading 212 account — positions, account summary, instruments, order history, dividends, and more.

Features

  • 📊 Portfolio positions with P/L and wallet impact
  • 💰 Account summary (cash, investments, realized/unrealized P/L)
  • 🔍 Instrument search (16,000+ stocks, ETFs, and more)
  • 🏛️ Exchange schedules and working hours
  • 📜 Order history, dividend history, and transaction history
  • 📁 CSV export reports
  • 🔒 Read-only — no trading operations
  • 🧪 Demo mode for paper trading
  • 🤖 Compatible with Claude, and other MCP clients

Quick Start

Prerequisites

  • Node.js v18 or higher
  • A Trading 212 API key and secret (get yours here)
  • Claude Desktop or another MCP-compatible client

Configuration for Claude Desktop

Add this to your Claude Desktop configuration file:

Option 1: No installation required (recommended)

{
  "mcpServers": {
    "t212-mcp": {
      "command": "npx",
      "args": ["t212-mcp-server"],
      "env": {
        "T212_API_KEY": "your-api-key-id",
        "T212_API_SECRET": "your-api-secret"
      }
    }
  }
}

Option 2: Global installation

npm install -g t212-mcp-server
{
  "mcpServers": {
    "t212-mcp": {
      "command": "t212-mcp-server",
      "env": {
        "T212_API_KEY": "your-api-key-id",
        "T212_API_SECRET": "your-api-secret"
      }
    }
  }
}

Demo Mode

To use paper trading instead of your live account, add T212_ENVIRONMENT:

{
  "env": {
    "T212_API_KEY": "your-demo-api-key-id",
    "T212_API_SECRET": "your-demo-api-secret",
    "T212_ENVIRONMENT": "demo"
  }
}

How to access the Claude Desktop config file

  1. Open Claude Desktop Settings
  2. Go to the Developer tab
  3. Click "Edit Config"
  4. Add your configuration and save
  5. Restart Claude Desktop

For detailed configuration instructions, see the official MCP documentation.

Getting your Trading 212 API Credentials

  1. Log into your Trading 212 account
  2. Navigate to Settings → API
  3. Generate a new API key
  4. Copy both the API Key ID and the Secret Key (the secret is only shown at creation time)
  5. Use both values in your configuration as T212_API_KEY and T212_API_SECRET

For more details, see the Trading 212 Help Centre.

Available Tools

Tool Description
fetch-open-positions All open positions with current price, P/L, and wallet impact
fetch-position A specific position by ticker
fetch-account-summary Account cash balance, investment value, and P/L
search-instruments Search 16,000+ instruments by name, ticker, or ISIN
fetch-exchanges All exchanges with next open/close times
fetch-order-history Historical filled orders (paginated)
fetch-dividend-history Dividend payments (paginated)
fetch-transaction-history Deposits and withdrawals (paginated)
fetch-exports CSV export reports with download links
fetch-all-pies Investment pies (deprecated by Trading 212)

Environment Variables

Variable Required Description
T212_API_KEY Yes Your Trading 212 API Key ID
T212_API_SECRET Yes Your Trading 212 API Secret
T212_ENVIRONMENT No live (default) or demo for paper trading

Security Notes

  • ⚠️ Never commit your API credentials to version control
  • 🔒 Keep your MCP configuration file secure
  • 🔄 Regularly rotate your API keys
  • 📝 This server provides read-only access only

License

This project is licensed under the MIT License — see the LICENSE file for details.

Support

If you encounter any issues or have questions:

  1. Check the issues page
  2. Create a new issue if your problem isn't already reported
  3. Provide as much detail as possible, including error messages and your configuration

README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About T212 MCP Server

How do I install T212 MCP Server?

Run claude mcp add t212-mcp-server -- npx -y t212-mcp-server, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is T212 MCP Server safe to use with an AI agent?

Its trust score is 37 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is T212 MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.