MOEX and T-Bank Invest market data MCP
market-mcp
A read-only MOEX ISS and T-Bank Invest market data MCP server: quotes, candles, a screener, and optional portfolio access
- 0 ★ on the repository
- Last commit
- MIT
Broad access
Why this level
- The T-Invest token gives access to a real brokerage account, and a leak exposes the owner's data
- With ENABLE_PORTFOLIO on, the server reads real portfolio and account operations, even though there are no write methods in the code
Install
- Works in
- Services
Manual install
uv sync && copy .env.example .envInstalls dependencies and prepares .env; TINVEST_TOKEN is optional.
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- The T-Invest token gives access to a real brokerage account, and a leak exposes the owner's data
- With ENABLE_PORTFOLIO on, the server reads real portfolio and account operations, even though there are no write methods in the code
This is third-party code. Review the repository files before installing.
What it does
A Python server provides 9 tools and picks the data source itself: without a token, quotes, candles, a screener, indices and coupons work through MOEX ISS with a 15-minute delay; with a T-Bank Invest token, real-time quotes, order book, dividends are added, and, if ENABLE_PORTFOLIO is explicitly set, account portfolio and operations too. Every response follows one contract with a source field, a stale flag for non-live data, and an explicit delay figure. The token is read-only, never appears in logs or responses, and account numbers are masked. A local SQLite cache has its own TTL per data type: the instrument directory for a day, closed-day candles indefinitely, quotes for 15 seconds.
Who it is for. For private investors and developers who want MOEX quotes and portfolio data in one format with no risk of an accidental trade.
Good fit when
- You need MOEX quotes and candles with no token, even with a 15-minute delay
- You need a screener for securities filtered by trading mode
- You need T-Bank Invest portfolio and operations alongside market data, by explicitly enabling ENABLE_PORTFOLIO
Not a fit when
- You need trading or order cancellation: there are no order-placement methods in the code at all
- You need market data with no Windows-specific instructions: the README and path examples target Windows, though the stack is cross-platform
- You need indicators, backtesting or technical analysis: the server only returns raw data
Example request
Show Sberbank's quote and this week's candles, and if the portfolio is available, compare its return with the MOEX indexMCP
- Transport
- stdio
- Authentication
- key is optional
Environment variables
TINVEST_TOKENsecret- Read-only T-Bank Invest token; without it the server uses MOEX ISS only
ENABLE_PORTFOLIO- Defaults to false; enables registering get_portfolio and get_operations
TINVEST_SANDBOX- Use the T-Bank Invest sandbox for development
Limitations
Portfolio and operations tools are not registered until ENABLE_PORTFOLIO is set to true; by default the server only sees the market. Without a token, data comes from MOEX ISS with a 15-minute delay. T-Bank Invest's TLS certificate is issued by a Russian certification authority, and a verification error on Windows requires installing the Ministry of Digital Development root certificate. The README and instructions target Windows (PowerShell, C:\ paths), though the code itself is cross-platform.
How to disable. Remove the market entry from claude_desktop_config.json and delete the .env file with the token; to disable the portfolio, just remove ENABLE_PORTFOLIO.
FAQ
Do I need a token for basic use?
No, without a token quotes, candles, a screener, indices and coupons already work through MOEX ISS, just with a 15-minute delay.
Could the server place an order?
No, there are no order-placement methods in the code at all, only reading market data and, if enabled, the portfolio.
Discussion
No questions or reviews yet.
Related
All T-Bank toolsT-Invest MCP for MOEX futures
t-invest-tinkoff-mcp
An MCP server for MOEX futures through the T-Invest API: market data, portfolio and order placement, with trading enabled by default
T-Bank Invest MCP server, read-only
T-Bank Invest MCP Server (read-only)
An MCP server for a T-Bank Invest portfolio with no trading rights: positions, operations, market data, and technical and fundamental analytics
mcp-moex (AlekseyOsikov)
mcp-moex
MCP server over the Moscow Exchange API: security search, prices, history, metrics, comparison with an index and a schedule mode, no keys needed
A read-only Python MCP server for the official Moscow Exchange ISS API: stocks, bonds, FORTS futures and dividends
Autonomous trading MCP for T-Bank Invest
Tinkoff Trader MCP
An MCP server for T-Bank Invest with market analysis, backtesting five strategies, risk management and order placement, with live trading off by default
T-Invest MCP server with account-id lock
Tinkoff Invest MCP Server
A T-Invest MCP server: portfolio, operations and market data, with a mandatory single-account lock and a sandbox mode
README in short
The README describes in detail installing via uv, behavior with and without a token, connecting to Claude Desktop and Claude Code, a table of 9 tools with their data sources, the response contract with source, stale and delay_minutes fields, error codes, cache TTL settings per data type, token security measures, and the specifics of T-Bank Invest TLS certificate verification on Windows.