WhatsMyBudgetMCP
БесплатноНе проверенMCP server for the WhatsMyBudget Analytics API, providing tools to query budget periods, categories, accounts, and summaries.
Описание
MCP server for the WhatsMyBudget Analytics API, providing tools to query budget periods, categories, accounts, and summaries.
README
TypeScript MCP server for the WhatsMyBudget Analytics API (/api/analytics) built with FastMCP.
What changed
- MCP infrastructure migrated to
fastmcp - Existing API integration/business logic preserved
- Tool names, descriptions, and response payload shapes preserved
- Tool registration split into modular files for easier future additions
Requirements
- Node.js 20+
- npm
Environment variables
Copy .env.example to .env and set values:
WMB_API_BASE_URL(example:https://api.example.com)WMB_BEARER_TOKEN(optional; sent only when set)WMB_TIMEOUT_MS(optional, default15000)WMB_TRANSPORT(optional:stdioorhttpStream; default auto-detect)PORT(optional; when set, server defaults tohttpStreamon this port)WMB_HTTP_HOST(optional; default0.0.0.0forhttpStream)
Project structure
src/
index.ts
server.ts
config.ts
schemas/
analytics.ts
services/
apiClient.ts
auth.ts
tools/
index.ts
registerApiTool.ts
analytics/
registerMetadataTools.ts
registerPeriodTools.ts
registerRangeTools.ts
registerSummaryTools.ts
health/
registerHealthTool.ts
Local setup (development)
- Clone and enter the project.
- Create your local env file.
- Install dependencies.
- Build and run tests.
- Run the MCP server over stdio.
cp .env.example .env
npm install
npm run build
npm test
npm run dev
Optional smoke check (calls GET /api/analytics/periods):
npm run smoke
Production runtime command (compiled):
npm run build
npm start
Exposed MCP tools
analytics_healthanalytics_periods_listanalytics_categories_distinct_globalanalytics_period_overviewanalytics_period_categoriesanalytics_period_categories_distinctanalytics_period_categories_topanalytics_period_accountsanalytics_period_payment_methodsanalytics_period_criticalityanalytics_period_dailyanalytics_period_duplicatesanalytics_period_uncategorizedanalytics_period_outliersanalytics_range_overviewanalytics_range_categoriesanalytics_range_categories_topanalytics_range_accountsanalytics_range_payment_methodsanalytics_range_criticalityanalytics_range_dailyanalytics_range_duplicatesanalytics_range_uncategorizedanalytics_range_outliersanalytics_summary_by_periodanalytics_summaries_range
Production setup on DigitalOcean
This server supports both MCP stdio and httpStream transports.
- If
PORTis set at runtime, it startshttpStreamon0.0.0.0:$PORT. - Otherwise it defaults to
stdiofor local process-based MCP clients.
Option A: DigitalOcean Droplet (recommended for stdio)
Use this when your agent runs on the same Droplet and launches this MCP server as a local process.
- Provision an Ubuntu Droplet.
- Install Node.js 20+ and npm.
- Clone the repo and configure env vars.
- Build and run as a long-lived process.
Example commands after SSH:
git clone <your-repo-url>
cd WhatsMyBudgetMCP
cp .env.example .env
npm install
npm run build
npm start
For process supervision in production, use a service manager like systemd or PM2.
Option B: Docker on Droplet
If your agent can execute Docker commands locally on the host, run the MCP server in a container.
docker build -t whatsmybudget-mcp:latest .
docker run --rm \
-e WMB_API_BASE_URL="https://api.example.com" \
-e WMB_TIMEOUT_MS="15000" \
whatsmybudget-mcp:latest
If your backend enforces auth, include -e WMB_BEARER_TOKEN="your-token".
App Platform note
DigitalOcean App Platform can run this server when PORT is injected by the platform (default behavior). The server will bind to 0.0.0.0:$PORT and expose MCP at /mcp with health at /health.
Установка WhatsMyBudgetMCP
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/joshuarreid/WhatsMyBudgetMCPFAQ
WhatsMyBudgetMCP MCP бесплатный?
Да, WhatsMyBudgetMCP MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для WhatsMyBudgetMCP?
Нет, WhatsMyBudgetMCP работает без API-ключей и переменных окружения.
WhatsMyBudgetMCP — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить WhatsMyBudgetMCP в Claude Desktop, Claude Code или Cursor?
Открой WhatsMyBudgetMCP на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare WhatsMyBudgetMCP with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
