life-admin-mcp 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- life_admin_mcp-1.0.0/.gitignore +12 -0
- life_admin_mcp-1.0.0/CHANGELOG.md +44 -0
- life_admin_mcp-1.0.0/CODE_OF_CONDUCT.md +11 -0
- life_admin_mcp-1.0.0/CONTRIBUTING.md +49 -0
- life_admin_mcp-1.0.0/Dockerfile +15 -0
- life_admin_mcp-1.0.0/LICENSE +21 -0
- life_admin_mcp-1.0.0/PKG-INFO +232 -0
- life_admin_mcp-1.0.0/README.md +207 -0
- life_admin_mcp-1.0.0/SECURITY.md +21 -0
- life_admin_mcp-1.0.0/examples/sample-statement.csv +760 -0
- life_admin_mcp-1.0.0/pyproject.toml +63 -0
- life_admin_mcp-1.0.0/server.json +22 -0
- life_admin_mcp-1.0.0/src/life_admin_mcp/__init__.py +3 -0
- life_admin_mcp-1.0.0/src/life_admin_mcp/__main__.py +3 -0
- life_admin_mcp-1.0.0/src/life_admin_mcp/dates.py +52 -0
- life_admin_mcp-1.0.0/src/life_admin_mcp/ics.py +77 -0
- life_admin_mcp-1.0.0/src/life_admin_mcp/server.py +588 -0
- life_admin_mcp-1.0.0/src/life_admin_mcp/statements.py +483 -0
- life_admin_mcp-1.0.0/src/life_admin_mcp/store.py +655 -0
- life_admin_mcp-1.0.0/tests/conftest.py +25 -0
- life_admin_mcp-1.0.0/tests/test_dates_ics.py +45 -0
- life_admin_mcp-1.0.0/tests/test_mcp_integration.py +152 -0
- life_admin_mcp-1.0.0/tests/test_release.py +23 -0
- life_admin_mcp-1.0.0/tests/test_statements.py +220 -0
- life_admin_mcp-1.0.0/tests/test_store.py +351 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.0.0 — 2026-11-25
|
|
4
|
+
|
|
5
|
+
First stable release.
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **Statement scanning (`scan_statement`).** Finds recurring charges in a bank or card CSV:
|
|
9
|
+
- Handles most banks' formats: delimiter, header detection, preamble lines, US/EU/ISO dates, debit/credit columns, either sign convention, European number formats.
|
|
10
|
+
- Cleans up merchant names and detects weekly, monthly, quarterly and yearly cadences, with a confidence level.
|
|
11
|
+
- Reports price rises and when they started, gives variable bills a range instead of a price, and flags subscriptions that have stopped.
|
|
12
|
+
- Compares results with tracked items. Nothing from the statement is stored.
|
|
13
|
+
- **Free trials** (`kind="trial"`): warns before a trial starts charging. Trials stay out of spending totals but are included in the forecast. Convert a kept trial with `update_item(kind="subscription")`.
|
|
14
|
+
- **Price history:** every price change is recorded. `get_item` shows the history, and `spending_summary` lists increases since you started tracking.
|
|
15
|
+
- **`forecast`:** money going out per month, for 1–36 months.
|
|
16
|
+
- **`import_statement` prompt:** a guided first-time setup from a bank export.
|
|
17
|
+
- **Streamable HTTP transport** (`--transport http`): bound to 127.0.0.1. It refuses public addresses unless you pass `--allow-remote`.
|
|
18
|
+
- `examples/sample-statement.csv`: a realistic made-up year of transactions for trying the scanner.
|
|
19
|
+
- Installable package with a `life-admin-mcp` command (`pip`, `pipx` and `uvx` all work). Options: `--db`, `--log-level` and `--version`.
|
|
20
|
+
- New tools: `reactivate_item`, `export_data` and `import_data` (JSON backup and restore).
|
|
21
|
+
- Tool annotations that tell clients which tools only read, which change data, and which delete.
|
|
22
|
+
- A `weekly_review` prompt and a `life-admin://upcoming` resource.
|
|
23
|
+
- Works with MCP Python SDK v1 and v2.
|
|
24
|
+
- 103 tests, including end-to-end stdio and HTTP-safety tests. CI runs them on Linux, macOS and Windows, Python 3.10 and 3.13, and both SDK versions.
|
|
25
|
+
- Pushing a version tag publishes to PyPI, the official MCP Registry (`io.github.bishalkarki01/life-admin-mcp`) and GitHub Releases.
|
|
26
|
+
|
|
27
|
+
### Fixed (found while testing on a realistic session)
|
|
28
|
+
- `get_upcoming` totalled charges outside the requested window. Items that appear early because of their reminder window are now listed under a separate "heads-up" section and left out of the total.
|
|
29
|
+
- Error messages lost their final quote character.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
- Amounts are stored as integer cents, so totals no longer pick up floating-point rounding errors.
|
|
33
|
+
- Monthly and yearly items keep their original day: a bill on the 31st goes Jan 31 → Feb 28 → Mar 31 instead of drifting to the 28th.
|
|
34
|
+
- Calendar export now follows RFC 5545: it includes the required `DTSTAMP`, escapes commas and semicolons, and folds long lines.
|
|
35
|
+
- Validation errors, such as a bad date, currency or id, now reach the assistant as readable messages. Before, SDK v2 showed only a generic "Error executing tool".
|
|
36
|
+
|
|
37
|
+
### Safety
|
|
38
|
+
- Schema version 2, with step-by-step migrations from the prototype and v1 databases.
|
|
39
|
+
- `scan_statement` reads local files only if they end in `.csv`, `.tsv` or `.txt` and are under 5 MB.
|
|
40
|
+
- Every input is checked for type, range and length. Database `CHECK` constraints back these checks up.
|
|
41
|
+
- An active item with the same name and kind can't be added twice.
|
|
42
|
+
- The database uses WAL mode with a busy timeout and rolls back writes that fail. The data folder is created with `0700` permissions.
|
|
43
|
+
- The schema is versioned. Prototype databases are migrated automatically, and a database created by a newer version is refused instead of being damaged.
|
|
44
|
+
- Logs go to stderr only, so they never corrupt the MCP stream on stdout.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Code of conduct
|
|
2
|
+
|
|
3
|
+
This project follows the [Contributor Covenant, version 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
|
|
4
|
+
|
|
5
|
+
In short: be kind, assume good intent, and focus on the work. Harassment of any kind isn't tolerated.
|
|
6
|
+
|
|
7
|
+
To report unacceptable behaviour privately, use GitHub's private reporting form:
|
|
8
|
+
[open a private report](https://github.com/bishalkarki01/life-admin-mcp/security/advisories/new)
|
|
9
|
+
and start the title with **"Conduct:"**. Only the maintainer can see it. Reports are kept
|
|
10
|
+
confidential, and you'll get a reply within 7 days. The maintainer may warn, temporarily ban or
|
|
11
|
+
permanently ban anyone who breaks this code, following the Contributor Covenant's enforcement guidelines.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for helping! Bug reports, ideas and pull requests are all welcome.
|
|
4
|
+
|
|
5
|
+
By submitting a contribution, you agree that it is licensed under the project's [MIT License](LICENSE) and that you have the right to submit it.
|
|
6
|
+
|
|
7
|
+
**Issues are public.** Never post real bank or card data, account or card numbers, names, addresses or document numbers. For a CSV problem, share only the header row and one made-up line.
|
|
8
|
+
|
|
9
|
+
## Quick start
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
git clone https://github.com/bishalkarki01/life-admin-mcp && cd life-admin-mcp
|
|
13
|
+
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
14
|
+
pip install -e ".[dev]"
|
|
15
|
+
pytest
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
To try your changes in a real client, point it at your checkout:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
claude mcp add life-admin-dev -- python -m life_admin_mcp --db /tmp/dev.db
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Before you open a pull request
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
ruff check . && ruff format . && mypy src && pytest
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- Put new business logic in `store.py`, with tests in `tests/test_store.py`. Keep `server.py` as a thin layer that formats the output.
|
|
31
|
+
- A new tool also needs to be added to the integration test, the README tool table and the CHANGELOG.
|
|
32
|
+
- Changing the database schema? Bump `SCHEMA_VERSION` and add a migration step in `Store._migrate`. Never break existing databases.
|
|
33
|
+
|
|
34
|
+
## Good first issues
|
|
35
|
+
|
|
36
|
+
Look for the [`good first issue`](https://github.com/bishalkarki01/life-admin-mcp/labels/good%20first%20issue) label. Ideas on the roadmap:
|
|
37
|
+
|
|
38
|
+
- Support more statement formats (OFX, QIF) and more bank CSV quirks
|
|
39
|
+
- Better merchant-name cleanup (send examples!)
|
|
40
|
+
- Currency conversion with user-supplied rates
|
|
41
|
+
- A Claude Desktop one-click bundle (`.mcpb`)
|
|
42
|
+
|
|
43
|
+
## Releasing (maintainers)
|
|
44
|
+
|
|
45
|
+
1. Bump the version in `src/life_admin_mcp/__init__.py` and in both places in `server.json`.
|
|
46
|
+
2. Add a `## x.y.z` section to `CHANGELOG.md`.
|
|
47
|
+
3. `git tag vX.Y.Z && git push --tags`
|
|
48
|
+
|
|
49
|
+
CI then publishes to PyPI, the MCP Registry and GitHub Releases.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Optional container image. Most people should use `uvx life-admin-mcp` instead.
|
|
2
|
+
# Run: docker run -i --rm -v life-admin:/data life-admin-mcp
|
|
3
|
+
FROM python:3.12-slim
|
|
4
|
+
LABEL io.modelcontextprotocol.server.name="io.github.bishalkarki01/life-admin-mcp"
|
|
5
|
+
|
|
6
|
+
RUN useradd --create-home --uid 10001 app
|
|
7
|
+
WORKDIR /app
|
|
8
|
+
COPY pyproject.toml README.md LICENSE ./
|
|
9
|
+
COPY src ./src
|
|
10
|
+
RUN pip install --no-cache-dir . && mkdir /data && chown app:app /data
|
|
11
|
+
|
|
12
|
+
USER app
|
|
13
|
+
ENV LIFE_ADMIN_DB=/data/life_admin.db
|
|
14
|
+
VOLUME ["/data"]
|
|
15
|
+
ENTRYPOINT ["life-admin-mcp"]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Bishal Karki and Life Admin MCP contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: life-admin-mcp
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: MCP server that finds recurring subscriptions in your bank statement CSV, tracks trials, bills and expiring documents, and suggests what to cancel. Local storage, no network calls.
|
|
5
|
+
Project-URL: Homepage, https://github.com/bishalkarki01/life-admin-mcp
|
|
6
|
+
Project-URL: Issues, https://github.com/bishalkarki01/life-admin-mcp/issues
|
|
7
|
+
Author: Bishal Karki
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: bank-statement,budgeting,claude,mcp,model-context-protocol,personal-finance,reminders,subscriptions
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Topic :: Office/Business :: Financial
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Requires-Dist: mcp<3,>=1.10
|
|
19
|
+
Provides-Extra: dev
|
|
20
|
+
Requires-Dist: mypy>=1.10; extra == 'dev'
|
|
21
|
+
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
|
|
22
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
|
23
|
+
Requires-Dist: ruff>=0.5; extra == 'dev'
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+
<div align="center">
|
|
27
|
+
|
|
28
|
+
# Life Admin MCP
|
|
29
|
+
|
|
30
|
+
**Give your AI assistant a bank statement. It finds the recurring charges you're paying for, warns you before free trials charge, and suggests what you could cancel.**
|
|
31
|
+
|
|
32
|
+
[](https://pypi.org/project/life-admin-mcp/)
|
|
33
|
+
[](https://github.com/bishalkarki01/life-admin-mcp/actions/workflows/ci.yml)
|
|
34
|
+

|
|
35
|
+

|
|
36
|
+

|
|
37
|
+
|
|
38
|
+
<img src="https://raw.githubusercontent.com/bishalkarki01/life-admin-mcp/main/docs/demo.gif" alt="Demo: scanning a year of bank transactions finds 12 recurring charges worth $3,406 a year, then asking what to cancel finds $1,067 a year" width="800">
|
|
39
|
+
|
|
40
|
+
<sub>Real tool output from a demo with a made-up user and made-up data. Your results will differ. [Watch the full 90-second demo](https://github.com/bishalkarki01/life-admin-mcp/raw/main/docs/demo.mp4).</sub>
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
In a 2022 survey, people guessed they spend about **$86 a month** on subscriptions; asked category by category, the figure was closer to **$219**, and 42% said they'd forgotten a subscription they were still paying for ([C+R Research survey, reported via NBC](https://www.nbcwashington.com/news/business/money-report/consumers-spend-an-average-133-more-each-month-on-subscriptions-than-they-realize-study-shows/3067565/)).
|
|
47
|
+
|
|
48
|
+
Life Admin MCP gives Claude, Cursor or any other MCP assistant a memory for this. You just talk to it:
|
|
49
|
+
|
|
50
|
+
> **You:** Here's my bank export for the last year. Find all my subscriptions.
|
|
51
|
+
> **Assistant:** I found 11 recurring charges you aren't tracking, about **$3,407 a year**. Netflix went up from $15.49 to $17.99 in September. PG&E varies from $52 to $129. HelloFresh looks cancelled. Which ones should I track?
|
|
52
|
+
|
|
53
|
+
> **You:** What's coming up in the next two weeks?
|
|
54
|
+
> **Assistant:** $2,254.47 in charges. Rent and the gym on Dec 1, then Netflix, Spotify and your phone. Heads-up: your fridge warranty already expired, and your MacBook's ends Dec 12.
|
|
55
|
+
|
|
56
|
+
> **You:** What could I cancel?
|
|
57
|
+
> **Assistant:** You last used the gym in September, and there's no recorded use of the yoga app or Hulu. Cancelling those and Max would save about **$1,067.64 a year**. You also pay for three streaming services.
|
|
58
|
+
|
|
59
|
+
## Why you'll like it
|
|
60
|
+
|
|
61
|
+
- 🔎 **Finds subscriptions you forgot.** Point it at a CSV from your bank or card app. It works with most banks' formats, removes the noise from merchant names, and finds anything that repeats weekly, monthly, quarterly or yearly. It spots price rises, tells variable bills apart from fixed ones, and flags subscriptions that have already stopped. It never stores the statement.
|
|
62
|
+
- ⏳ **Catches free trials.** It warns you before a trial becomes a paid subscription.
|
|
63
|
+
|
|
64
|
+
- 🔒 **Local storage, no network.** Everything is stored in one SQLite file on your computer. The server needs no account or API key, makes no network calls and has no telemetry. Your AI assistant does see tool results, so see [Privacy](#privacy).
|
|
65
|
+
- ⚡ **30-second setup.** One line in your MCP client's config.
|
|
66
|
+
- 🧠 **Remembers what you forget.**
|
|
67
|
+
- Recurring charges move to their next date automatically.
|
|
68
|
+
- A bill on the 31st stays at month-end.
|
|
69
|
+
- Your passport reminder can start 6 months early.
|
|
70
|
+
- 💸 **Finds savings.** It spots unused subscriptions, overlaps like three streaming services, and price increases since you started tracking.
|
|
71
|
+
- 📈 **Forecasts your spending.** It shows how much will go out each month for the next 1–36 months.
|
|
72
|
+
- 📅 **Works with your calendar.** It exports a standard `.ics` file with alerts for Google, Apple or Outlook calendars.
|
|
73
|
+
- ✅ **Well tested.**
|
|
74
|
+
- 103 tests run on Linux, macOS and Windows, on both MCP SDK v1 and v2.
|
|
75
|
+
- Every input is validated.
|
|
76
|
+
- Schema migrations keep your data safe across upgrades.
|
|
77
|
+
|
|
78
|
+
## Quick start
|
|
79
|
+
|
|
80
|
+
You need [uv](https://docs.astral.sh/uv/getting-started/installation/). To install it:
|
|
81
|
+
- macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh`
|
|
82
|
+
- Windows: `winget install astral-sh.uv`
|
|
83
|
+
|
|
84
|
+
<details open>
|
|
85
|
+
<summary><b>Claude Desktop</b></summary>
|
|
86
|
+
|
|
87
|
+
Open **Settings → Developer → Edit Config** and add this:
|
|
88
|
+
|
|
89
|
+
```json
|
|
90
|
+
{
|
|
91
|
+
"mcpServers": {
|
|
92
|
+
"life-admin": { "command": "uvx", "args": ["life-admin-mcp"] }
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Restart Claude, then say: *"Track my Netflix, $15.49 monthly, renews on the 2nd."*
|
|
98
|
+
</details>
|
|
99
|
+
|
|
100
|
+
<details>
|
|
101
|
+
<summary><b>Claude Code</b></summary>
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
claude mcp add life-admin -- uvx life-admin-mcp
|
|
105
|
+
```
|
|
106
|
+
</details>
|
|
107
|
+
|
|
108
|
+
<details>
|
|
109
|
+
<summary><b>Cursor, VS Code, Windsurf and other clients</b></summary>
|
|
110
|
+
|
|
111
|
+
Add a stdio server with the command `uvx` and the argument `life-admin-mcp`. The JSON is the same as for Claude Desktop.
|
|
112
|
+
</details>
|
|
113
|
+
|
|
114
|
+
<details>
|
|
115
|
+
<summary><b>pip, pipx or Docker</b></summary>
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
pipx install life-admin-mcp # then use the command: life-admin-mcp
|
|
119
|
+
docker build -t life-admin-mcp . && docker run -i --rm -v life-admin:/data life-admin-mcp
|
|
120
|
+
```
|
|
121
|
+
</details>
|
|
122
|
+
|
|
123
|
+
## Things to ask
|
|
124
|
+
|
|
125
|
+
| Say this | What happens |
|
|
126
|
+
|---|---|
|
|
127
|
+
| "Find my subscriptions in ~/Downloads/statement.csv" | Lists recurring charges with yearly costs, price changes and ones that look cancelled, then asks which to track |
|
|
128
|
+
| "I started a Duolingo trial, it ends Dec 10 and then costs $12.99 a month" | Tracked as a trial, with a warning before it starts charging |
|
|
129
|
+
| "Add my rent, $2,100 on the 1st of every month" | Tracked; shows up in "what's due" from 7 days ahead |
|
|
130
|
+
| "My passport expires 2027-05-02, warn me 6 months before" | Shows up in "what's due" from November |
|
|
131
|
+
| "What's due this week?" | Charges and expiries, with expired items flagged first |
|
|
132
|
+
| "How much do I spend on subscriptions?" | Monthly and yearly totals by category and currency |
|
|
133
|
+
| "What could I cancel?" | Unused subscriptions and overlaps, with the yearly saving |
|
|
134
|
+
| "I used Spotify today" | Usage is recorded, which makes cancel suggestions accurate |
|
|
135
|
+
| "Netflix went up to $17.99" | The item is updated |
|
|
136
|
+
| "Put it all on my calendar" | An `.ics` file with alerts |
|
|
137
|
+
| "Back up my data" | A JSON export you can restore later |
|
|
138
|
+
| "What will I spend each month until June?" | A month-by-month forecast |
|
|
139
|
+
| "Do my weekly review" | Runs the built-in `weekly_review` prompt |
|
|
140
|
+
|
|
141
|
+
## Tools
|
|
142
|
+
|
|
143
|
+
| Tool | Purpose | Kind |
|
|
144
|
+
|---|---|---|
|
|
145
|
+
| `scan_statement` | Find recurring charges in a bank or card CSV. Nothing is stored. | read-only |
|
|
146
|
+
| `add_item` | Track a subscription, free trial, bill, warranty, document or renewal | write |
|
|
147
|
+
| `list_items` | List everything, soonest first | read-only |
|
|
148
|
+
| `get_upcoming` | Show what's due, what's expired, and heads-ups | read-only |
|
|
149
|
+
| `spending_summary` | Show totals by currency and category | read-only |
|
|
150
|
+
| `find_savings` | Find unused subscriptions and overlaps | read-only |
|
|
151
|
+
| `mark_used` | Record that you used a subscription | write |
|
|
152
|
+
| `update_item` | Change any field | write |
|
|
153
|
+
| `cancel_item` / `reactivate_item` | Stop or resume tracking. This does not cancel anything with the provider; history is kept | write |
|
|
154
|
+
| `delete_item` | Permanently delete an item | **destructive** |
|
|
155
|
+
| `forecast` | Show money going out per month | read-only |
|
|
156
|
+
| `get_item` | Show full details, including price history | read-only |
|
|
157
|
+
| `export_calendar` | Export an RFC 5545 `.ics` file with alarms | read-only |
|
|
158
|
+
| `export_data` / `import_data` | Back up or restore as JSON | read / write |
|
|
159
|
+
|
|
160
|
+
It also includes the resource `life-admin://upcoming` and two prompts: `import_statement` (a guided first-time setup from your bank export) and `weekly_review`. Each tool tells your client whether it only reads, changes data or deletes, so the client can ask before anything risky.
|
|
161
|
+
|
|
162
|
+
## Configuration
|
|
163
|
+
|
|
164
|
+
| Setting | Default |
|
|
165
|
+
|---|---|
|
|
166
|
+
| `--db PATH` or `LIFE_ADMIN_DB` | `~/.life-admin/life_admin.db` |
|
|
167
|
+
| `--log-level` or `LIFE_ADMIN_LOG_LEVEL` | `WARNING` (logs go to stderr) |
|
|
168
|
+
| `--transport http --port 8765` | Streamable HTTP at `http://127.0.0.1:8765/mcp`, for clients that need a URL |
|
|
169
|
+
|
|
170
|
+
HTTP mode only listens on your own machine, because it has no login. To bind it to another address you must add `--allow-remote`, and you should only do that behind your own authenticating proxy.
|
|
171
|
+
|
|
172
|
+
## FAQ
|
|
173
|
+
|
|
174
|
+
**Does it connect to my bank?**
|
|
175
|
+
No, and that's on purpose: the server never connects to your bank or the internet. Export a CSV from your bank or card app (most have "Download transactions") and ask your assistant to scan it. The statement is analysed in memory and never stored. Only the items you confirm are saved.
|
|
176
|
+
|
|
177
|
+
**Which banks work?**
|
|
178
|
+
Most CSV exports work. It detects the date, description and amount (or debit/credit) columns, the delimiter, the date format (US, EU or ISO), and whether spending is shown as positive or negative. It also skips header lines some banks put above the data. If yours doesn't work, [open an issue](https://github.com/bishalkarki01/life-admin-mcp/issues/new/choose) with the header row and one made-up line. Never post real transactions: issues are public.
|
|
179
|
+
|
|
180
|
+
**Can I try it without my own data?**
|
|
181
|
+
Yes. Download [`sample-statement.csv`](https://raw.githubusercontent.com/bishalkarki01/life-admin-mcp/main/examples/sample-statement.csv), a realistic made-up year of card transactions, then ask your assistant to scan it using the full path where you saved it.
|
|
182
|
+
|
|
183
|
+
**Will it remind me on its own?**
|
|
184
|
+
Your assistant reminds you when you ask. For phone alerts, say "put it all on my calendar" and import the `.ics` file into your calendar app. The file is a snapshot, so export it again after changes. Don't rely on this tool alone for legal, travel or payment deadlines.
|
|
185
|
+
|
|
186
|
+
**Can I use different currencies?**
|
|
187
|
+
Yes. Totals are kept separately for each currency and never converted.
|
|
188
|
+
|
|
189
|
+
**Where's my data, and how do I back it up?**
|
|
190
|
+
It's one file at `~/.life-admin/life_admin.db` (on macOS and Linux, only your user account can read it). To back it up, ask "back up my data", or copy that file.
|
|
191
|
+
|
|
192
|
+
**How do I delete everything?**
|
|
193
|
+
Quit your MCP client and delete the `~/.life-admin/` folder (or the file you set with `--db`, plus any `-wal` and `-shm` files next to it).
|
|
194
|
+
|
|
195
|
+
## Privacy
|
|
196
|
+
|
|
197
|
+
The maintainer collects no data. Life Admin MCP has no servers, accounts, analytics or telemetry, and it stores your items in a local SQLite file that you control.
|
|
198
|
+
|
|
199
|
+
What the tools return (merchant names, amounts, dates, notes) goes into your conversation with your AI assistant. If that assistant uses a cloud model (Claude, ChatGPT, Cursor and so on), its provider processes that text under its own privacy terms. To keep raw statement rows out of the chat, give the assistant a file path instead of pasting the CSV. To keep everything on your machine, use a local model.
|
|
200
|
+
|
|
201
|
+
## Limitations
|
|
202
|
+
|
|
203
|
+
Life Admin MCP is a personal organiser, not financial, legal or tax advice. It finds subscriptions by spotting patterns, so it can miss charges, misread amounts or dates, or flag something you still need. "Unused" only means you haven't told it you used something. Reminders appear only when you ask your assistant or import a calendar file. It cannot cancel anything with a provider: check terms, notice periods and fees with the provider before you cancel. It is provided as is, with no warranty (see the [license](https://github.com/bishalkarki01/life-admin-mcp/blob/main/LICENSE)).
|
|
204
|
+
|
|
205
|
+
## Roadmap
|
|
206
|
+
|
|
207
|
+
- [x] Find subscriptions in a bank CSV export
|
|
208
|
+
- [x] Free trials, price history and a spending forecast
|
|
209
|
+
- [ ] OFX/QIF statement formats
|
|
210
|
+
- [ ] One-click Claude Desktop extension (`.mcpb`)
|
|
211
|
+
- [ ] Currency conversion with your own rates
|
|
212
|
+
- [ ] Shared household mode
|
|
213
|
+
|
|
214
|
+
Have an idea? [Open an issue](https://github.com/bishalkarki01/life-admin-mcp/issues/new/choose).
|
|
215
|
+
|
|
216
|
+
## Contributing
|
|
217
|
+
|
|
218
|
+
PRs are welcome. See [CONTRIBUTING.md](https://github.com/bishalkarki01/life-admin-mcp/blob/main/CONTRIBUTING.md). The setup takes about a minute:
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
pip install -e ".[dev]" && pytest
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
## Trademarks
|
|
225
|
+
|
|
226
|
+
Product and company names such as Netflix, Spotify, Hulu, Max, Apple, Adobe, Amazon, YouTube, Claude and Cursor are trademarks of their respective owners. They appear only to describe example transactions and compatible apps. Life Admin MCP is an independent project and is not affiliated with or endorsed by any of them, including Anthropic.
|
|
227
|
+
|
|
228
|
+
## License
|
|
229
|
+
|
|
230
|
+
[MIT](https://github.com/bishalkarki01/life-admin-mcp/blob/main/LICENSE). If this saves you money, a ⭐ helps other people find it.
|
|
231
|
+
|
|
232
|
+
<!-- mcp-name: io.github.bishalkarki01/life-admin-mcp -->
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# Life Admin MCP
|
|
4
|
+
|
|
5
|
+
**Give your AI assistant a bank statement. It finds the recurring charges you're paying for, warns you before free trials charge, and suggests what you could cancel.**
|
|
6
|
+
|
|
7
|
+
[](https://pypi.org/project/life-admin-mcp/)
|
|
8
|
+
[](https://github.com/bishalkarki01/life-admin-mcp/actions/workflows/ci.yml)
|
|
9
|
+

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
<img src="https://raw.githubusercontent.com/bishalkarki01/life-admin-mcp/main/docs/demo.gif" alt="Demo: scanning a year of bank transactions finds 12 recurring charges worth $3,406 a year, then asking what to cancel finds $1,067 a year" width="800">
|
|
14
|
+
|
|
15
|
+
<sub>Real tool output from a demo with a made-up user and made-up data. Your results will differ. [Watch the full 90-second demo](https://github.com/bishalkarki01/life-admin-mcp/raw/main/docs/demo.mp4).</sub>
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
In a 2022 survey, people guessed they spend about **$86 a month** on subscriptions; asked category by category, the figure was closer to **$219**, and 42% said they'd forgotten a subscription they were still paying for ([C+R Research survey, reported via NBC](https://www.nbcwashington.com/news/business/money-report/consumers-spend-an-average-133-more-each-month-on-subscriptions-than-they-realize-study-shows/3067565/)).
|
|
22
|
+
|
|
23
|
+
Life Admin MCP gives Claude, Cursor or any other MCP assistant a memory for this. You just talk to it:
|
|
24
|
+
|
|
25
|
+
> **You:** Here's my bank export for the last year. Find all my subscriptions.
|
|
26
|
+
> **Assistant:** I found 11 recurring charges you aren't tracking, about **$3,407 a year**. Netflix went up from $15.49 to $17.99 in September. PG&E varies from $52 to $129. HelloFresh looks cancelled. Which ones should I track?
|
|
27
|
+
|
|
28
|
+
> **You:** What's coming up in the next two weeks?
|
|
29
|
+
> **Assistant:** $2,254.47 in charges. Rent and the gym on Dec 1, then Netflix, Spotify and your phone. Heads-up: your fridge warranty already expired, and your MacBook's ends Dec 12.
|
|
30
|
+
|
|
31
|
+
> **You:** What could I cancel?
|
|
32
|
+
> **Assistant:** You last used the gym in September, and there's no recorded use of the yoga app or Hulu. Cancelling those and Max would save about **$1,067.64 a year**. You also pay for three streaming services.
|
|
33
|
+
|
|
34
|
+
## Why you'll like it
|
|
35
|
+
|
|
36
|
+
- 🔎 **Finds subscriptions you forgot.** Point it at a CSV from your bank or card app. It works with most banks' formats, removes the noise from merchant names, and finds anything that repeats weekly, monthly, quarterly or yearly. It spots price rises, tells variable bills apart from fixed ones, and flags subscriptions that have already stopped. It never stores the statement.
|
|
37
|
+
- ⏳ **Catches free trials.** It warns you before a trial becomes a paid subscription.
|
|
38
|
+
|
|
39
|
+
- 🔒 **Local storage, no network.** Everything is stored in one SQLite file on your computer. The server needs no account or API key, makes no network calls and has no telemetry. Your AI assistant does see tool results, so see [Privacy](#privacy).
|
|
40
|
+
- ⚡ **30-second setup.** One line in your MCP client's config.
|
|
41
|
+
- 🧠 **Remembers what you forget.**
|
|
42
|
+
- Recurring charges move to their next date automatically.
|
|
43
|
+
- A bill on the 31st stays at month-end.
|
|
44
|
+
- Your passport reminder can start 6 months early.
|
|
45
|
+
- 💸 **Finds savings.** It spots unused subscriptions, overlaps like three streaming services, and price increases since you started tracking.
|
|
46
|
+
- 📈 **Forecasts your spending.** It shows how much will go out each month for the next 1–36 months.
|
|
47
|
+
- 📅 **Works with your calendar.** It exports a standard `.ics` file with alerts for Google, Apple or Outlook calendars.
|
|
48
|
+
- ✅ **Well tested.**
|
|
49
|
+
- 103 tests run on Linux, macOS and Windows, on both MCP SDK v1 and v2.
|
|
50
|
+
- Every input is validated.
|
|
51
|
+
- Schema migrations keep your data safe across upgrades.
|
|
52
|
+
|
|
53
|
+
## Quick start
|
|
54
|
+
|
|
55
|
+
You need [uv](https://docs.astral.sh/uv/getting-started/installation/). To install it:
|
|
56
|
+
- macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh`
|
|
57
|
+
- Windows: `winget install astral-sh.uv`
|
|
58
|
+
|
|
59
|
+
<details open>
|
|
60
|
+
<summary><b>Claude Desktop</b></summary>
|
|
61
|
+
|
|
62
|
+
Open **Settings → Developer → Edit Config** and add this:
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{
|
|
66
|
+
"mcpServers": {
|
|
67
|
+
"life-admin": { "command": "uvx", "args": ["life-admin-mcp"] }
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Restart Claude, then say: *"Track my Netflix, $15.49 monthly, renews on the 2nd."*
|
|
73
|
+
</details>
|
|
74
|
+
|
|
75
|
+
<details>
|
|
76
|
+
<summary><b>Claude Code</b></summary>
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
claude mcp add life-admin -- uvx life-admin-mcp
|
|
80
|
+
```
|
|
81
|
+
</details>
|
|
82
|
+
|
|
83
|
+
<details>
|
|
84
|
+
<summary><b>Cursor, VS Code, Windsurf and other clients</b></summary>
|
|
85
|
+
|
|
86
|
+
Add a stdio server with the command `uvx` and the argument `life-admin-mcp`. The JSON is the same as for Claude Desktop.
|
|
87
|
+
</details>
|
|
88
|
+
|
|
89
|
+
<details>
|
|
90
|
+
<summary><b>pip, pipx or Docker</b></summary>
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pipx install life-admin-mcp # then use the command: life-admin-mcp
|
|
94
|
+
docker build -t life-admin-mcp . && docker run -i --rm -v life-admin:/data life-admin-mcp
|
|
95
|
+
```
|
|
96
|
+
</details>
|
|
97
|
+
|
|
98
|
+
## Things to ask
|
|
99
|
+
|
|
100
|
+
| Say this | What happens |
|
|
101
|
+
|---|---|
|
|
102
|
+
| "Find my subscriptions in ~/Downloads/statement.csv" | Lists recurring charges with yearly costs, price changes and ones that look cancelled, then asks which to track |
|
|
103
|
+
| "I started a Duolingo trial, it ends Dec 10 and then costs $12.99 a month" | Tracked as a trial, with a warning before it starts charging |
|
|
104
|
+
| "Add my rent, $2,100 on the 1st of every month" | Tracked; shows up in "what's due" from 7 days ahead |
|
|
105
|
+
| "My passport expires 2027-05-02, warn me 6 months before" | Shows up in "what's due" from November |
|
|
106
|
+
| "What's due this week?" | Charges and expiries, with expired items flagged first |
|
|
107
|
+
| "How much do I spend on subscriptions?" | Monthly and yearly totals by category and currency |
|
|
108
|
+
| "What could I cancel?" | Unused subscriptions and overlaps, with the yearly saving |
|
|
109
|
+
| "I used Spotify today" | Usage is recorded, which makes cancel suggestions accurate |
|
|
110
|
+
| "Netflix went up to $17.99" | The item is updated |
|
|
111
|
+
| "Put it all on my calendar" | An `.ics` file with alerts |
|
|
112
|
+
| "Back up my data" | A JSON export you can restore later |
|
|
113
|
+
| "What will I spend each month until June?" | A month-by-month forecast |
|
|
114
|
+
| "Do my weekly review" | Runs the built-in `weekly_review` prompt |
|
|
115
|
+
|
|
116
|
+
## Tools
|
|
117
|
+
|
|
118
|
+
| Tool | Purpose | Kind |
|
|
119
|
+
|---|---|---|
|
|
120
|
+
| `scan_statement` | Find recurring charges in a bank or card CSV. Nothing is stored. | read-only |
|
|
121
|
+
| `add_item` | Track a subscription, free trial, bill, warranty, document or renewal | write |
|
|
122
|
+
| `list_items` | List everything, soonest first | read-only |
|
|
123
|
+
| `get_upcoming` | Show what's due, what's expired, and heads-ups | read-only |
|
|
124
|
+
| `spending_summary` | Show totals by currency and category | read-only |
|
|
125
|
+
| `find_savings` | Find unused subscriptions and overlaps | read-only |
|
|
126
|
+
| `mark_used` | Record that you used a subscription | write |
|
|
127
|
+
| `update_item` | Change any field | write |
|
|
128
|
+
| `cancel_item` / `reactivate_item` | Stop or resume tracking. This does not cancel anything with the provider; history is kept | write |
|
|
129
|
+
| `delete_item` | Permanently delete an item | **destructive** |
|
|
130
|
+
| `forecast` | Show money going out per month | read-only |
|
|
131
|
+
| `get_item` | Show full details, including price history | read-only |
|
|
132
|
+
| `export_calendar` | Export an RFC 5545 `.ics` file with alarms | read-only |
|
|
133
|
+
| `export_data` / `import_data` | Back up or restore as JSON | read / write |
|
|
134
|
+
|
|
135
|
+
It also includes the resource `life-admin://upcoming` and two prompts: `import_statement` (a guided first-time setup from your bank export) and `weekly_review`. Each tool tells your client whether it only reads, changes data or deletes, so the client can ask before anything risky.
|
|
136
|
+
|
|
137
|
+
## Configuration
|
|
138
|
+
|
|
139
|
+
| Setting | Default |
|
|
140
|
+
|---|---|
|
|
141
|
+
| `--db PATH` or `LIFE_ADMIN_DB` | `~/.life-admin/life_admin.db` |
|
|
142
|
+
| `--log-level` or `LIFE_ADMIN_LOG_LEVEL` | `WARNING` (logs go to stderr) |
|
|
143
|
+
| `--transport http --port 8765` | Streamable HTTP at `http://127.0.0.1:8765/mcp`, for clients that need a URL |
|
|
144
|
+
|
|
145
|
+
HTTP mode only listens on your own machine, because it has no login. To bind it to another address you must add `--allow-remote`, and you should only do that behind your own authenticating proxy.
|
|
146
|
+
|
|
147
|
+
## FAQ
|
|
148
|
+
|
|
149
|
+
**Does it connect to my bank?**
|
|
150
|
+
No, and that's on purpose: the server never connects to your bank or the internet. Export a CSV from your bank or card app (most have "Download transactions") and ask your assistant to scan it. The statement is analysed in memory and never stored. Only the items you confirm are saved.
|
|
151
|
+
|
|
152
|
+
**Which banks work?**
|
|
153
|
+
Most CSV exports work. It detects the date, description and amount (or debit/credit) columns, the delimiter, the date format (US, EU or ISO), and whether spending is shown as positive or negative. It also skips header lines some banks put above the data. If yours doesn't work, [open an issue](https://github.com/bishalkarki01/life-admin-mcp/issues/new/choose) with the header row and one made-up line. Never post real transactions: issues are public.
|
|
154
|
+
|
|
155
|
+
**Can I try it without my own data?**
|
|
156
|
+
Yes. Download [`sample-statement.csv`](https://raw.githubusercontent.com/bishalkarki01/life-admin-mcp/main/examples/sample-statement.csv), a realistic made-up year of card transactions, then ask your assistant to scan it using the full path where you saved it.
|
|
157
|
+
|
|
158
|
+
**Will it remind me on its own?**
|
|
159
|
+
Your assistant reminds you when you ask. For phone alerts, say "put it all on my calendar" and import the `.ics` file into your calendar app. The file is a snapshot, so export it again after changes. Don't rely on this tool alone for legal, travel or payment deadlines.
|
|
160
|
+
|
|
161
|
+
**Can I use different currencies?**
|
|
162
|
+
Yes. Totals are kept separately for each currency and never converted.
|
|
163
|
+
|
|
164
|
+
**Where's my data, and how do I back it up?**
|
|
165
|
+
It's one file at `~/.life-admin/life_admin.db` (on macOS and Linux, only your user account can read it). To back it up, ask "back up my data", or copy that file.
|
|
166
|
+
|
|
167
|
+
**How do I delete everything?**
|
|
168
|
+
Quit your MCP client and delete the `~/.life-admin/` folder (or the file you set with `--db`, plus any `-wal` and `-shm` files next to it).
|
|
169
|
+
|
|
170
|
+
## Privacy
|
|
171
|
+
|
|
172
|
+
The maintainer collects no data. Life Admin MCP has no servers, accounts, analytics or telemetry, and it stores your items in a local SQLite file that you control.
|
|
173
|
+
|
|
174
|
+
What the tools return (merchant names, amounts, dates, notes) goes into your conversation with your AI assistant. If that assistant uses a cloud model (Claude, ChatGPT, Cursor and so on), its provider processes that text under its own privacy terms. To keep raw statement rows out of the chat, give the assistant a file path instead of pasting the CSV. To keep everything on your machine, use a local model.
|
|
175
|
+
|
|
176
|
+
## Limitations
|
|
177
|
+
|
|
178
|
+
Life Admin MCP is a personal organiser, not financial, legal or tax advice. It finds subscriptions by spotting patterns, so it can miss charges, misread amounts or dates, or flag something you still need. "Unused" only means you haven't told it you used something. Reminders appear only when you ask your assistant or import a calendar file. It cannot cancel anything with a provider: check terms, notice periods and fees with the provider before you cancel. It is provided as is, with no warranty (see the [license](https://github.com/bishalkarki01/life-admin-mcp/blob/main/LICENSE)).
|
|
179
|
+
|
|
180
|
+
## Roadmap
|
|
181
|
+
|
|
182
|
+
- [x] Find subscriptions in a bank CSV export
|
|
183
|
+
- [x] Free trials, price history and a spending forecast
|
|
184
|
+
- [ ] OFX/QIF statement formats
|
|
185
|
+
- [ ] One-click Claude Desktop extension (`.mcpb`)
|
|
186
|
+
- [ ] Currency conversion with your own rates
|
|
187
|
+
- [ ] Shared household mode
|
|
188
|
+
|
|
189
|
+
Have an idea? [Open an issue](https://github.com/bishalkarki01/life-admin-mcp/issues/new/choose).
|
|
190
|
+
|
|
191
|
+
## Contributing
|
|
192
|
+
|
|
193
|
+
PRs are welcome. See [CONTRIBUTING.md](https://github.com/bishalkarki01/life-admin-mcp/blob/main/CONTRIBUTING.md). The setup takes about a minute:
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
pip install -e ".[dev]" && pytest
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
## Trademarks
|
|
200
|
+
|
|
201
|
+
Product and company names such as Netflix, Spotify, Hulu, Max, Apple, Adobe, Amazon, YouTube, Claude and Cursor are trademarks of their respective owners. They appear only to describe example transactions and compatible apps. Life Admin MCP is an independent project and is not affiliated with or endorsed by any of them, including Anthropic.
|
|
202
|
+
|
|
203
|
+
## License
|
|
204
|
+
|
|
205
|
+
[MIT](https://github.com/bishalkarki01/life-admin-mcp/blob/main/LICENSE). If this saves you money, a ⭐ helps other people find it.
|
|
206
|
+
|
|
207
|
+
<!-- mcp-name: io.github.bishalkarki01/life-admin-mcp -->
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Security policy
|
|
2
|
+
|
|
3
|
+
## Reporting a vulnerability
|
|
4
|
+
|
|
5
|
+
Please **don't open a public issue**. Instead, use GitHub's private reporting:
|
|
6
|
+
[Report a vulnerability](https://github.com/bishalkarki01/life-admin-mcp/security/advisories/new).
|
|
7
|
+
|
|
8
|
+
You'll get a reply within 7 days. Once a fix ships, you'll be credited unless you'd rather not be.
|
|
9
|
+
|
|
10
|
+
## Supported versions
|
|
11
|
+
|
|
12
|
+
Security fixes go into the latest release.
|
|
13
|
+
|
|
14
|
+
## Design
|
|
15
|
+
|
|
16
|
+
- **No network access.** The server makes no outbound connections and collects no telemetry.
|
|
17
|
+
- **Narrow file access.** It writes only to its own SQLite database (`~/.life-admin/` by default), which it creates so only your user can open it. The only other files it reads are statements passed to `scan_statement` as `csv_path`: any `.csv`, `.tsv` or `.txt` file under 5 MB that your account can read. Keep your client's tool-approval prompts on to see which file it reads.
|
|
18
|
+
- **Statements stay in memory.** `scan_statement` analyses a statement in memory and never stores it. With `csv_path` it opens only `.csv`, `.tsv` or `.txt` files under 5 MB.
|
|
19
|
+
- **HTTP stays local.** HTTP mode binds to 127.0.0.1 and refuses other addresses unless you pass `--allow-remote`, because it has no authentication.
|
|
20
|
+
- **Validated input.** Every tool input is checked for type, range and length, and SQL queries use bound parameters.
|
|
21
|
+
- **Clear risk labels.** Tools are annotated as read-only, write or destructive, so MCP clients can ask before risky calls.
|