{"id":31811958,"url":"https://github.com/abhaysingh71/expense-tracker-mcp-server","last_synced_at":"2026-05-15T18:33:44.676Z","repository":{"id":317349738,"uuid":"1066402835","full_name":"AbhaySingh71/Expense-tracker-mcp-server","owner":"AbhaySingh71","description":"MCP server built with FastMCP for tracking, listing, and summarizing expenses. Works with Claude Desktop or MCP Inspector for seamless expense management.","archived":false,"fork":false,"pushed_at":"2025-09-30T09:38:58.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T11:36:13.361Z","etag":null,"topics":["claude-desktop","fastmcp","jsonrpc2","mcp-inspector","mcp-server","sqlite","uv"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbhaySingh71.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-29T12:43:10.000Z","updated_at":"2025-09-30T09:39:02.000Z","dependencies_parsed_at":"2025-09-30T11:36:22.435Z","dependency_job_id":"c09ae027-8e7e-41a2-be0c-8dea55644a0d","html_url":"https://github.com/AbhaySingh71/Expense-tracker-mcp-server","commit_stats":null,"previous_names":["abhaysingh71/expense-tracker-mcp-server"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/AbhaySingh71/Expense-tracker-mcp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhaySingh71%2FExpense-tracker-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhaySingh71%2FExpense-tracker-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhaySingh71%2FExpense-tracker-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhaySingh71%2FExpense-tracker-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbhaySingh71","download_url":"https://codeload.github.com/AbhaySingh71/Expense-tracker-mcp-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhaySingh71%2FExpense-tracker-mcp-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006461,"owners_count":26084108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-desktop","fastmcp","jsonrpc2","mcp-inspector","mcp-server","sqlite","uv"],"created_at":"2025-10-11T06:57:46.316Z","updated_at":"2025-10-11T06:58:02.716Z","avatar_url":"https://github.com/AbhaySingh71.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Expense-Tracker MCP Server\n\nAn **MCP (Model Context Protocol) server** built with [FastMCP](https://github.com/jlowin/fastmcp) to help you track and analyze personal expenses.  \nThis server is meant to be used with **MCP-compatible clients** such as **Claude Desktop**, and provides structured tools and resources for expense management.\n\n---\n\n## 🧾 Overview\n\nThe Expense-Tracker MCP server allows MCP clients to:\n\n-  **Add new expenses** (with date, amount, category, subcategory, and notes)  \n-  **List expenses** within a given date range  \n-  **Summarize spending** by category in a given period  \n-  **Access predefined categories** from a JSON resource  \n\nAll expense data is stored in a local **SQLite database** (`expenses.db`). Categories can be managed through the `categories.json` file.  \n\n---\n\n## 📂 Project Structure\n\n```\n.\n├── categories.json # Predefined expense categories\n├── expenses.db # SQLite database (auto-created on first run)\n├── main_exp.py # Main MCP server\n├── demo.py # Optional demo / quick test script\n├── pyproject.toml # Project metadata \u0026 dependencies\n├── uv.lock # Lock file for uv dependencies\n└── README.md # You are here\n```\n\n---\n\n## 🚀 Features\n\n- **Add Expenses** → Save expenses with categories, subcategories, and notes  \n- **List Expenses** → Retrieve expenses between start and end dates  \n- **Summarize** → Aggregate expenses by category (optionally filter by one category)  \n- **Dynamic Categories** → Categories are loaded live from `categories.json` so you can edit without restarting  \n- **FastMCP-powered** → Simple, declarative tools with zero boilerplate  \n\n---\n\n## 🛠 Setup \u0026 Run\n\n### 1. Clone the Repository\n```bash\ngit clone https://github.com/AbhaySingh71/Expense-tracker-mcp-server.git\ncd Expense-tracker-mcp-server\n```\n\n### 2. Install Dependencies with uv\n```bash\nuv sync\n```\n\n### 3. Run the MCP Server\n```bash\nuv run main_exp.py\n```\n\nThe server will start and wait for an MCP client (like Claude Desktop) to connect.\n\n---\n\n## 🖥 Using with Claude (MCP Client)\n\nOpen your Claude Desktop configuration file (`claude_desktop_config.json`).\n\nAdd the Expense-Tracker MCP server under `\"mcpServers\"`. Example:\n\n```json\n{\n  \"mcpServers\": {\n    \"expense-tracker\": {\n      \"command\": \"uv\",\n      \"args\": [\"run\", \"main_exp.py\"],\n      \"cwd\": \"C:/Users/abhay/Desktop/Expense-tracker-mcp\"\n    }\n  }\n}\n```\n\nRestart Claude Desktop.  \nYou can now ask Claude things like:\n\n- “Add an expense of ₹200 for Food on 2025-09-28.”  \n- “List all my expenses between 2025-09-01 and 2025-09-28.”  \n- “Summarize my expenses by category for September 2025.”  \n\n---\n\n## 🔍 Debugging with MCP Inspector\n\nYou can also use MCP Inspector to test this server outside of Claude.\n\nExample:\n\n```bash\nnpx @modelcontextprotocol/inspector uv run main_exp.py\n```\n\nThis will launch the inspector UI in your browser, where you can try tools (`add_expense`, `list_expenses`, `summarize`) and check the resource (`expense://categories`) interactively.\n\n---\n\n## 📬 Contributing\n\nPull requests and feature suggestions are welcome.  \nFollow the MCP design philosophy: modularity, clarity, and extensibility.\n\n---\n\n## 🛡 License\n\nReleased under the MIT License.\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhaysingh71%2Fexpense-tracker-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhaysingh71%2Fexpense-tracker-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhaysingh71%2Fexpense-tracker-mcp-server/lists"}