WealthGuard MCP
A Model Context Protocol server that connects Claude to your Google Sheets for personal finance tracking, analysis, and reporting β all through natural language.
README
<!-- Improved compatibility of back to top link: See: https://github.com/othneildrew/Best-README-Template/pull/73 --> <a id="readme-top"></a>
[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![LinkedIn][linkedin-shield]][linkedin-url]
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/DoganayBalaban/finance-mcp"> <img src="https://img.shields.io/badge/π°-WealthGuard-green?style=for-the-badge" alt="WealthGuard Logo"> </a>
<h3 align="center">WealthGuard MCP</h3>
<p align="center"> A Model Context Protocol server that connects Claude to your Google Sheets for personal finance tracking, analysis, and reporting β all through natural language. <br /> <a href="https://github.com/DoganayBalaban/finance-mcp"><strong>Explore the docs Β»</strong></a> <br /> <br /> <a href="https://github.com/DoganayBalaban/finance-mcp/issues/new?labels=bug&template=bug-report---.md">Report Bug</a> Β· <a href="https://github.com/DoganayBalaban/finance-mcp/issues/new?labels=enhancement&template=feature-request---.md">Request Feature</a> </p> </div>
<!-- TABLE OF CONTENTS --> <details> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> <ul> <li><a href="#built-with">Built With</a></li> </ul> </li> <li> <a href="#getting-started">Getting Started</a> <ul> <li><a href="#prerequisites">Prerequisites</a></li> <li><a href="#installation">Installation</a></li> </ul> </li> <li><a href="#usage">Usage</a></li> <li><a href="#roadmap">Roadmap</a></li> <li><a href="#contributing">Contributing</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#acknowledgments">Acknowledgments</a></li> </ol> </details>
<!-- ABOUT THE PROJECT -->
About The Project
WealthGuard is an MCP server that lets you manage your personal finances through conversation. Ask Claude to analyze your monthly expenses, check budget overruns, forecast savings, or log a new transaction β all backed by a real Google Spreadsheet you own.
Available tools:
| Tool | Description |
|---|---|
get_monthly_summary |
Total income, expenses, net balance, and savings rate for any month |
get_spending_by_category |
Category breakdown with percentage distribution (Top 5) |
check_budget_status |
Compares monthly limits against actual spending (Exceeded / Warning / On Track) |
get_savings_forecast |
3-month moving average forecast for next month's savings |
add_transaction |
Appends a new income/expense row after explicit user confirmation |
compare_months |
Side-by-side income, expense, and balance comparison between two months |
set_savings_goal |
Writes a savings target to the Goals worksheet |
generate_monthly_report |
Produces a full Markdown report saved locally |
A live finance://summary/current MCP resource also lets the assistant read the current month at any time.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
Built With
[![Python][Python.org]][Python-url] [![FastMCP][FastMCP-badge]][FastMCP-url] [![Google Sheets][Sheets-badge]][Sheets-url] [![Pydantic][Pydantic-badge]][Pydantic-url] [![uv][uv-badge]][uv-url]
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- GETTING STARTED -->
Getting Started
Prerequisites
- Python 3.11+
uvpackage manager- A Google Cloud Service Account with a JSON credentials file
- A Google Sheets file shared with the service account (Editor access)
Installation
-
Clone the repo
git clone https://github.com/DoganayBalaban/finance-mcp.git cd finance-mcp -
Create and activate a virtual environment
uv venv source .venv/bin/activate -
Install dependencies
uv pip install -e . -
Place your Service Account JSON at
credentials/service_account.json -
Copy
.env.exampleto.envand fill in your valuesGOOGLE_SHEETS_ID="your_spreadsheet_id_here" SERVICE_ACCOUNT_JSON="credentials/service_account.json" -
Create a Google Sheets file with these three worksheets:
Worksheet Columns Transactionsdate,description,category,amount,typeBudgetscategory,monthly_limit,year,monthGoalsyear,month,target_amount
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- USAGE -->
Usage
Claude Desktop Integration
Add the following to your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"finance-mcp": {
"command": "/FULL/PATH/finance-mcp/.venv/bin/python",
"args": ["-m", "src.finance_mcp.server"],
"env": {
"PYTHONPATH": "/FULL/PATH/finance-mcp",
"GOOGLE_SHEETS_ID": "your_spreadsheet_id_here",
"SERVICE_ACCOUNT_JSON": "/FULL/PATH/finance-mcp/credentials/service_account.json"
}
}
}
}
Replace /FULL/PATH/ with the absolute path to the project on your machine, then restart Claude Desktop.
Example prompts:
- "How much did I spend last month?"
- "Show me my top spending categories for April."
- "I paid $80 at the grocery store today β log it."
- "Am I over budget anywhere this month?"
- "Forecast my savings for next month."
- "Generate a financial report for March."
Security note:
add_transactionalways asks for explicit confirmation before writing to your spreadsheet. The LLM will summarize the transaction and say "Do you confirm?" before calling the tool.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ROADMAP -->
Roadmap
- [ ] Multi-currency support
- [ ] Recurring transaction detection
- [ ] Chart/visualization exports (PNG)
- [ ] Support for multiple spreadsheet profiles
- [ ] Web dashboard (read-only view)
See the open issues for a full list of proposed features and known issues.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- CONTRIBUTING -->
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also open an issue with the tag enhancement.
Don't forget to give the project a star!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
<p align="right">(<a href="#readme-top">back to top</a>)</p>
Top contributors:
<a href="https://github.com/DoganayBalaban/finance-mcp/graphs/contributors"> <img src="https://contrib.rocks/image?repo=DoganayBalaban/finance-mcp" alt="contrib.rocks image" /> </a>
<!-- CONTACT -->
Contact
DoΔanay Balaban β GitHub
Project Link: https://github.com/DoganayBalaban/finance-mcp
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGMENTS -->
Acknowledgments
- FastMCP β MCP server framework for Python
- gspread β Google Sheets API client
- Model Context Protocol β Open protocol by Anthropic
- Best-README-Template
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- MARKDOWN LINKS & IMAGES --> [contributors-shield]: https://img.shields.io/github/contributors/DoganayBalaban/finance-mcp.svg?style=for-the-badge [contributors-url]: https://github.com/DoganayBalaban/finance-mcp/graphs/contributors [forks-shield]: https://img.shields.io/github/forks/DoganayBalaban/finance-mcp.svg?style=for-the-badge [forks-url]: https://github.com/DoganayBalaban/finance-mcp/network/members [stars-shield]: https://img.shields.io/github/stars/DoganayBalaban/finance-mcp.svg?style=for-the-badge [stars-url]: https://github.com/DoganayBalaban/finance-mcp/stargazers [issues-shield]: https://img.shields.io/github/issues/DoganayBalaban/finance-mcp.svg?style=for-the-badge [issues-url]: https://github.com/DoganayBalaban/finance-mcp/issues [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555 [linkedin-url]: https://linkedin.com/in/doganay-balaban [Python.org]: https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white [Python-url]: https://python.org [FastMCP-badge]: https://img.shields.io/badge/FastMCP-000000?style=for-the-badge&logo=anthropic&logoColor=white [FastMCP-url]: https://github.com/jlowin/fastmcp [Sheets-badge]: https://img.shields.io/badge/Google%20Sheets-34A853?style=for-the-badge&logo=google-sheets&logoColor=white [Sheets-url]: https://sheets.google.com [Pydantic-badge]: https://img.shields.io/badge/Pydantic-E92063?style=for-the-badge&logo=pydantic&logoColor=white [Pydantic-url]: https://docs.pydantic.dev [uv-badge]: https://img.shields.io/badge/uv-DE5FE9?style=for-the-badge&logo=astral&logoColor=white [uv-url]: https://github.com/astral-sh/uv
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.