pointmaxx-mcp 0.0.0-stage → 0.1.0
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.
- package/LICENSE +21 -0
- package/README.md +32 -2
- package/lib/CARDPIN-LICENSE.txt +21 -0
- package/lib/cards.json +4138 -0
- package/lib/category-model.json +1 -0
- package/lib/engine.cjs +1214 -0
- package/lib/pick.cjs +91 -0
- package/lib/stores.json +60 -0
- package/package.json +15 -4
- package/server.mjs +196 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 PointMaxx
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PointMaxx MCP server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Lets an AI assistant (Claude, or any app that speaks the Model Context Protocol) ask PointMaxx three things:
|
|
4
|
+
|
|
5
|
+
- **best_card**: which of your cards earns the most at a store or in a category.
|
|
6
|
+
- **compare_cards**: which one, two and three cards would earn the most on your monthly spending, after fees, and how much more that is than your cards.
|
|
7
|
+
- **card_terms**: a card's fee, rates, caps and credits, and when they were last checked; with no card, every card it knows (54, one of them closed to new applicants).
|
|
8
|
+
|
|
9
|
+
It uses the site's own engine (`public/engine.js`, `public/cards.json`) and the extension's per-purchase ranking (`extension/pick.js`), so all three give the same answers.
|
|
10
|
+
|
|
11
|
+
## Privacy
|
|
12
|
+
It runs on your own machine over stdio and makes no network requests. It takes card names and monthly totals by category, never statements or card numbers, and saves nothing.
|
|
13
|
+
|
|
14
|
+
## Use it with Claude Desktop
|
|
15
|
+
Add this to Claude Desktop's config (Settings, then Developer, then Edit Config), then restart Claude:
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"mcpServers": {
|
|
20
|
+
"pointmaxx": { "command": "npx", "args": ["-y", "pointmaxx-mcp"] }
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Needs Node 18 or later. Other MCP apps take the same command: `npx -y pointmaxx-mcp`.
|
|
26
|
+
|
|
27
|
+
From a copy of this repo instead, use `"command": "node", "args": ["/full/path/to/card-backtest/mcp/server.mjs"]` after running `node mcp/build.mjs`.
|
|
28
|
+
|
|
29
|
+
## Test
|
|
30
|
+
`node mcp/build.mjs && node mcp/server.test.mjs` copies in the engine and card data, then runs it over stdio and checks its answers against the engine.
|
|
31
|
+
|
|
32
|
+
## Publishing
|
|
33
|
+
`cd mcp && npm publish` (prepack copies the engine and card data into `lib/`). Bump `version` in `mcp/package.json` whenever `public/cards.json` changes, so people get the new terms.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026
|
|
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.
|