open-market-terminal MCP server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
open-market-terminal
A self-hosted market data terminal. It gives one REST API and one MCP server over many data providers. It covers futures, forex, metals, crypto, macro data, positioning and fundamentals. It is a data tool. It does not tell you what to trade.
Risk notice
This software is not financial advice. It is not an offer to buy or sell any instrument. Trading carries a risk of loss. You are responsible for your own decisions.
Execution is disarmed by default. This release holds no order execution code, so nothing here can place an order. The price streams and data calls only read data.
Data can be late, wrong or missing. The app marks a feature that has no data as "missing". It never shows a missing value as zero. Check a price at your broker before you act on it.
Related MCP server: polygon-mcp
What is in this release
The app mounts 11 routers. Each route is listed with its method.
api_tokens: list, create and revoke your API tokens (GET /api-tokens,POST /api-tokens,DELETE /api-tokens/{prefix}).chart: the tracked symbols that have a chart symbol (GET /chart/symbols).cot: Commitments of Traders search and positioning (GET /cot/search,GET /cot/positioning).crypto_stream: status and switch of the crypto price stream (GET /crypto/stream/status,POST /crypto/stream/toggle).data: the catalog of stored bars, and removal of stored bars (GET /data/catalog,DELETE /data/bad-bars,DELETE /data/{symbol},DELETE /data/{symbol}/{interval}). This router gives no price bars.history: the recorded snapshot series, a legacy read (GET /history).macro: the macro dashboard and event calendar (GET /macro/dashboard,GET /macro/calendar).oanda_candles: forex candles from OANDA (GET /oanda/candles). It needsOANDA_API_TOKEN. Without it, the route gives no candles.oanda_stream: the OANDA forex price stream (GET /oanda/stream/status,GET /oanda/stream/latest,GET /oanda/stream/bars,POST /oanda/stream/toggle). It needsOANDA_API_TOKENandOANDA_ACCOUNT_ID. Without them, the stream gives no price.GET /oanda/stream/barsreturns the stored verified 1-minute bars of one symbol, plus the forming bar. It takessymbol,from_sandto_s, and the range is at most 7 days.stream: the Twelve Data price stream (GET /stream/status,GET /stream/latest,POST /stream/toggle,PUT /stream/symbols).tickstream_feed: the TickStream futures feed, stored bars and backfill (GET /tickstream/feed/status,GET /tickstream/feed/bars,POST /tickstream/feed/backfill,GET /tickstream/feed/backfill). It needsTICKSTREAM_API_KEY. The shared feed starts only whenTICKSTREAM_FEED_ROOTSis set.
Price bars come from three routes. Use GET /oanda/candles for forex candles, GET /oanda/stream/bars for the stored forex minute bars, and GET /tickstream/feed/bars for futures.
The MCP server has 12 tools: cot_positioning, cot_search, data_catalog, fundamentals,
instruments_add, instruments_list, instruments_remove, instruments_search,
macro_dashboard, market_news, session_clock and spot_metals.
This release has no web dashboard build. The root page answers 503 and the API still works.
Install
You need Python 3.12.
Clone the repository and open its folder.
Make a virtual environment:
python -m venv .venv.Activate it. On Windows run
.venv\Scripts\activate. On Linux and macOS runsource .venv/bin/activate.Install the pinned packages:
pip install --require-hashes -r requirements.lock.
You can also build the Docker image from the Dockerfile. It listens on PORT, and the default is 8000.
Quick start
The app starts with no keys. Each feature without a key shows "missing".
Copy
.env.exampleto.env. The example setsALLOW_KEYLESS=true, which is right for localhost only.Start the app:
uvicorn app.main:app --port 8000.Check it:
curl http://127.0.0.1:8000/health. The answer is HTTP 200 with"status":"ok".Read
providers_configuredin that answer. Each provider showsfalseuntil you add its key.Add a key to
.envand restart the app. The provider then showstrue.
To run the MCP server, use python mcp_server.py for stdio or python mcp_server.py --http for HTTP.
Never expose the app to a network with ALLOW_KEYLESS=true. Set AUTH_TOKEN and ADMIN_PASSWORD first.
Data sources
Each key, its plan and how to replace a provider are in docs/DATA-SOURCES.md.
Contributing and security
Read CONTRIBUTING.md before you open a pull request.
Report a security problem as SECURITY.md describes.
Everyone who takes part follows the code of conduct.
Licence
Copyright 2026 Jalil Sedna. This project uses the Apache-2.0 licence. See LICENSE and NOTICE. The licences of the dependencies are in THIRD-PARTY-LICENSES.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Derived prediction-market flow, price changes, trader research and news. 11 read-only tools.
Gold, silver and copper spot, 31 currencies, per-country dealer prices and nine MCP tools.
Live macro calendar, breaking news, news tone, COT and market regime as read-only tools for AI.
1Live market data, financial analysis, and portfolio research tools across 10,000+ tickers.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables quantitative trading analysis with 12 tools for real-time market data, 28+ technical indicators, FinBERT-powered news sentiment analysis, and automated trading signal generation for stocks and forex.1-
- AlicenseCqualityDmaintenanceEnables querying real-time and historical financial market data for stocks, options, forex, and crypto, including quotes, trades, technical indicators, and reference data through a set of MCP tools.713MIT
- AlicenseNot gradedqualityDmaintenanceEnables access to financial market data including EOD, intraday, fundamentals, news, and more via 75 read-only MCP tools.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables enterprise-grade OneTick tick data analytics with 18 tools for market data retrieval, metadata discovery, and analytics computations across 200+ global exchanges.MIT