Trading Research Agents logo

Trading Research Agents

Runs crypto trading research and execution through cost checks, deterministic risk gates, replay, news signals, and recorded decisions.

Install Trading Research Agents

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

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "trading-research-agents": {
      "command": "uvx",
      "args": [
        "--with",
        "mcp>=2,<3",
        "bitra",
        "mcp",
        "serve"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio trading-research-agents -- uvx --with 'mcp>=2,<3' bitra mcp serve

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

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

The trading-research-agents MCP server provides a self-hosted crypto trading desk built around ccxt venues, deterministic risk controls, and auditable records. Rules or language models can propose a direction and levels, while the system calculates costs, applies limits, sizes trades, and can submit one order with attached exits. It also replays strategies over historical data, compares them with baselines, and uses a typed news judge for event-related entry holds. Reach for it when you need research and execution controls that keep model calculations and order access outside the decision proposer.

Use cases

  • Replay trading rules against multi-year market data
  • Compare cost-adjusted strategies with baseline nulls
  • Gate model-proposed trades with deterministic limits
  • Hold entries when typed news signals indicate adverse events
  • Submit a single exchange order with attached exits

Key features

  • Deterministic round-trip cost estimation
  • Risk limits and position sizing outside the model
  • Walk-forward historical replay
  • Typed headline and event evaluation
  • ccxt-based exchange order path
  • Immutable decision and refusal records

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.

11/11 checks healthy over the last 45d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · bitra (PyPI)

Adoption & maintenance

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

GitHub stars54Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.

How Trading Research Agents works

What trading-research-agents does

The trading-research-agents MCP server packages a self-run crypto trading desk as the bitra Python package, with the command-line program named tra. It supports both rule-based proposals and language-model proposals. In either case, the system—not the proposing rule or model—calculates figures, estimates the round-trip cost, evaluates declared limits, sizes an approved trade, and records the result.

The execution path can send one order through a venue reached by ccxt, with a stop and take-profit attached at entry or placed immediately after the fill when the venue requires that flow. Refused decisions are recorded alongside approved decisions, including the reason for the outcome.

How it works

A cycle begins with market information such as candles, order-book data, funding, open interest, and news. A rule or model proposes a direction and price levels; it cannot calculate trade values, change risk limits, access credentials, or send an order. The system prices fees, spread, market impact, funding, and slippage before an order exists, then checks whether the proposed edge clears those costs and the configured mandate.

News is handled separately by a typed judge named Jev. It evaluates headlines through closed questions about the event type, asset relevance, and whether the text addresses a machine. It does not determine direction, perform arithmetic, size a position, or access order functions.

Every cycle preserves market snapshots, decision briefs, answers, intent, refusals, and venue responses. If an order request times out, the system reads back the client order ID rather than assuming failure and sending a duplicate.

Setup and configuration

The project is published on PyPI as bitra and runs through tra. The same package remains available under the older trading-research-agents name. It is managed with uv and is tested on Linux and Windows.

Configuration includes the declared thresholds and trading mandate used by the deterministic risk gate, along with the venue and model or provider choices used by a deployment. The system uses ccxt to reach supported exchanges. Keep credentials and order permissions outside the proposing model or rule; the execution path, rather than the decision component, handles signed orders.

Tools and capabilities

  • Read market inputs used by the desk, including candles, books, funding, open interest, and news.
  • Price a proposed round trip before execution, including fees, spread, impact, funding, and slippage.
  • Apply deterministic limits, calculate position size, and refuse proposals that fail the mandate or cost threshold.
  • Replay rules over years of recorded data in a walk-forward arena, net of configured costs.
  • Compare replay results with buy-and-hold, momentum, a fade strategy, and a seeded random null.
  • Evaluate headlines with typed questions and hold an entry when an adverse event is identified.
  • Send one ccxt order with stop-loss and take-profit handling, then retain the resulting records.

Limitations and notes

TRA is experimental. Settings may change between releases, and the project has not been run with real capital by its authors. It does not include a strategy that promises or produces profits. Historical replay can report that a sample is too small, and its results depend on the supplied market data and costs.

The system provides controls and records rather than a trading guarantee. Exchange behavior, venue support through ccxt, order-response handling, and the configured mandate still matter when deploying it with funds.

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 Trading Research Agents

trading-research-agents is an MCP server that connects a self-hosted crypto trading desk to exchanges reachable through ccxt. Its main tools and capabilities cover market reading, round-trip cost calculation, deterministic risk checks, historical replay, typed news evaluation, and controlled order submission with recorded decisions.

Install the published Python package as `bitra`; its command-line program is `tra`. The package also remains published under the older `trading-research-agents` name, and the project is managed with uv.

Yes, it reaches crypto venues through ccxt. The execution path can send one signed order and handle a stop and take-profit at entry or immediately after the fill when the venue requires it.

Yes, but the model only proposes direction and levels. The system calculates figures, prices costs, applies declared limits, sizes the position, and decides whether an approved order can be sent.

Yes. Its arena replays rules over years of recorded market data using walk-forward evaluation and configured costs, then compares results with buy-and-hold, momentum, a fade strategy, and a seeded random null.

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 PreviewTrading Research Agents AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/trading-research-agents?style=directory)](https://allmcps.com/mcp/trading-research-agents)
HTML Embed
<a href="https://allmcps.com/mcp/trading-research-agents"><img src="https://allmcps.com/api/badge/trading-research-agents?style=directory" alt="Trading Research Agents on AllMCPs" /></a>