FinanceMarker MCP Server

FinanceMarker MCP Server

MCP server for integrating FinanceMarker.ru with LLM agents, IDEs, n8n, and other MCP-compatible clients. It proxies the FinanceMarker REST API and exposes it as a set of MCP tools.

Category
Visit Server

README

FinanceMarker MCP Server

CI & Release npm node downloads license

MCP‑сервер для интеграции FinanceMarker.ru с LLM‑агентами, IDE (MCP), n8n и другими MCP‑совместимыми клиентами. Сервер проксирует REST API FinanceMarker и предоставляет его как набор MCP tools.

Возможности

  • Полное покрытие API по спецификации FinanceMarkerAPI.json
  • Кэширование ответов на 24 часа (SQLite через @keyv/sqlite)
  • Стабильные ключи кэша (метод+путь+параметры), исключение из кэша /fm/v2/token_info
  • Русскоязычные описания параметров tools (zod.describe())

Требования

  • Node.js 18+
  • Токен FinanceMarker (FINANCEMARKER_API_TOKEN)

Быстрый старт (npx)

npx --package=@ru-financial-tools/financemarker-mcp financemarker-mcp

Настройка в Cursor (рекомендуется «сырые» значения)

Переменные окружения в mcp.json лучше указывать «сырыми» значениями, без подстановок ${VAR}.

{
  "mcpServers": {
    "financemarker-mcp": {
      "command": "npx",
      "args": ["-y", "--package=@ru-financial-tools/financemarker-mcp", "financemarker-mcp"],
      "env": {
        "FINANCEMARKER_API_TOKEN": "<ваш_токен>",
        "FINANCEMARKER_BASE_URL": "https://financemarker.ru/api",
        "FINANCEMARKER_LOG_LEVEL": "info",
        "FINANCEMARKER_CACHE_TTL_MS": "86400000"
      }
    }
  }
}

Альтернатива: локальная разработка

Если запускаете сервер локально из исходников:

{
  "mcpServers": {
    "financemarker-mcp": {
      "command": "node",
      "args": ["dist/cli.js"],
      "env": {
        "FINANCEMARKER_API_TOKEN": "<ваш_токен>",
        "FINANCEMARKER_BASE_URL": "https://financemarker.ru/api",
        "FINANCEMARKER_LOG_LEVEL": "debug",
        "FINANCEMARKER_CACHE_TTL_MS": "86400000"
      }
    }
  }
}

Переменные окружения

  • FINANCEMARKER_API_TOKEN — токен доступа (обязательно)
  • FINANCEMARKER_BASE_URL — опционально, базовый URL API
  • FINANCEMARKER_CACHE_TTL_MS — опционально, TTL кэша по умолчанию

Скрипты

npm run build       # сборка (tsup)
npm run typecheck   # проверка типов (tsc)
npm test            # тесты (vitest)

или через Makefile:

make ci   # install+typecheck+test+build

Мэппинг API → MCP tools

Поддерживаются инструменты для: token_info, exchanges, calendar, disclosure, dividends, experts, ideas, ideas/{id}, insider_transactions, operation_metrics, stocks, stocks/{exchange}:{code}. Все входные параметры описаны через zod.

Безопасность

Токен FINANCEMARKER_API_TOKEN храните в приватных секретах CI/CD и не коммитьте в репозиторий.

Лицензия

MIT — см. файл LICENSE.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured