Skip to main content
Glama
bhakti259

Expense Tracker MCP Proxy

by bhakti259

Expense Tracker MCP Proxy for Remote Server

A Model Context Protocol (MCP) proxy server that connects to a remote expense tracker FastMCP cloud server and exposes its tools locally.

Note: This is a proxy server only. It connects to a remote FastMCP cloud URL and forwards requests to the actual expense tracking implementation. The source code for the expense tracking functionality is available at: expense-tracker-remote-mcp-server

Features

This proxy server:

  • Connects to the remote FastMCP server at https://chronic-scarlet-urial.fastmcp.app/mcp

  • Automatically discovers and exposes all tools available on the remote server

  • Forwards all tool calls to the remote server

  • Provides transparent proxying with error handling

  • Handles Server-Sent Events (SSE) responses from the FastMCP server

  • Acts as a local stdio interface to the remote expense tracker implementation

Related MCP server: expense-tracker-remote-mcp-server

Remote Server Tools

The remote FastMCP server provides an Expense Tracker with 5 tools:

  • add_expense: Add a new expense with date, amount, category, subcategory, and notes

  • list_expenses: List expenses with optional filtering by category and date range

  • update_expense: Update an existing expense

  • delete_expense: Delete an expense

  • summarize_expenses: Get expense summaries grouped by category

Installation

  1. Install dependencies:

pip install -e .

Or install manually:

pip install mcp aiohttp

Usage

Run the server:

python main.py

The server communicates via stdio and follows the Model Context Protocol specification.

Configuration

To use this server with an MCP client (like Claude Desktop), add it to your client configuration:

{
  "mcpServers": {
    "bhakti-server-proxy": {
      "command": "python",
      "args": ["d:\\Python Projects\\Proxy-server\\main.py"]
    }
  }
}

Or with the full Python path:

{
  "mcpServers": {
    "bhakti-server-proxy": {
      "command": "C:\\Users\\kulsu\\AppData\\Local\\Programs\\Python\\Python314\\python.exe",
      "args": ["d:\\Python Projects\\Proxy-server\\main.py"]
    }
  }
}

Development

The server is built using the mcp Python library and implements:

  • Tool listing from remote server

  • Tool execution forwarding to remote server

  • Async stdio communication

  • Server-Sent Events (SSE) handling

Testing

Test the connection to the remote server:

python test_proxy.py

License

MIT

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

  • The Ramp MCP server enables users to securely connect Ramp with AI assistants like ChatGPT and Claude to query financial data and take actions using natural language. It transforms Ramp's developer API into a SQL interface that LLMs can query, allowing admins to analyze spend trends, identify cost savings, and run complex SQL analyses on comprehensive datasets (transactions, purchase orders, vendors, users), while all users can manage cards, view transactions, request reimbursements, and get expense policy answers.

  • Log, query, and edit expenses, budgets, and accounts in Manilo from any MCP-compatible AI assistant.

  • Corporate travel booking and expense management for TripGain, exposed as an MCP server.

  • Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    MCP server for tracking personal expenses using FastMCP and SQLite, enabling adding, listing, updating, deleting expenses and summarizing by category via natural language tools.
    5
    1
    -
  • F
    license
    B
    quality
    D
    maintenance
    A remote MCP server for expense tracking, providing tools to add, list, update, delete expenses, and generate summaries, budget status, and monthly trends.
    8
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP proxy server for Moa365 AI budgeting app, enabling expense recording, monthly summaries, and recent expense listing through natural language.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that enables any MCP-compatible client to add, list, and summarize expenses through natural conversation, using FastMCP and aiosqlite for async database operations.
    -