moex-mcp CLAUDE.md

moex-mcp CLAUDE.md is an instructions file for coding agents from cyberash-dev/moex-mcp. It costs 749 tokens per session, scanned A, original, MIT.

Project instructions for a TypeScript server that connects to the Moscow Exchange's ISS API, a service providing market data. They describe the project's architecture, conventions, validation, pagination, formatting, and build process.

In plain words
What is it for?
Use them when developing tools for prices, historical data, indices, currency rates, dividends, or other data exposed by the Moscow Exchange server.
Why use it?
They give contributors the rules needed to add or change one of the server's 20 market-data tools without breaking its structure.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/cyberash-dev/moex-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/cyberash-dev/moex-mcp

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for moex-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cyberash-dev/moex-mcp/claude-md.svg)](https://agentmods.dev/instructions/cyberash-dev/moex-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cyberash-dev/moex-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/cyberash-dev/moex-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 749 This file is loaded in full into every session.
When invoked 749 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00749 $0.00749
Opus 5 $0.00375 $0.00375
Sonnet 5 $0.00150 $0.00150
Haiku 4.5 $0.00075 $0.00075

Measured 3d ago against content hash c03763ec0cb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

moex-mcp CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl "https://iss.moex.com/iss/securities.json?q=SBER&iss.meta=off&iss.json=extended"
CLAUDE.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Project Overview

MCP server for the Moscow Exchange (MOEX) ISS API, built in TypeScript. Exposes 20 tools for querying market data, history, indices, currency rates, dividends, and more.

Architecture

Vertical Slice + Hexagonal (Ports & Adapters)

  • src/shared/ports/iss-client.port.ts — Port interface for the ISS HTTP client
  • src/shared/adapters/iss-client.adapter.ts — Adapter: fetch-based implementation
  • src/shared/pagination.ts — Auto-pagination using cursor blocks (INDEX/TOTAL/PAGESIZE)
  • src/shared/formatter.ts — Markdown table/key-value formatters for LLM output
  • src/features/<tool-name>/ — Each tool is a self-contained vertical slice:
    • schema.ts — Zod schema for input validation
    • query.ts — Business logic, depends only on IssClientPort (port)
    • handler.ts — MCP tool handler, wires schema + query + formatter
  • src/server.ts — Registers all 20 tool handlers on the MCP server
  • src/index.ts — Composition root: creates the adapter, injects into server, starts stdio transport

Key Conventions

  • Dependencies flow inward: query.ts depends on the port interface, never on the adapter
  • One slice = one tool: adding/removing a tool only touches its own feature directory and server.ts registration
  • Defaults: engine="stock", market="shares" for the most common use case (Russian equities)
  • Response format: All tools return markdown-formatted text for LLM readability
  • No external HTTP library: Uses Node.js built-in fetch
  • ISS API params: Every request appends iss.meta=off&iss.json=extended by default

Build & Run

npm install
npm run build    # tsc → dist/
npm run dev      # tsx src/index.ts (development)
npm start        # node dist/index.js (production)

ISS API Response Structure

The MOEX ISS API with iss.json=extended returns:

[
  { "charsetinfo": { "name": "utf-8" } },
  { "blockName": [ { ...row }, ... ], "block.cursor": [ { INDEX, TOTAL, PAGESIZE } ] }
]

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 69 lines · 749 tokens per session scan A c03763ec0cb5

Subscribe to this mod's changes

moex-mcp CLAUDE.md is an instructions file published in the GitHub repository cyberash-dev/moex-mcp (0 stars, last pushed 4mo ago), licensed MIT. It adds 749 tokens to every session, about $0.0037 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

Convertible-Bond-Pricing-Research CLAUDE.md

Instructions for ericxuzhesheng/Convertible-Bond-Pricing-Research, covering claude.md — convertible bond pricing research, current published state and routine commands.

ericxuzhesheng/Convertible-Bond-Pricing-Research · 363 tokens

swiss-snb-mcp CLAUDE.md

Claude Code instructions for malkreide/swiss-snb-mcp, covering claude.md, teil 1 — konventionen (portfolio-weit), vor der arbeit, tests and wenn etwas rot ist.

malkreide/swiss-snb-mcp · 7,293 tokens

bullet-bots AGENTS.md

Instructions for bulletxyz/bullet-bots, covering bullet-bots, build & test, run the faucet curl printed by keygen, then, or (base58 from phantom/delegation export, or hex) and architecture — the harness, feeds, and actors.

bulletxyz/bullet-bots · 3,972 tokens

romaco-mcp AGENTS.md

AGENTS.md instructions for romaco-labs/romaco-mcp, covering purpose, read first, product boundaries, architecture invariants and development method.

romaco-labs/romaco-mcp · 679 tokens

financial-services-plugins-new CLAUDE.md

Claude Code instructions for yuping322/financial-services-plugins-new, covering financial services plugins, repository structure, plugin structure, key files and development workflow.

yuping322/financial-services-plugins-new · 286 tokens

zenmoney-mcp CLAUDE.md

Claude Code instructions for sakost/zenmoney-mcp, covering zenmoney mcp server — development guidelines, project overview, build & test, architecture and coding standards.

sakost/zenmoney-mcp · 383 tokens