Skip to content
MCP server
RegistryRemote

Backtest360 MCP Server

MCP server exposing the Backtest360 engine API as tools for AI agents.

Backtest360 scores 56 (Fair), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 17 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by backtest360MITPython0 stars
Trust score
56Fair
Trust score 56 of 100, Fair

Fair trust

56 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 56 comes from

22 + 10 + 0 + 10 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance10 / 20

How recently the repository saw a commit or release.

Maintenance: 10 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "backtest360-backtest360-mcp": {      "command": "uvx",      "args": [        "backtest360-mcp"      ],      "env": {        "BACKTEST360_API_KEY": "YOUR_BACKTEST360_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
BACKTEST360_API_KEYSecretRequiredBacktest360 engine API key, sent to the engine as X-API-Key. Get a free key at https://backtest360.com/api-access.

Tools17Tool docs quality grade C

All capabilities
  • build_and_validateprompt

    idea

  • Run several strategies on the same data, side by side

  • Compute the metric set from an externally produced returns series

  • Engine version, API contract, health

  • Reference catalogs: operators, execution modes, stop types, sizing methods, bar frequencies, metric sections

  • Available history and bar-count estimate for a symbol

  • Evaluate the most recent bar only (no P&L)

  • get_metool

    What the configured key can do: permission scopes, limits, current usage, capability flags

  • OHLCV price history over a date range (paid plan; long histories downsampled to fit)

  • Latest available price for a symbol (paid plan)

  • JSON Schema for strategy documents

  • Symbol identity and data coverage in a single call

About

backtest360-mcp

PyPI version Python versions License: MIT tests

MCP server exposing the Backtest360 engine API as tools for AI agents.

Connect any MCP-capable AI client and drive real backtests conversationally: discover indicators, build and validate strategies, run backtests, and read the results — all against the deterministic Backtest360 engine. The server contains no AI and computes no numbers of its own; it is a thin, faithful adapter over the engine HTTP API. Your engine API key and its plan govern everything (permissions, rate limits, data access).

Two transports: a hosted HTTP endpoint at https://mcp.backtest360.com/mcp (send your key as an X-API-Key header) and local stdio (self-host — see below).

Install

pip install backtest360-mcp        # or, from a clone: pip install -e .

Requires Python 3.10+ and a Backtest360 API key. Get one free, instantly at backtest360.com/api-access — submit your email and a key (format b360_…) is issued on the spot and emailed to you; no approval needed. Authentication is API-key only. The free tier runs backtests on data you upload; fetching historical price data from the engine server-side is a paid capability.

Configuration

Everything is environment-driven:

VariableRequiredDefaultPurpose
BACKTEST360_API_KEYyes—Engine API key, sent as X-API-Key
BACKTEST360_ENGINE_URLnohttps://api.backtest360.comEngine base URL
BACKTEST360_MCP_TIMEOUTno300Per-request timeout (seconds)
BACKTEST360_MCP_MAX_OUTPUT_BYTESno100000Hard cap on a single tool result

Connect an MCP client

Hosted (recommended)

Point your MCP client at the hosted endpoint over HTTP and send your key as an X-API-Key header:

{
  "mcpServers": {
    "backtest360": {
      "type": "streamable-http",
      "url": "https://mcp.backtest360.com/mcp",
      "headers": {
        "X-API-Key": "b360_..."
      }
    }
  }
}

Local (stdio)

Run the server yourself and let your client launch it over stdio (the common mcpServers shape):

{
  "mcpServers": {
    "backtest360": {
      "command": "backtest360-mcp",
      "env": {
        "BACKTEST360_API_KEY": "b360_..."
      }
    }
  }
}

Prefer not to put the key in a config file? Point command at a small wrapper script that exports the key from your secrets manager and then runs backtest360-mcp. A minimal example config is in examples/mcp.json.

Tools

ToolWhat it does
engine_infoEngine version, API contract, health
get_meWhat the configured key can do: permission scopes, limits, current usage, capability flags
get_catalogReference catalogs: operators, execution modes, stop types, sizing methods, bar frequencies, metric sections
list_indicatorsIndicator discovery; per-indicator parameter schemas
list_templatesPredesigned strategy templates — discover compactly, fetch one in full, ready to validate and run
get_strategy_schemaJSON Schema for strategy documents
validate_strategyValidate a strategy without running it — returns structured, locatable errors
run_backtestRun a historical backtest
get_latest_signalEvaluate the most recent bar only (no P&L)
compare_backtestsRun several strategies on the same data, side by side
compute_statsCompute the metric set from an externally produced returns series
search_tickers / list_tickersAsset discovery for server-side data fetch
get_data_rangeAvailable history and bar-count estimate for a symbol
get_ticker_infoSymbol identity and data coverage in a single call
get_quoteLatest available price for a symbol (paid plan)
get_price_historyOHLCV price history over a date range (paid plan; long histories downsampled to fit)
list_macro_series / get_macro_seriesMacroeconomic data: list the series catalog, then fetch one series' observations

The cheap static catalogs are also published as MCP resources (backtest360://catalog/{name}, backtest360://schema/strategy) for clients that support resource attachment.

Prompts

Two workflow prompts scaffold the common multi-tool flows for a connected AI: each names which tools to call, in what order, and what to look at in the results. They carry no interpretation and compute nothing — the connected AI does the reasoning.

PromptArgumentsWhat it scaffolds
robustness_reviewsymbol, strategy (optional)Review a backtested strategy for robustness: validate → run → compare against buy-and-hold → weigh the evidence base (sample size, significance/robustness statistics, warnings) → caveated summary
build_and_validateideaTurn a plain-language idea into a validated strategy: survey the catalogs → fetch the schema → construct → validate-and-fix loop → dry-run

Response shaping

A full backtest result is megabytes; an agent's context is not. run_backtest and compare_backtests take response_detail:

  • summary (default) — headline metrics, warnings, counts, equity endpoints
  • stats — every metric the plan allows
  • full — plus series (downsampled, endpoints preserved) and trades (paginated)

run_backtest also takes max_series_points (default 500, must be >= 2) to override the series downsampling cap — set it higher for full-resolution series on a long run, or leave it unset for today's default.

include=["trades", "equity_curve", "monthly_returns", "yearly_returns", "signal_diagnostics"] adds specific blocks at any detail level. signal_diagnostics reports which per-bar entry/exit conditions fired, as a capped list of fire dates per condition (not the raw per-bar boolean arrays, which downsampling would corrupt) — or {"available": false, ...} when the run has no condition tree to evaluate (e.g. precomputed signals). Results exceeding the output cap are reduced further and explicitly marked truncated_by_mcp — never silently cut. Shaping only ever selects and thins what the engine returned; no value is computed or altered.

Error semantics

Designed for agents:

  • Fixable by changing the request → returned as a normal result: failed validations arrive as {"valid": false, "errors": [...]} with machine codes and document locations; engine rejections arrive as {"accepted": false, "error": ...} with a hint.
  • Not fixable that way → a tool error with explicit guidance: rate limits carry the Retry-After value; engine-busy says retry with backoff; a compute timeout says do not retry and reduce scope instead; permission problems name the missing capability. Engine request ids are included for support.

Running the tests (self-host)

pip install -e ".[dev]"
pytest   # unit suite vs a mock engine — no network

Questions / feedback

Questions or feedback? hello@backtest360.com — we read everything. backtest360-mcp is in active development, so help shape it.

Bug reports and feature requests: open an issue on GitHub.

License

MIT — see LICENSE.

Frequently asked questions

What is Backtest360 MCP Server?

MCP server exposing the Backtest360 engine API as tools for AI agents.

How do I install Backtest360 MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Backtest360 MCP Server runs locally from the PyPI package backtest360-mcp with the command uvx backtest360-mcp.

Is Backtest360 MCP Server free and open source?

Yes. Backtest360 MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Backtest360 MCP Server support remote (HTTP) connections?

Yes. Backtest360 MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does Backtest360 MCP Server provide?

Backtest360 MCP Server provides 15 tools, including compare_backtests, compute_stats, engine_info, and get_catalog. See the full tool list for descriptions and parameters.

How is Backtest360 MCP Server's trust score calculated?

Backtest360 MCP Server scores 56 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server