FinTrack MCP Server
README.md
# š° FinTrack MCP Server
> A production-ready Remote MCP Server for Personal Finance Management, Budget Tracking, Income Analytics, and Financial Reporting.
FinTrack MCP enables AI assistants and MCP-compatible clients to manage personal finances through tools, resources, and prompts. The server provides expense tracking, budget monitoring, income management, savings analysis, and comprehensive financial reporting.
---
# š Remote MCP Server
FinTrack is deployed as a remote MCP server and can be accessed directly by any MCP-compatible client.
### Server URL
```text
https://fintrack-mcp-server.fastmcp.app/mcp
```
### MCP Configuration
```json
{
"mcpServers": {
"fintrack-mcp": {
"url": "https://fintrack-mcp-server.fastmcp.app/mcp"
}
}
}
```
No local installation is required to use the deployed server.
---
# ⨠Features
## š Expense Management
* Add expenses
* Update expenses
* Delete expenses
* View expenses
* Category-wise expense analysis
* Date range filtering
* Expense summaries
* Highest spending category detection
## šµ Income Management
* Add income records
* Update income records
* Delete income records
* Income source tracking
* Income analytics
* Highest income source identification
## šÆ Budget Management
* Create monthly budgets
* Update budget limits
* Delete budgets
* Budget utilization tracking
* Budget alerts
* Over-budget detection
* Budget health reporting
## š Financial Analytics
* Monthly savings calculation
* Savings rate analysis
* Financial summaries
* Cash flow tracking
* Financial health assessment
## š§ MCP Resources
### Expense Resources
```text
expense://summary
expense://count
```
### Budget Resources
```text
budget://summary
budget://alerts
budget://over-budget
```
### Finance Resources
```text
finance://dashboard
finance://monthly-report
```
## š¤ MCP Prompts
### Financial Health Report
Generates a detailed report including:
* Income analysis
* Expense analysis
* Savings analysis
* Budget health assessment
* Financial recommendations
---
# šļø Architecture
```text
User
ā
ā¼
MCP Client
(ChatGPT / Claude / Cursor / VS Code)
ā
ā¼
FinTrack MCP Server
ā
āāā Expense Tools
āāā Income Tools
āāā Budget Tools
āāā Resources
āāā Prompts
ā
ā¼
PostgreSQL Database
(Neon.tech - Cloud Hosted)
```
---
# š ļø Tech Stack
| Technology | Purpose |
| ---------- | ----------------------- |
| Python | Backend Development |
| FastMCP | MCP Server Framework |
| PostgreSQL | Data Storage (Neon.tech)|
| AsyncPG | Async PostgreSQL Driver |
| AsyncIO | Asynchronous Operations |
---
# š Project Structure
```text
fintrack-mcp-server/
ā
āāā tools/
ā āāā expense_tools.py
ā āāā income_tools.py
ā āāā budget_tool.py
ā
āāā resources/
ā āāā expense_resources.py
ā āāā budget_resources.py
ā āāā finance_resources.py
ā
āāā prompts/
ā āāā financial_health_report.py
ā
āāā database.py
āāā mcp_instance.py
āāā server.py
āāā requirements.txt
āāā README.md
āāā .gitignore
```
---
# š Local Development Setup
## Clone Repository
```bash
git clone https://github.com/priyansu12345/fintrack-mcp-server.git
cd fintrack-mcp-server
```
## Create Virtual Environment
```bash
python -m venv .venv
```
## Activate Environment
### Windows
```bash
.venv\Scripts\activate
```
### Linux / macOS
```bash
source .venv/bin/activate
```
## Install Dependencies
```bash
pip install -r requirements.txt
```
## Environment Variables
Create a `.env` file or set the following environment variable:
```bash
DATABASE_URL=postgresql://username:password@ep-xxx.neon.tech/neondb?sslmode=require
```
> Get your free PostgreSQL database at [neon.tech](https://neon.tech)
## Run Server
```bash
python server.py
```
---
# š Example User Queries
## Expense Tracking
```text
I spent ā¹150 on a paneer roll today.
```
```text
Show all my expenses.
```
```text
Which category am I spending the most on this month?
```
## Budget Management
```text
Set a food budget of ā¹10,000 for this month.
```
```text
How much food budget do I have left?
```
```text
Which categories are over budget?
```
## Income Tracking
```text
My salary of ā¹50,000 was credited today.
```
```text
Show all my income records.
```
```text
What is my highest income source this month?
```
## Financial Analysis
```text
How much have I saved this month?
```
```text
Give me a complete financial summary.
```
```text
Generate a detailed financial health report.
```
---
# šÆ Supported Capabilities
ā
Expense Tracking
ā
Budget Monitoring
ā
Income Management
ā
Savings Analytics
ā
Financial Reporting
ā
Resource-Based Context Retrieval
ā
MCP Prompt Support
ā
Remote MCP Deployment
ā
Async Architecture
ā
Cloud PostgreSQL (Persistent Storage)
---
# šØāš» Author
**Priyanshu Kumar**
Built to explore and demonstrate the capabilities of the Model Context Protocol (MCP), including tools, resources, prompts, and remote server deployment.
---
# ā Support
If you found this project useful, consider giving it a star on GitHub.
```bash
ā Star the repository
š“ Fork the project
š Build something awesome with MCP
```
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues