Skip to main content
Glama
AlgoLift MCP Server

AlgoLift MCP Server

Official
by algolift-ai

AlgoLift MCP server

An MCP server that gives an AI assistant three open AlgoLift tools to call:

  • Prop firm rules. The rules of futures prop firm accounts (profit targets, drawdowns and how they trail, daily loss limits, consistency, minimum days, contract limits, payouts, fees), each rule with its verification status, the firm's own page it was checked against, and the date.

  • Indicators. The technical indicators and candlestick patterns of @algolift/indicators, each ported from TA-Lib, pandas-ta-classic, pandas-ta or technicalindicators and tested against that library's output.

  • Setup Odds. How often an intraday setup actually happened ("when it gaps up, how often does it fill by noon?"), on your bars, with the sample size and a 95% interval on every number. The engine is Setup Odds.

It also has search and fetch, the two tools ChatGPT's deep research and company knowledge read, over the same content, each document with the algolift.ai page to cite.

It is read-only: every tool reads the data bundled in this package and computes on what you pass it, and each says so to the client (readOnlyHint: true). It needs no AlgoLift account and no API key, calls no AlgoLift service, makes no outbound network request and reads no file of yours. It runs over stdio for desktop clients, or over HTTP for clients that take a server by URL, such as ChatGPT.

Made by AlgoLift, a no-code platform for building and backtesting trading strategies.

Install

You need Node.js 20 or later. MCP clients start the server themselves with npx, so there is nothing else to install.

Claude Desktop

Open Settings, Developer, Edit Config, and add the server to claude_desktop_config.json:

{
  "mcpServers": {
    "AlgoLift": {
      "command": "npx",
      "args": ["-y", "@algolift/mcp"]
    }
  }
}

Restart Claude Desktop. The tools appear in the tools menu of a new chat.

Claude Code

claude mcp add algolift -- npx -y @algolift/mcp

Cursor

Add it to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "AlgoLift": {
      "command": "npx",
      "args": ["-y", "@algolift/mcp"]
    }
  }
}

VS Code, Windsurf and other MCP clients

Any client that runs a local MCP server over stdio takes the same command: npx -y @algolift/mcp. In VS Code, add it to .vscode/mcp.json:

{
  "servers": {
    "AlgoLift": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@algolift/mcp"]
    }
  }
}

On Windows, if your client cannot find npx, use "command": "cmd" with "args": ["/c", "npx", "-y", "@algolift/mcp"].

To pin a version, name it: @algolift/mcp@0.1.0.

ChatGPT

ChatGPT connects to a remote MCP server by URL, not to a command on your machine, so it needs the server reachable over public HTTPS. There are two ways to give it one:

  • The hosted endpoint, https://www.algolift.ai/api/mcp. AlgoLift serves the same tools there, stateless, with tighter caps (5,000 bars for an indicator, 50,000 for Setup Odds) and a per-address rate limit. It is not switched on yet: until it is, every request to it gets a 404. This README and the changelog will say when it is on.

  • Your own deployment of the HTTP mode (below), behind an HTTPS address you control.

Then, following OpenAI's guide to connecting from ChatGPT: open ChatGPT Plugins, select the plus button, then Add custom MCP server; give it a name and description; under Connection choose a public endpoint and enter the URL with its path (for example https://mcp.example.com/mcp); configure authentication (this server has no sign-in); review the risk warning; and select Create as a plugin. Which ChatGPT plans and workspaces can add custom MCP servers is OpenAI's to decide and changes over time, so check OpenAI's help center for yours.

ChatGPT's deep research and company knowledge read a server through two read-only tools, search and fetch, with the input and output shapes in OpenAI's MCP guide. This server has both (see Search and fetch), and every other tool is marked read-only (readOnlyHint: true) as well.

The OpenAI Responses API

The Responses API's mcp tool takes a remote server by URL. With the hosted endpoint on, or your own HTTPS deployment in its place:

import OpenAI from "openai";

const client = new OpenAI();
const response = await client.responses.create({
  model: "gpt-6.1-sol",
  tools: [
    {
      type: "mcp",
      server_label: "algolift",
      server_description: "Futures prop firm rules with each rule's verification status, technical indicators, and Setup Odds.",
      server_url: "https://www.algolift.ai/api/mcp",
      allowed_tools: ["search", "fetch", "get_prop_plan_rules", "compare_prop_plans"],
      require_approval: "never",
    },
  ],
  input: "Compare the Topstep and Apex 50K evaluations, and say which rules are not verified.",
});
console.log(response.output_text);

allowed_tools limits which of the server's tools the model sees; leave it out for all eleven. require_approval: "never" suits a server whose tools are all read-only, as these are; the API asks for approval by default. A deep research model reads only search and fetch, and OpenAI's deep research guide says require_approval must be "never" there. The model above is the one OpenAI's MCP guide uses; any model that supports remote MCP servers works.

Run it over HTTP

algolift-mcp --http serves the same tools over Streamable HTTP, stateless (each request is answered with one JSON body; no session and no event stream), by the same handler the hosted endpoint runs:

npx -y @algolift/mcp --http --port 3000
# AlgoLift MCP server 0.1.0 listening on http://127.0.0.1:3000/mcp (Streamable HTTP, stateless)
  • --port (default 3000; 0 picks a free one), --host (default 127.0.0.1, this machine only; use 0.0.0.0 in a container or behind a proxy on another host), --path (default /mcp).

  • In HTTP mode every call has the hosted caps (5,000 bars for an indicator, 50,000 for Setup Odds, 4 MB bodies).

  • A request from a browser page (one with an Origin header) is answered only from localhost, unless you allow its origin with --allow-origin https://your.site (the MCP transport asks servers to check Origin). Server-side clients such as ChatGPT and the Responses API send none.

  • It has no rate limit and no authentication of its own: put it behind a reverse proxy that terminates HTTPS and limits requests before you give its URL to anyone. It reads only the data in the package and makes no outbound request.

To try it locally, run it and point the MCP Inspector at http://127.0.0.1:3000/mcp with the Streamable HTTP transport.

Related MCP server: BAMCP

The tools

Each example is something you might ask, then the arguments the assistant passes.

Prop firm rules

list_prop_firms: the firms and plans, with each plan's id and how many of its rules are verified.

"Which prop firms do you have rules for?"

{ "firm": "Apex" }

get_prop_plan_rules: every rule and price of one plan, each with its status, source and date. Name the plan by its id, or by firm, program and size.

"What are Topstep's 50K Combine rules?"

{ "plan_id": "topstep/50k" }
{ "firm": "Apex", "plan": "EOD", "size": "50K" }

compare_prop_plans: plans side by side on the rules that matter most. Pass plans, or a size to compare every firm's plans of that size.

"Compare the 50K accounts at Topstep, Apex and MFFU."

{ "plans": ["topstep/50k", "Apex EOD 50K", "MFFU Rapid 50K"] }
{ "size": 50000, "firms": ["Topstep", "Tradeify"] }

What "verified" means here

Every rule carries one of four statuses, exactly as the prop firm rules dataset holds it, and the answer's text says plainly when a rule is not verified:

Status

In the answer

Meaning

verified

[verified 2026-10-16]

Checked against the firm's page (linked) on that date.

not_stated

not stated by the firm

The firm's pages do not state this rule, so the value is the assumption AlgoLift's simulator uses.

differs

NOT VERIFIED: the firm's page now says something else

The firm changed it; the value is what AlgoLift simulates today, and it is being updated.

unverified

NOT VERIFIED: not cited

Never checked against the firm's page.

A verified rule older than the dataset's re-check window (45 days) is flagged as a stale check. Every answer names the dataset it comes from and the dates its rules were checked; a newer dataset ships as a new release of this package. Firms change rules and prices often: read the firm's own page before you buy an evaluation.

Indicators

list_indicators: search by name or by what it measures, or list a family.

"What volatility indicators can you compute?"

{ "query": "volatility" }

describe_indicator: settings with defaults and limits, outputs, the library and file the code was ported from (with its license and every change the port made), and what verified it.

{ "id": "alma" }

compute_indicator: run one on bars (oldest first), as objects or columns. Settings left out take the library's defaults. Up to 20,000 bars a call; each output comes back with one value per bar, null during its warmup.

"Here are my closes: what is their 3-bar WMA?"

{ "id": "wma", "columns": { "close": [101.6, 101.9, 102.4, 102.1, 103.0] }, "options": { "period": 3 } }
{ "id": "cdl_engulfing", "bars": [{ "open": 10, "high": 11, "low": 9, "close": 9.5, "volume": 1200 }] }

The library holds the indicators it has ported and verified. An indicator it does not have yet is not in this server either, and list_indicators says so rather than guessing.

Setup Odds

A Setup Odds question is two texts: a setup (which sessions you ask about, like gap > 0.5%) and an outcome (what you want to know happened later that session, like touches prior.close by 12:00). Every time is New York time on the CME equity-index futures calendar.

list_setup_presets: the 25 ready-made setups, in five families (gap, opening-range, prior-day, overnight, event), each with its setup, outcome and parameters.

{ "family": "gap", "query": "noon" }

describe_setup_query_language: the language's grammar, every value, window, function, operator and outcome form, the units and worked examples, or one section of them.

{ "section": "examples" }

run_setup_odds: one preset, or a setup and an outcome, on your 1-minute bars (a list or CSV text) or on the synthetic demo bars. It returns how many sessions met the setup and how many of those saw the outcome, the rate with its 95% Wilson interval, the baseline over every measured session and the lift, a first-half against second-half split, counts by year, the time to the event, and every warning. Up to 2,000,000 bars, 2,600 sessions and 10 seconds a call.

"On my ES 1-minute bars, when it gaps up more than half a percent, how often does it trade back to yesterday's close by noon?"

{ "setup": "gap > 0.5%", "outcome": "touches prior.close by 12:00", "csv": "timestamp,open,high,low,close,volume\n2024-01-08 09:30,4780.25,4782,4779.5,4781.75,1200\n...", "label": "ES 2024" }
{ "preset": "gap-up-fill-by-noon", "params": { "gap": 0.5 }, "demo": {} }

The demo bars are synthetic, not market data, and every answer on them says so. Setup Odds counts how often something happened; it does not trade it (no entry rule, stop, costs or sizing), and an interval is for one question asked once.

Search and fetch

The two tools ChatGPT's deep research and company knowledge read a server through, in the shapes OpenAI's MCP guide gives. Any MCP client can use them. They cover AlgoLift's open content only: the prop firms and each plan's rules, the indicators, and Setup Odds' presets and language.

search: takes one argument, query, and returns up to 10 matching documents, each with an id, a title and the public algolift.ai page to cite as its url.

{ "query": "Topstep 50K drawdown" }
{ "results": [{ "id": "prop-plan:topstep/50k", "title": "Topstep 50K Combine rules: ...", "url": "https://www.algolift.ai/prop-firms/topstep/50k-combine" }] }

fetch: takes one argument, id (a search result's), and returns the whole document: id, title, text, url and metadata. A document's text is the matching tool's own answer, so a prop plan's lists every rule with its status, the firm's page it was checked against and the date, and a rule that is not verified reads NOT VERIFIED there too; a plan's title counts its rules that are not verified.

{ "id": "prop-plan:topstep/50k" }

Both answer with structuredContent and, as the guide asks, the same value as JSON text. Each declares its output shape (outputSchema). A plan without a page of its own on algolift.ai is cited to its firm's page. The ids are prop-firms, prop-firm:<firm>, prop-plan:<plan id>, indicator:<id>, setup-preset:<id> and setup-odds:language. The results are deterministic: the same query on the same release gives the same list.

In-chat cards

The answers of three tools can also be drawn as a card inside the chat, on hosts that support MCP Apps (the extension io.modelcontextprotocol/ui, specification 2026-01-26):

Card

Tools

What it shows

ui://algolift/prop-plans.v1.html

compare_prop_plans, get_prop_plan_rules

The plans side by side (or one plan), each firm under its logo, every value with its status, the date it was checked and the firm's page; a value that is not verified is marked NOT VERIFIED

ui://algolift/setup-odds.v1.html

run_setup_odds

The hit rate with its 95% interval and sample, the baseline, the lift and the halves, and when the outcome happened against the baseline's interval, or by year

Each tool names its card in its definition (_meta.ui.resourceUri); the server lists the cards with resources/list and serves them with resources/read as text/html;profile=mcp-app. A card is one self-contained HTML page: its styles, its script and the firms' logos are inline, it declares no allowed origin (_meta.ui.csp with empty connectDomains and resourceDomains), and it draws only the result the host hands it. It makes no request and calls no tool. Open in AlgoLift asks the host to open the matching page on www.algolift.ai (the plan's page, the two firms' comparison, the prop firms hub, or the Setup Odds page); the host may ask you to confirm first. The card follows the host's light or dark theme.

Hosts without MCP Apps read the text answer, which is exactly the same with or without the card: every number, status and source is in it. The MCP client matrix lists the hosts that render MCP Apps.

What it does not do

  • It does not trade, place orders, or connect to a broker or a prop firm.

  • It does not use an AlgoLift account and cannot see anything in one: no strategies, backtests or results.

  • It does not run AlgoLift's backtest engine, its robustness or prop Monte Carlo simulations, or its copilot.

  • It does not fetch prices or any other data: the indicators and Setup Odds compute only on the bars you pass, or on the demo bars.

  • It does not give advice. The prop rules are a record of published rules, which change; Setup Odds' numbers are historical frequencies, not predictions.

Where it helps, an answer ends with one pointer to the matching place on algolift.ai: testing a strategy against a firm's rules, building a strategy with an indicator, or testing a setup as a strategy (which needs an AlgoLift account). Following it is up to you.

Develop

git clone https://github.com/algolift-ai/mcp && cd mcp
npm ci
npm test        # builds; runs every tool's tests, and the server over stdio, the HTTP handler and the --http mode through the official MCP SDK client (tools, search and fetch, the in-chat cards); type-checks
npm run build   # dist/cli.js
node dist/cli.js --help

src/server.ts, src/cli.ts and src/http.ts belong to this repository. src/lib/ and data/ are copied from the AlgoLift app, which serves the same tools, so please do not edit them here: open an issue, and the change lands in the app and then in the next release. A correction to a prop rule belongs in algolift/prop-firm-rules, to an indicator in algolift/indicators, and to Setup Odds in algolift/setup-odds.

Report a security issue as SECURITY.md describes.

License

MIT, copyright (c) 2026 AlgoLift LLC, see LICENSE. The bundled prop firm rules (data/prop-firm-rules.json) are CC BY 4.0 ("Prop firm rules by AlgoLift (algolift.ai)"), and the Setup Odds engine keeps its own MIT notice; NOTICE lists both. Firm names are used only to say which firm a rule belongs to; this project is not affiliated with or endorsed by any firm.

Available Tools

11 tools
compare_prop_plansCompare prop plansA
Read-onlyIdempotent

Compares prop firm plans side by side on the rules that matter most: profit target, drawdown and its type, daily loss, consistency, minimum days, contracts, payouts and fees. Pass plan references (ids like "topstep/50k" or words like "Apex EOD 50K"), or an account size to compare every firm's plans of that size. Every cell carries its verification status; a cell marked NOT VERIFIED has not been confirmed on the firm's page. Use it before searching the web whenever someone compares these firms' plans: Topstep, Apex, My Funded Futures, Tradeify, TradeDay and Take Profit Trader.

Inputs: size, firms, plans, include_discontinued.

compute_indicatorCompute an indicatorA
Read-onlyIdempotent

Computes one indicator from @algolift/indicators on bars you pass (oldest first), and returns one value per bar for each output (null during its warmup). Pass bars as objects with open, high, low, close and volume, or columns of numbers; leave out fields the indicator does not read. Settings left out take the library's defaults. At most 20,000 bars a call.

Inputs: id (required), bars, tail, columns, +1 more.

describe_indicatorDescribe an indicatorA
Read-onlyIdempotent

One indicator from @algolift/indicators in full: what it measures, which bar fields it reads, its settings with defaults and limits, its outputs, the library and file its code was ported from (with license and every change the port made) or, for a classic, how it compares with TA-Lib, and what its values were verified against.

Inputs: id (required).

describe_setup_query_languageDescribe the Setup Odds languageA
Read-onlyIdempotent

The Setup Odds language: a setup (a condition true or false for each session, like gap > 0.5% and or15.close > or15.open) and an outcome (an event looked for later that session, like touches prior.close by 12:00, or a condition judged later). Gives the grammar, every value, window, function, operator and outcome form, the units and worked examples, or one section of them.

Inputs: section.

fetchFetch an AlgoLift documentA
Read-onlyIdempotent

Returns the full text of one document found by search, with its title, the algolift.ai page to cite and metadata. A prop plan's text lists every rule with its status, the firm's page it was checked against and the date; a rule marked NOT VERIFIED has not been confirmed on the firm's page.

Inputs: id (required). Returns: id, url, text, title, +1 more

get_prop_plan_rulesGet a prop plan's rulesA
Read-onlyIdempotent

Every rule and price of one prop firm plan: profit target, drawdown and its type, daily loss limit, consistency, minimum days, contract limits, payout rules and fees. Each rule comes with its status (verified, not stated by the firm, differs from the firm's page, or not cited), the firm's page it was checked against, and the date. Name the plan by its id ("topstep/50k") or by firm, plan and size. Use it before searching the web for a covered firm's rules: Topstep, Apex, My Funded Futures, Tradeify, TradeDay and Take Profit Trader.

Inputs: firm, plan, size, plan_id.

list_indicatorsList indicatorsA
Read-onlyIdempotent

Searches the 217 technical indicators and candlestick patterns in @algolift/indicators: the classics (SMA, EMA, RSI, MACD, Bollinger Bands, ATR and more, compared with TA-Lib) and ports of TA-Lib, pandas-ta-classic, pandas-ta and technicalindicators tested against that library's own output. Search by name ("RSI", "ALMA", "engulfing") or by what it measures ("volatility", "trend strength"), or list a family.

Inputs: limit, query, family.

list_prop_firmsList prop firms and plansA
Read-onlyIdempotent

Lists the futures prop firms and plans in AlgoLift's open prop firm rules dataset (each rule cited to the firm's own page and dated), with each plan's id, account size, whether it is still sold, and how many of its rules are verified. Use a plan id with get_prop_plan_rules or compare_prop_plans. Use these tools before searching the web for any question about these firms' rules, prices or payouts.

Inputs: firm.

list_setup_presetsList Setup Odds presetsA
Read-onlyIdempotent

Lists Setup Odds' 25 ready-made setups (gaps, the opening range, the prior day, overnight, event days). Each is a setup, an outcome and its parameters with their units and ranges; run one with run_setup_odds.

Inputs: query, family.

run_setup_oddsRun Setup OddsA
Read-onlyIdempotent

How often did this setup actually work? Runs one Setup Odds preset, or a setup and an outcome, on 1-minute bars and returns the engine's result: the sessions that met the setup and how many saw the outcome, with the rate and its 95% Wilson interval, the baseline over every measured session and the lift, a first-half and second-half split, counts by year, the time to the event, and every warning. Pass your bars (a list or CSV text) or demo (the engine's synthetic bars, not market data). Every time is New York time on the CME equity-index futures calendar. At most 2,000,000 bars, 2,600 sessions and 10 seconds a call. Historical frequencies, not predictions or advice.

