Skip to main content
MCP server CX Codex

TRA — Claude Code MCP server: what it does, how to install

An MCP server for autonomous trading agents where models only propose ideas, leaving market data, pricing, and execution to deterministic code.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add bitra -- uvx bitra
Open on GitHub

What TRA does

The server separates market reasoning from financial calculation. Language models review market conditions and share an opinion, but they cannot perform arithmetic, access private keys, or submit orders directly. Fixed code fetches live data, evaluates round-trip expenses like spreads and fees, and enforces hard risk boundaries.

Running the tool requires Python 3.11 or newer along with an API key from a supported model provider. Orders clear only when the projected edge covers transaction costs, and every accepted or rejected decision is saved directly to disk.

What it helps with

  • block trades where expected margins do not cover transaction costs and slippage
  • prevent model hallucinations from directly sizing positions or executing orders
  • keep trade stops and target orders linked together upon venue entry
  • record every agent proposal and system refusal to disk for post-trade reviews

Example prompts for the agent

  • Inspect the latest market data and retrieve agent proposals via tra
  • Check round-trip execution costs and position sizing for the selected trading pair

How to install TRA

Platform CLI

claude mcp add bitra -- uvx bitra

uvx runs the command named after the package; if the README names another one, use uvx --from bitra <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about TRA

How to install TRA in Claude Code?

Run claude mcp add bitra -- uvx bitra in your terminal. You can also register it under the short alias with claude mcp add tra -- uvx bitra.

What does TRA do?

It runs trading agents under strict boundaries where models propose directions, while deterministic code verifies costs, sizes positions, and manages order execution.

What are the system requirements for TRA?

You need Python 3.11 or newer and at least one valid API key from a supported model provider.

Similar MCP servers

Everything for Finance and business →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor