MOEX MCP server with caching and retries
MOEX MCP сервер
An npm-published Moscow Exchange ISS MCP server with 10 tools, SQLite caching and resilient request retries
Low risk
We rate an entry low when it mostly gives the agent instructions and reference material.
Why this level
- Only reads ISS data, never places orders
- Does not connect to brokerage accounts
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add mcp/izevg-moex-mcpDetects the agents on your machine, checks the risk and pins the version.
Other ways to install
Run in a terminal
claude mcp add --transport stdio moex-mcp -- npx -y --package=@ru-financial-tools/moex-mcp moex-mcpOr add to the file .mcp.json, in the project
{
"mcpServers": {
"moex-mcp": {
"command": "npx",
"args": [
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the mcpServers key.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
The button opens the agent and offers to add the server. If nothing happens, copy the config below.
Add to the file ~/.cursor/mcp.json, for all projects
{
"mcpServers": {
"moex-mcp": {
"command": "npx",
"args": [
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the mcpServers key. For a single project, put the same block into .cursor/mcp.json.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
The button opens the agent and offers to add the server. If nothing happens, copy the config below.
Run in a terminal
code --add-mcp '{"name":"moex-mcp","type":"stdio","command":"npx","args":["-y","--package=@ru-financial-tools/moex-mcp","moex-mcp"]}'Or add to the file .vscode/mcp.json, in the project
{
"servers": {
"moex-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the servers key.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Run in a terminal
codex mcp add moex-mcp -- npx -y --package=@ru-financial-tools/moex-mcp moex-mcpOr add to the file ~/.codex/config.toml, for all projects
[mcp_servers.moex-mcp]
command = "npx"
args = ["-y", "--package=@ru-financial-tools/moex-mcp", "moex-mcp"]If the file already exists, append the block to the end.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file ~/.gemini/settings.json, for all projects
{
"mcpServers": {
"moex-mcp": {
"command": "npx",
"args": [
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the mcpServers key.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file ~/.config/devin/mcp_config.json, for all projects
{
"mcpServers": {
"moex-mcp": {
"command": "npx",
"args": [
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the mcpServers key. Legacy Cascade keeps the MCP config in ~/.codeium/windsurf/mcp_config.json.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Formerly Windsurf.
Add to the file cline_mcp_settings.json, for all projects
{
"mcpServers": {
"moex-mcp": {
"command": "npx",
"args": [
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the mcpServers key. Open the settings file in Cline: MCP Servers tab, Configure MCP Servers.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file .roo/mcp.json, in the project
{
"mcpServers": {
"moex-mcp": {
"command": "npx",
"args": [
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the mcpServers key.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
A fork of Roo Code, same .roo folders.
Add to the file opencode.json, in the project
{
"mcp": {
"moex-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the mcp key.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file ~/.config/zed/settings.json, for all projects
{
"context_servers": {
"moex-mcp": {
"command": "npx",
"args": [
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the context_servers key.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file .codeassistant/mcp.json, in the project
{
"mcpServers": {
"moex-mcp": {
"command": "npx",
"args": [
"-y",
"--package=@ru-financial-tools/moex-mcp",
"moex-mcp"
]
}
}
}If the file already exists, add the server inside the mcpServers key.
Keys and settings
LOG_LEVELoptionalMOEX_ISS_BASE_URLoptional
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add npx -y --package=@ru-financial-tools/moex-mcp moex-mcp to your MCP client config, optionally set LOG_LEVEL and MOEX_ISS_BASE_URL; the npm package installs automatically on first run.
Other ways from the author
npx -y --package=@ru-financial-tools/moex-mcp moex-mcpRun with no install, option 1 from the README.
This is third-party code. Review the repository files before installing.
What it does
The server is published to npm as @ru-financial-tools/moex-mcp and runs with no install via npx. Ten tools cover the key ISS API sections: engines, markets and boards reference data, security search, market data, the order book, a trade feed with recent and by_date modes, candles, trading history, indices with list, value, history and members, market and root turnovers, and a combined reference dicts lookup. The client retries up to five times with exponential backoff and jitter on 408, 429 and 5xx errors, and responses are cached via Keyv on SQLite, with the cache disableable or pointed at a custom path. Three ready prompts are included: moex_quickstart, moex_resources_help and moex_find_board.
Who it is for. For developers who want a mature MOEX MCP server with caching and retries, no build from source required.
Good fit when
- You want a one-command npx run with no repository clone
- You care about resilience to ISS load: request retries and a response cache
- You need an order book and a trade feed for a specific date, not just current quotes
Not a fit when
- You need FORTS futures or dividends: these ISS sections are not covered here
- You do not want a local SQLite cache and prefer a fully stateless server
Example request
Show the order book for GAZP and the latest trades for January 15, 2025Limitations
0 stars, a single author, no updates in over a year. No futures, bond or dividend tools; coverage is limited to core ISS sections. The default SQLite cache is a local file, and with fast-changing data it can return stale values until the TTL expires.
How to disable. Remove the moex-mcp block from your MCP client config, and optionally delete the local SQLite cache file.
MCP
- Transport
- stdio
- Authentication
- not required
| Environment variables | |
|---|---|
| MOEX_ISS_BASE_URL | ISS base URL, defaults to https://iss.moex.com/iss |
| LOG_LEVEL | Logging level: debug or info |
| MOEX_CACHE_DISABLED | Set to 1 to fully disable the Keyv-on-SQLite cache |
| MOEX_CACHE_PATH | Custom path for the SQLite cache file |
Security check
- Only reads ISS data, never places orders
- Does not connect to brokerage accounts
README in short
The Russian README lists ten tools by ISS API section, gives two install paths via npx and local npm i, a Cursor config with LOG_LEVEL and MOEX_ISS_BASE_URL variables, Keyv-on-SQLite cache settings, call examples for each tool, and client resilience details: up to five retries from 150ms to 2s with jitter on network and HTTP errors. The repository also has CONTRIBUTING.md and SECURITY.md. MIT licensed.
FAQ
Do I need to pre-install the package?
No, npx -y downloads and runs the @ru-financial-tools/moex-mcp package automatically on every start.
Can I turn off the cache?
Yes, the MOEX_CACHE_DISABLED=1 variable disables the Keyv-on-SQLite cache entirely.
Related
166 skills for scientific work: bioinformatics, cheminformatics, clinical data, geospatial analysis and 100+ databases
Google's open-source MCP server for databases: ready tools for Postgres, MySQL, BigQuery, Spanner and more, plus custom tools in tools.yaml
Official Hugging Face skills: Hub operations via the hf CLI, datasets, model training, Spaces, evals and deployment
A visualization language for agents and an MCP server: neat charts from a simple semantic spec