expense-tracker-postgres-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@expense-tracker-postgres-mcpadd ₹50 for lunch today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/EESHAN-ANAND/expense-tracker-postgres-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server