WealthGuard MCP

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.

Category
访问服务器

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+
  • uv package manager
  • A Google Cloud Service Account with a JSON credentials file
  • A Google Sheets file shared with the service account (Editor access)

Installation

  1. Clone the repo

    git clone https://github.com/DoganayBalaban/finance-mcp.git
    cd finance-mcp
    
  2. Create and activate a virtual environment

    uv venv
    source .venv/bin/activate
    
  3. Install dependencies

    uv pip install -e .
    
  4. Place your Service Account JSON at credentials/service_account.json

  5. Copy .env.example to .env and fill in your values

    GOOGLE_SHEETS_ID="your_spreadsheet_id_here"
    SERVICE_ACCOUNT_JSON="credentials/service_account.json"
    
  6. Create a Google Sheets file with these three worksheets:

    Worksheet Columns
    Transactions date, description, category, amount, type
    Budgets category, monthly_limit, year, month
    Goals year, 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_transaction always 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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. 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

<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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选