Tradernet MCP logo

Tradernet MCP

Connects MCP-compatible assistants to Tradernet and Freedom24 for portfolio data, market research, orders, alerts, and direct API calls.

Install Tradernet MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "tradernet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tradernet-mcp"
      ],
      "env": {
        "TRADERNET_PUBLIC_KEY": "YOUR_VALUE_HERE",
        "TRADERNET_PRIVATE_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env TRADERNET_PUBLIC_KEY=YOUR_VALUE_HERE --env TRADERNET_PRIVATE_KEY=YOUR_VALUE_HERE --transport stdio tradernet-mcp -- npx -y tradernet-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y tradernet-mcp

initialize succeeded but no response to tools/list.

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 .

Overview

The tradernet-mcp MCP server connects AI assistants to the Tradernet and Freedom24 trading APIs. It provides tools for account data, portfolios, positions, quotes, ticker search, orders, risk controls, alerts, and direct API commands. It runs through npx with API credentials supplied as environment variables, and can be bridged to ChatGPT using Supergateway and ngrok. Reach for it when an assistant needs to inspect or manage a Tradernet/Freedom24 account through MCP.

Use cases

  • Inspect a portfolio and open positions
  • Search securities and review quote history
  • Place or cancel trading orders
  • Set stop-loss, take-profit, and price alerts
  • Call Tradernet API commands directly

Key features

  • Portfolio balances, positions, and P&L
  • Buy, sell, short, and margin orders
  • Historical OHLCV quote data
  • Ticker search and security metadata
  • Price alerts and position risk controls
  • Direct Tradernet API command access

Tools12

What Tradernet MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 82d

What it can do

From the 12 tools this server returned when we ran it.

Can delete or modify data · 1Makes network requests · 1Read-only tools · 11
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age255 days
Maintainers1

Observed 2026-10-31 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4h ago via OSV.dev · tradernet-mcp (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads230Package downloads in the last 30 days.
Last commit9mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed12Callable tools this server registers over MCP.

How Tradernet MCP works

What tradernet-mcp MCP server does

The tradernet-mcp MCP server exposes Tradernet and Freedom24 account and market operations as MCP tools. It can retrieve account information, portfolio balances, open positions, profit and loss, security details, historical candlestick data, and available security sessions.

Trading actions are also available. An assistant can submit buy, sell, short, or margin orders, cancel active orders, and set stop-loss or take-profit values for a position. Separate tools create and remove price alerts with notifications. The ticker search tool accepts a security name or symbol, while the raw API tool provides access to Tradernet API commands beyond the dedicated tools.

This makes the server suitable for conversational portfolio checks, security lookup, historical price requests, alert management, and account actions. Order placement and other mutating operations should be used with appropriate review because they affect a connected trading account.

How it works

The package is launched with npx and communicates with an MCP client over stdio. The client sends tool requests, and the server calls the configured Tradernet API. A typical launch uses npx -y tradernet-mcp and passes credentials through the process environment.

Claude Desktop can start the package directly from its MCP configuration. Claude Code can register the same command with claude mcp add. ChatGPT does not connect to the stdio process directly in the documented setup; Supergateway can wrap the process with streamable HTTP, and ngrok can expose that HTTP endpoint. The resulting /mcp URL is then added as a ChatGPT connector.

Setup and configuration

Create a Tradernet or Freedom24 account API key pair from the platform profile settings. The tradernet-mcp MCP server requires these environment variables:

  • TRADERNET_PUBLIC_KEY: the API public key.
  • TRADERNET_PRIVATE_KEY: the API private key.
  • TRADERNET_API_URL: optional API base URL; the documented default is https://tradernet.com/api.

For Claude Desktop, add an MCP entry that runs npx -y tradernet-mcp and supplies the two required keys in its env object. For Claude Code, register the npx command and then set the same environment variables. Keep the credentials in the client or process environment rather than putting them into prompts.

Tools and capabilities

The available tools cover these areas:

  • Account and portfolio: get_user_data and get_portfolio.
  • Trading: place_order, cancel_order, and set_stop_loss_take_profit.
  • Market data: get_security_info, get_quotes_history, and search_tickers.
  • Alerts and sessions: add_price_alert, delete_price_alert, and get_security_sessions.
  • API access: raw_api_call for a Tradernet API command directly.

Historical quotes are returned as OHLCV candlestick data. Security information includes fields such as currency, exchange, and minimum trading step, according to the tool description.

Limitations and notes

The tradernet-mcp MCP server depends on valid Tradernet or Freedom24 API credentials and access to the corresponding API.

The package is documented as a stdio server. Connecting it to ChatGPT requires an additional HTTP bridge and public tunnel rather than a direct local stdio connection. The raw API tool extends coverage, but using it requires knowledge of the relevant Tradernet API command and its parameters. Consult the official Tradernet API documentation for command-level details.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about Tradernet MCP

tradernet-mcp is an MCP server that connects AI assistants to the Tradernet and Freedom24 trading APIs. Its main tools retrieve account and portfolio data, search tickers, fetch quotes, place or cancel orders, manage stop-loss/take-profit settings and price alerts, and call Tradernet API commands directly.

Install it by running it through npx with `npx -y tradernet-mcp`; no separate package installation is documented. Configure `TRADERNET_PUBLIC_KEY` and `TRADERNET_PRIVATE_KEY`, then add the command to an MCP client such as Claude Desktop or Claude Code.

It requires `TRADERNET_PUBLIC_KEY` and `TRADERNET_PRIVATE_KEY`. `TRADERNET_API_URL` is optional and defaults to `https://tradernet.com/api`, according to the documented configuration.

Yes, but ChatGPT requires an HTTP connection rather than the server's direct stdio setup. The documented approach uses Supergateway to provide streamable HTTP, ngrok to expose the endpoint, and a ChatGPT connector configured with the resulting `/mcp` URL; a supported paid ChatGPT plan and Developer Mode are also required.

It can place buy, sell, short, and margin orders, cancel active orders, and set stop-loss or take-profit values for a position. It can also retrieve portfolio information and manage price alerts.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

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 PreviewTradernet MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/tradernet-mcp?style=directory)](https://allmcps.com/mcp/tradernet-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/tradernet-mcp"><img src="https://allmcps.com/api/badge/tradernet-mcp?style=directory" alt="Tradernet MCP on AllMCPs" /></a>