Finance App
FreeNot checkedDouble-entry accounting service for personal finance with MCP tools, enabling AI agents to manage accounts, transactions, budgets, and analytics via PostgreSQL.
About
Double-entry accounting service for personal finance with MCP tools, enabling AI agents to manage accounts, transactions, budgets, and analytics via PostgreSQL.
README
Double-entry accounting service for personal finance with MCP (Model Context Protocol) tools. Provides a ledger, budgets, and analytics over PostgreSQL, exposed as an MCP server for use by AI agents and the central chat agent.
Features
- Double-entry ledger: Accounts (ASSET, LIABILITY, EQUITY, EXPENSE, REVENUE) with enforced balance invariants
- MCP tools (exposed via SSE for agent use):
- Accounts: create account, list accounts, get account balance
- Transactions: transfer between accounts, record expense, record income
- Budgets: create budget for an expense account over a date range, get available-to-spend
- Analytics: net worth, expense breakdown, cashflow
- Health endpoint for load balancers and orchestration
- Docker Compose with PostgreSQL; runs on a shared
webnetwork for Caddy and chat-agent integration
Prerequisites
- Docker and Docker Compose
- An existing Docker network named
web(e.g.docker network create web)
Quick Start
Clone and enter the repo
git clone https://github.com/youssefaltai/finance-app.git cd finance-appConfigure environment
cp .env.example .envEdit
.envand set at least:SERVICE_NAME=financeSERVICE_PORT=3000DATABASE_URL— PostgreSQL connection URL (default in code:postgresql+psycopg2://finance:finance@postgres:5432/finance)
Run with Docker
docker compose up -d --buildVerify
GET http://localhost:3000/health→{"status": "ok", "service": "finance"}- MCP SSE endpoint:
GET http://localhost:3000/mcp/sse(for agent connections)
Configuration
| Variable | Description | Default |
|---|---|---|
SERVICE_NAME |
Service name in health response | finance |
SERVICE_PORT |
Port the app listens on | 3000 |
DATABASE_URL |
PostgreSQL URL (SQLAlchemy style) | postgresql+psycopg2://finance:finance@postgres:5432/finance |
MCP_ENABLED |
Mount MCP at /mcp |
true |
OPENAI_API_KEY |
Not used by this service; optional | — |
REDIS_URL |
Not used by this service; optional | — |
Integration (Caddy + Chat Agent)
- Caddy: Add a route so the service is reachable, e.g.
handle_path /finance/* { reverse_proxy finance_app:3000 } - Chat agent: Add this service’s MCP SSE URL to
MCP_SERVER_URLS, e.g.MCP_SERVER_URLS=http://finance_app:3000/mcp/sse
Then the chat agent can use the finance tools (accounts, transactions, budgets, analytics) in conversation.
Project Structure
app/
main.py # FastAPI app: /health, MCP mounted at /mcp
config.py # Pydantic settings from .env
mcp.py # FastMCP instance, tool discovery, SSE sub-app
db/ # SQLAlchemy models and session
services/ # Ledger, finance, analytics business logic
tools/ # MCP tool wrappers (account_tools, transaction_tools, budget_tools, analytics_tools)
MCP Endpoints
- SSE (agent connects here):
GET /mcp/sse - Messages (used by MCP client):
/mcp/messages/
Validation Checklist
- GET /health returns
{"status": "ok", "service": "finance"} - MCP tools are available at
GET /mcp/sse - Double-entry invariant is enforced; balances and analytics are computed from journal entries
License
MIT
Installing Finance App
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/youssefaltai/finance-appFAQ
Is Finance App MCP free?
Yes, Finance App MCP is free — one-click install via Unyly at no cost.
Does Finance App need an API key?
No, Finance App runs without API keys or environment variables.
Is Finance App hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Finance App in Claude Desktop, Claude Code or Cursor?
Open Finance App on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Stripe
Payments, customers, subscriptions
by Stripemalamutemayhem/unclick-agent-native-endpoints
110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n
by malamutemayhemwhiteknightonhorse/APIbase
Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa
by whiteknightonhorsetrackerfitness729-jpg/sitelauncher-mcp-server
Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr
Compare Finance App with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All finance MCPs
