expense-tracker-postgres-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
expense-tracker-postgres-mcp
The persistent, remote version of the expense tracker. Backed by Neon Postgres,
one generic execute_sql tool. Add expenses, edit/delete a specific row, and
run analytics (GROUP BY category or date) — all in plain English.
Table expense_table
id (auto), flow ('gave'/'received'), date, amount, category
(grocery/rent/travel/hygiene/luxury/food/others), note.
Created automatically on startup if it doesn't exist. No seed — data was migrated separately.
Related MCP server: Expense Tracker MCP Server
Guardrail
Allowed: SELECT, INSERT, UPDATE, DELETE, ALTER
Blocked (at all costs): CREATE, DROP, TRUNCATE, and multi-statement chaining
Setup
cd ~/Documents/Claude/expense-tracker-postgres-mcp
uv add fastmcp "psycopg[binary]" python-dotenv
cp .env.example .env # paste your Neon DATABASE_URL (project with expense_table)
uv run main.py # ensures the table exists; serves http://127.0.0.1:8000/mcpDeploy to FastMCP Cloud
uv lock, then pushmain.py,pyproject.toml,uv.lockto GitHub.On fastmcp.cloud: entrypoint
main.py, Requirementsuv.lock, env varDATABASE_URL = <your Neon connection string>.Deploy, then add the connector URL in Claude (desktop + mobile).
Example asks
"add ₹40 for chai today" → INSERT
"total spending this month by category" → SELECT ... GROUP BY category
"delete the misc ₹15 entry" → DELETE ... WHERE id = 30
"how much on food vs rent in July?" → SELECT ... GROUP BY category
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Expense ledger for AI assistants: record receipts line by line, ask what you spent, export anytime.
Track expenses from your AI chat: log, categorize, monthly CSV reports. All data is local.
Personal finance ledger for AI agents — query spending, track bills, forecast cash flow.
Personal finance tracker — log transactions, view summaries, and browse a dashboard
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables natural language management of personal expenses, including adding, listing, and summarizing expenses with local SQLite storage.-
- FlicenseAqualityDmaintenanceEnables AI assistants to track, query, summarize, and delete personal expenses stored in a local SQLite database via natural language.4-
- FlicenseAqualityDmaintenanceEnables natural language management of personal expenses, including adding, updating, deleting, searching, and summarizing expenses stored in a local SQLite database.6-
- AlicenseNot gradedqualityBmaintenanceEnables users to record and retrieve expenses through natural language, with support for categories, dates, and descriptions, backed by a Postgres database.MIT