Skip to main content
Glama
Aler1x
by Aler1x

Monobank MCP 服务器 (Node.js/TypeScript)

Node.js/TypeScript 实现Monobank MCP Server(原版使用 Python 编写)。

Monobank MCP 服务器将您的 Monobank 个人账户(以及公开汇率)作为模型上下文协议 (MCP) 工具公开。

关于此版本

这是由 @nklymok 开发的原始 Python 实现的 Node.js/TypeScript 移植版

  • 原始 Python 版本: https://github.com/nklymok/Monobank-MCP

  • 此 TypeScript 版本: 保留了相同的核心个人账户工具,并结合了 Node.js/TypeScript 生态系统的优势,此外还增加了一个无需令牌的公开汇率工具。

Related MCP server: Monobank MCP Server

功能

  • 使用官方 @modelcontextprotocol/sdk 的 TypeScript/Node.js MCP 服务器

  • MCP 工具:

    • get_client_info – 客户身份、账户和储蓄罐(需要 MONOBANK_API_TOKEN)。

    • get_statement – 指定时间窗口内的账户对账单(需要令牌)。在调用 API 之前会验证时间段;响应使用主单位金额,交易时间使用 ISO 8601 UTC 格式。

    • get_currency_rates – 来自 Monobank 的公开货币汇率 (GET /bank/currency)。无需 API 令牌。

使用方法(已发布包)

使用此 MCP 服务器最简单的方法是通过已发布的 npm 包:

  1. 在您的 MCP 配置中注册服务器

    {
      "mcpServers": {
        "monobank-mcp": {
          "command": "npx",
          "args": ["-y", "@alerix/monobank-mcp"],
          "env": {
            "MONOBANK_API_TOKEN": "your_token_here"
          }
        }
      }
    }

    仅当您使用 get_client_infoget_statement 时才需要设置 MONOBANK_API_TOKENget_currency_rates 无需此令牌即可工作。

  2. 运行您的 MCP 客户端 – 工具将根据您的配置可用。

开发

如果您想贡献代码或修改服务器:

  1. 克隆并安装依赖项

    git clone https://github.com/aler1x/monobank-mcp.git
    cd monobank-mcp
    npm install
  2. 安装后运行服务器prepare 会执行 npm run build)。对于个人工具,请设置 MONOBANK_API_TOKEN

    Windows (PowerShell):

    $env:MONOBANK_API_TOKEN="your_token_here"
    node dist/index.js

    Windows (命令提示符):

    set MONOBANK_API_TOKEN=your_token_here
    node dist\index.js

    macOS/Linux:

    export MONOBANK_API_TOKEN=your_token_here
    node dist/index.js

    或单行命令:

    MONOBANK_API_TOKEN=your_token_here node dist/index.js
  3. 热重载开发 (使用 tsx --watch):

    MONOBANK_API_TOKEN=your_token_here npm run dev
  4. 构建 (TypeScript → dist/):

    npm run build

工具参考

工具

描述

令牌

速率限制 (Monobank)

get_client_info

获取客户资料、账户和储蓄罐列表。

1 次请求 / 60 秒

get_statement

获取账户和期间的交易记录。参数:account_id(来自 get_client_info'0' 表示默认账户)、from_timestamp(Unix 秒数)、可选的 to_timestamp(Unix 秒数;省略则表示“当前”)。从 from_timestamp 到结束(to_timestamp 或当前)的时间段必须 ≤ 31 天 + 1 小时(与 API 对齐)。金额以主单位返回;时间以 ISO 8601 UTC 格式返回。省略 idinvoiceIdcounterEdrpoucounterIban

1 次请求 / 60 秒

get_currency_rates

公开汇率(ISO 4217 数字货币代码)。与 Monobank GET /bank/currency 数据相同。

按 Monobank 公开 API 规定

API 令牌

个人工具需要 Monobank 个人 API 令牌。请参阅官方文档:https://api.monobank.ua/index.html

环境变量

名称

必需

描述

MONOBANK_API_TOKEN

仅用于 get_client_infoget_statement

您来自 https://api.monobank.ua/index.html 的个人 Monobank API 令牌。get_currency_rates 不使用此项。

许可证

MIT

A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Enables integration with Monobank API to check currency exchange rates, view account balances, and retrieve transaction statements through natural language queries.
    3
    101
    7
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Exposes Monobank personal account data through MCP tools, allowing users to fetch client info, accounts, and jars. It also enables retrieving account statements for specific time periods.
  • A
    license
    A
    quality
    A
    maintenance
    A Model Context Protocol server that enables interaction with Monobank API, providing tools for currency exchange rates, client info, and account statements.
    8
    11
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI assistants to retrieve and format Monobank account statements and transactions by date range.
    9
    4
    MIT

View all related MCP servers

Related MCP Connectors

  • Wise (https://wise.com) MCP, multi-currency account access via Personal Token + SCA key. Reads profi

  • Brazilian Open Finance MCP — 30+ banks (Itaú, Nubank, etc.) to Claude/Cursor. Read-only.

  • Log, query, and edit expenses, budgets, and accounts in Manilo from any MCP-compatible AI assistant.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aler1x/monobank-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server