
akutishevsky/monobank-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP server for integrating with Monobank API.
概要
MCP (Model Context Protocol) server for integrating with Monobank API. Download the latest .mcpb bundle from the Releases page and open it — Claude Desktop or Claude Code will handle the rest. You'll be prompted to enter your Monobank API token during installation. - Node.js 18.0.0 or higher - A Monobank API token. You can obtain it at: https://api.monobank.ua/ Your API token is only used locally and is never tracked or transmitted anywhere except to Monobank's API. 1. - Get currency exchange rates. Public endpoint; works without an API token. 2. - Get client information, accounts and jars. Requires a token. 3. - Get the statement for an account or jar over a date range. Requires a token. Maximum range is 31 days + 1 hour. - A balance of 100,000.00 UAH is reported as 100000, not 10000000. This applies to every monetary field in both get_client_info and get_statement, including commissionRate, which Monobank returns as an absolute amount despite its name.
README
以下は原文 README の抜粋です。原文を見る。
Monobank MCP Server
MCP (Model Context Protocol) server for integrating with Monobank API.
Quick Install
Download the latest .mcpb bundle from the Releases page and open it — Claude Desktop or Claude Code will handle the rest. You’ll be prompted to enter your Monobank API token during installation.
Prerequisites
- Node.js 18.0.0 or higher
- A Monobank API token. You can obtain it at: https://api.monobank.ua/
Note: Your API token is only used locally and is never tracked or transmitted anywhere except to Monobank’s API.
Available Tools
The server provides three tools:
- get_currency_rates - Get currency exchange rates. Public endpoint; works without an API token.
- get_client_info - Get client information, accounts and jars. Requires a token.
- get_statement - Get the statement for an account or jar over a date range. Requires a token. Maximum range is 31 days + 1 hour.
Behaviour worth knowing
- Amounts are returned in currency units, not cents. A balance of 100,000.00 UAH is reported as
100000, not10000000. This applies to every monetary field in bothget_client_infoandget_statement, includingcommissionRate, which Monobank returns as an absolute amount despite its name. - Responses are cached in memory so that Monobank’s rate limits are not exceeded: 5 minutes for currency rates, 60 seconds for client info and for each distinct statement query. A repeated call inside that window returns the cached result instead of failing with
HTTP 429. - Statement dates are ISO 8601
YYYY-MM-DD, interpreted as UTC. Thetodate is inclusive — a statement from2024-10-01to2024-10-31covers all of October 31. Omittoto mean “up to now”. - The statement
accountparameter defaults to0, the client’s default account. Account and jar identifiers returned byget_client_infoare also accepted. MONOBANK_API_TOKENis only needed forget_client_infoandget_statement. The server starts without it andget_currency_rateskeeps working; the two authenticated tools return an error explaining that the variable is unset.
MCP Configuration
To use this server with an MCP client, add it to your configuration:
{
"mcpServers": {
"monobank": {
"command": "npx",
"args": ["monobank-mcp-server"],
"env": {
"MONOBANK_API_TOKEN": "your_token_here"
}
}
}
}
Example Prompts
English
- “Show me the current USD to UAH exchange rate”
- “Get my account balance and recent transactions”
- “Show me all transactions from the last week”
- “What did I spend money on yesterday?”
- “Show my statement for October 2024”
- “Get all my credit card transactions from the last 3 days”
Українською
- “Покажи поточний курс долара”
- “Скільки грошей на моїх рахунках?”
- “Покажи виписку за вчора”
- “На що я витратив гроші цього тижня?”
インストール
npx monobank-mcp-server設定
{
"mcpServers": {
"monobank": {
"command": "npx",
"args": ["monobank-mcp-server"],
"env": {
"MONOBANK_API_TOKEN": "your_token_here"
}
}
}
}