Math I Choose to Ignore MCP Server
Connects to a PostgreSQL database for expense tracking, allowing natural language queries and operations on expense records.
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., "@Math I Choose to Ignore MCP ServerShow me my expenses from last week"
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.
Math I Choose to Ignore (MCP Server)
Because your bank account won't ignore it forever.
Math I Choose to Ignore is an AI-powered expense tracking server built using the Model Context Protocol (MCP). It connects LLM clients (like Claude Desktop) directly to your PostgreSQL database, transforming your AI assistant into a personal financial analyst that can track, categorize, summarize, and manage your spending through natural language.
Features
Natural Language Ledger: Add, edit, delete, and query your expenses just by chatting with Claude.
Robust PostgreSQL Integration: Uses strict financial schema design (
NUMERIC(10,2)for currency precision, nativeDATEtypes, andSERIALprimary keys).Safe Dynamic Querying: Built-in SQL injection prevention using parameterized queries and dynamic condition building.
Built with FastMCP: Exposes both MCP Tools (for database actions) and MCP Resources (for read-only context like expense categories).
Isolated Environment: Clean dependency management using
uv.
Related MCP server: mcp-finance
Tech Stack
Language: Python
MCP Framework:
fastmcpDatabase: PostgreSQL (
psycopg/psycopg2)Package Manager:
uv
Getting Started
1. Prerequisites
uv package manager
PostgreSQL installed and running
Claude Desktop (for client integration)
2. Installation & Setup
Clone the repository and install dependencies:
git clone [https://github.com/yourusername/math-i-choose-to-ignore.git](https://github.com/yourusername/math-i-choose-to-ignore.git)
cd math-i-choose-to-ignore
uv venv
uv syncDatabase Configuration
DB_URL = "dbname=yourdbname user=yourusername password=yourpassword host=localhost port=5432"Testing with MCP Inspector
uv run fastmcp dev inspector main.pyClaude Desktop Integration
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"Math I Choose to Ignore": {
"command": "C:\\Users\\YourUsername\\.local\\bin\\uv.exe",
"args": [
"--directory",
"C:\\Users\\YourUsername\\Desktop\\MCP\\math_i_choose_to_ignore",
"run",
"--with",
"fastmcp",
"fastmcp",
"run",
"C:\\Users\\YourUsername\\Desktop\\MCP\\math_i_choose_to_ignore\\main.py"
]
}
}
}Important: After updating the JSON file, fully quit Claude Desktop from your Windows system tray and restart it.
Available MCP Tools And Resources
Tools (Actions)
Tool | Description |
| Adds a new expense with date, amount, category, subcategory, and optional notes. |
| Lists all expenses within an inclusive |
| Groups and sums expenses by category over a date range (optional category filter). |
| Updates an existing expense amount or record. |
| Safely removes an expense entry from the ledger. |
Resources (Read-Only Context)
Resource URI | Description |
| Exposes standard budget categories from a local JSON file so the AI knows valid categorization options. |
This server cannot be installed
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Sanchit1403/Math-I-Choose-to-Ignore-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server