society-maintenance-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@society-maintenance-mcp-serverWhich flats haven't paid maintenance for January 2024?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Society Maintenance Tracker — MCP Server
An MCP (Model Context Protocol) server that exposes society maintenance and expense data as tools, so any MCP-compatible AI agent (Claude Desktop, Cursor, watsonx, etc.) can query it using natural language.
What it does
The server reads two Excel files (Maintenance.xlsx and Expenses.xlsx) and registers 8 tools that an AI agent can call:
Tool | What it answers |
| Which months have data? |
| Which flats haven't paid? (by month or year) |
| Which flats have paid? (by month or year) |
| Income vs expenses — surplus or deficit? |
| Expenses broken down by category |
| Full payment history for a specific flat |
| Generate & save pending maintenance Excel report |
| Generate & save balance sheet Excel report |
Related MCP server: Excel MCP Server
Project structure
Society Maintenance Tracker/
├── server.py # MCP server entry point (8 tools registered)
├── server/
│ ├── __init__.py
│ └── data_loader.py # Loads & queries Maintenance.xlsx + Expenses.xlsx
├── reports/
│ ├── __init__.py
│ └── generator.py # Generates styled Excel reports
├── data/ # ← YOU must supply these (not included in repo)
│ ├── Maintenance.xlsx
│ └── Expenses.xlsx
├── downloads/ # Auto-created — generated reports saved here
├── requirements.txt
├── Dockerfile
└── README.mdPrerequisites
Python 3.11 or 3.12
The two Excel data files (see Data files below)
Installation
1. Clone the repo
git clone https://github.com/YOUR_USERNAME/society-maintenance-tracker.git
cd society-maintenance-tracker2. Create a virtual environment (recommended)
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS / Linux
source .venv/bin/activate3. Install dependencies
pip install -r requirements.txt4. Add your data files
Create a data/ folder and place your Excel files inside:
data/
├── Maintenance.xlsx ← sheet name must be "Maintenance"
└── Expenses.xlsx ← sheet name must be "Expenses"Expected columns:
Maintenance.xlsx — Month | Date | Flat No | Name | Amount | Late Charges
Expenses.xlsx — Month | Date | Expence Type | Details | Amount | Spend By
Running the server
stdio mode — for AI agents that spawn it as a subprocess (Claude Desktop, Cursor, etc.)
python server.py⚠️ Do not type into the terminal in this mode — the server speaks JSON-RPC over stdin/stdout. It will look frozen; that is normal.
SSE mode — for persistent servers / external clients
python server.py --sseServer listens at http://localhost:8100/sse.
Connecting to AI clients
Claude Desktop
Edit %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"society-maintenance": {
"command": "python",
"args": ["C:/full/path/to/society-maintenance-tracker/server.py"]
}
}
}Restart Claude Desktop. You can now ask questions like:
"Which flats haven't paid maintenance for January 2024?"
"What is the balance sheet for 2024?"
"Give me the payment history for flat 601."
Cursor / VS Code (MCP extension)
Add to your MCP settings:
{
"society-maintenance": {
"command": "python",
"args": ["/full/path/to/server.py"]
}
}MCP Inspector (browser UI — best for testing)
npx @modelcontextprotocol/inspector python server.pyOpens at http://localhost:5173 — browse and call all tools interactively.
Running with Docker
# Build
docker build -t society-mcp .
# Run (mount your local data/ folder into the container)
docker run -v $(pwd)/data:/app/data society-mcpTesting
Quick data sanity check
python -c "
import sys; sys.path.insert(0, '.')
from server.data_loader import get_all_months, get_balance_sheet
print(get_all_months())
print(get_balance_sheet(year=2024))
"Full MCP protocol test (stdio)
python _test_server.pyThis sends a proper JSON-RPC handshake and lists all registered tools.
Data files
The data/ folder is excluded from this repository (see .gitignore) because the Excel files contain private resident information.
To use this server:
Create your own
Maintenance.xlsxandExpenses.xlsxfollowing the column format above.Place them in the
data/folder.The server will load them automatically on first tool call.
Month format
Months in the Excel file must follow the pattern MonthName_YYYY, e.g.:
Jan_2024 Feb_2024 March_2024 April_2024
May_2024 June_2024 July_2024 Aug_2024
Sep_2024 Oct_2024 Nov_2024 Dec_2024The server normalises common variants automatically (january_2024, MARCH_2025, jun_2024, etc.).
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI agents to manage personal expenses through natural language conversations. Supports adding, searching, and analyzing transactions with automatic categorization and financial insights.3MIT
- AlicenseCqualityFmaintenanceEnables conversational data analysis of Excel/CSV files through natural language queries, powered by 395 Excel functions via HyperFormula and multi-provider AI. Supports advanced analytics, bulk operations, financial modeling, and large file processing with intelligent chunking.355136MIT
- Alicense-qualityCmaintenanceEnables users to ask questions about their spreadsheets in plain English and receive instant answers using DuckDB-powered analytics, supporting multiple file formats like Excel, CSV, and Parquet.2MIT
- Alicense-qualityDmaintenanceEnables manipulation of Excel files including creating, reading, writing data, formatting, charts, pivot tables, and worksheet management via natural language.25MIT
Related MCP Connectors
Personal finance by conversation: expenses, receipts, statement import, budgets, net worth.
Ask your AI about bank accounts, spending, debts, holdings, and investment activity.
Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tadevilas/MCP_Maintenance'
If you have feedback or need assistance with the MCP directory API, please join our Discord server