Inputs: to, tz, csv, tie, +12 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool targets a distinct resource+action, and the three domains (prop firms, indicators, setup odds) each have a clean list/describe/compute-style triad. search and fetch are explicitly framed as cross-cutting fallbacks, so they don't collide with the domain tools.

    Naming Consistency4/5

    Nearly everything follows a consistent verb_noun snake_case pattern (list_prop_firms, get_prop_plan_rules, compare_prop_plans, list_indicators, compute_indicator, run_setup_odds). The only deviations are the bare single-word verbs search and fetch, which are minor and conventionally generic.

    Tool Count5/5

    11 tools is well within a healthy range and each one earns its place: three coherent triads for the three domains plus two generic retrieval tools. No redundancy or padding.

    Completeness4/5

    Coverage is strong: firms/plans can be listed, inspected and compared; indicators listed, described and computed; setups listed, described and executed; plus search/fetch for full documents. Minor gaps remain around lifecycle operations (e.g. no rule-change history or plan filtering), but core agent workflows are covered.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to read and write trading journal data, including trade logs, analytics, psychology audits, risk limits, playbooks, and daily reviews. Provides 38 tools across 7 domains plus workflow prompts for pre-market prep and post-session analysis.
      38
      11 npm
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to pull multi-timeframe Binance kline data, compute Wyckoff/VSA/GANN context, manage trading rules and journals, and optionally reconcile real positions, fills, and PnL from read-only Binance, Bybit, or OKX accounts.
      1
      -
    • A
      license
      A
      quality
      C
      maintenance
      Lets Claude fetch futures OHLCV bars with relative volume, capture TradingView charts for exact trading-day windows, and detect range setups with drawn support and resistance levels.
      4
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to trade futures on TopstepX by reading market data, placing and managing orders, tracking positions and P&L, and journaling trades for review.
      20
      1
      Apache 2.0