Tmp.Rd8dBLUSJc
简介
Tmp.Rd8dBLUSJc
原始描述
Access Credit Karma transaction data via MCP. Use when the user asks about their Credit Karma transactions, spending by category or merchant, account summari...
通过你的 Agent 添加
安装目录:tmp-rd8dblusjc/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: creditkarma-mcp
description: Access Credit Karma transaction data via MCP. Use when the user asks about their Credit Karma transactions, spending by category or merchant, account summaries, or wants to sync or query their financial data. Triggers on phrases like "sync my transactions", "what did I spend on", "show my Credit Karma data", "spending by category", "top merchants", or any request involving personal finance data from Credit Karma. Requires creditkarma-mcp installed and the creditkarma server registered (see Setup below).
creditkarma-mcp
MCP server for Credit Karma — syncs transactions into a local SQLite database and provides natural-language querying tools.
Setup
Option A — npx (recommended)
Add to .mcp.json in your project or ~/.claude/mcp.json:
{
"mcpServers": {
"creditkarma": {
"command": "npx",
"args": ["-y", "creditkarma-mcp"],
"env": {
"CK_COOKIES": "CKTRKID=...; CKAT=eyJ...%3BeyJ...; ..."
}
}
}
}
Option B — from source
git clone https://github.com/chrischall/creditkarma-mcp
cd creditkarma-mcp
npm install && npm run build
git clone https://github.com/chrischall/creditkarma-mcp
cd creditkarma-mcp
npm install && npm run build
Then add to .mcp.json:
{
"mcpServers": {
"creditkarma": {
"command": "node",
"args": ["/path/to/creditkarma-mcp/dist/index.js"],
"env": {
"CK_COOKIES": "CKTRKID=...; CKAT=eyJ...%3BeyJ...; ..."
}
}
}
}
Or use a .env file in the project directory with CK_COOKIES=<value>.
Getting CK_COOKIES (optional)
Three onboarding paths, in priority order:
1. fetchproxy extension (easiest — no env vars): Install the fetchproxy 0.3.0 extension, sign into creditkarma.com once, and leave CK_COOKIES unset. The MCP reads HttpOnly CKAT + CKTRKID cookies on the first tool call via chrome.cookies.get, then operates direct-to-API from Node.
2. ck_set_session MCP tool: From within Claude, call ck_set_session with a Cookie header you copied from DevTools (see below). The tool persists it to .env.
3. Manual (DevTools):
- Log in to creditkarma.com in Chrome
- DevTools → Network → any creditkarma.com request → Request Headers
- Right-click the
cookieheader → Copy value - Paste into
CK_COOKIESin your Claude config
Authentication
The MCP handles auth automatically once any of the three paths is configured.
- Access token: ~15 min TTL, auto-refreshed transparently
- Refresh token: ~8 hours TTL
- When expired:
- fetchproxy path: sign back into creditkarma.com — the MCP reads fresh cookies on the next tool call
- env-var / ck_set_session path: grab a fresh Cookie header from DevTools and update
CK_COOKIES(or callck_set_sessionagain)
Tools
Auth
| Tool | Description |
|---|---|
ck_set_session(cookies) |
Store credentials — paste the full Cookie header from a signed-in creditkarma.com request |
Sync
Tool
Description
ck_sync_transactions(force_full?)
Sync transactions to local SQLite. Incremental by default (since last sync − 30 days). force_full=true re-fetches everything.
Query
Tool
Description
ck_list_transactions(start_date?, end_date?, account?, category?, merchant?, status?, min_amount?, max_amount?, limit?, offset?)
Filtered, paginated transaction list
ck_get_recent_transactions(limit?)
N most recent transactions (default 20)
ck_get_spending_by_category(start_date?, end_date?)
Spending totals grouped by category
ck_get_spending_by_merchant(start_date?, end_date?, limit?)
Spending totals grouped by merchant
ck_get_account_summary
Transaction counts and totals per account
ck_query_sql(sql)
Read-only SQL query against the local database (SELECT only)
Workflows
| Tool | Description |
|---|---|
ck_sync_transactions(force_full?) |
Sync transactions to local SQLite. Incremental by default (since last sync − 30 days). force_full=true re-fetches everything. |
| Tool | Description |
|---|---|
ck_list_transactions(start_date?, end_date?, account?, category?, merchant?, status?, min_amount?, max_amount?, limit?, offset?) |
Filtered, paginated transaction list |
ck_get_recent_transactions(limit?) |
N most recent transactions (default 20) |
ck_get_spending_by_category(start_date?, end_date?) |
Spending totals grouped by category |
ck_get_spending_by_merchant(start_date?, end_date?, limit?) |
Spending totals grouped by merchant |
ck_get_account_summary |
Transaction counts and totals per account |
ck_query_sql(sql) |
Read-only SQL query against the local database (SELECT only) |
Workflows
First-time setup:
- Easiest: install the fetchproxy extension, sign into creditkarma.com, leave
CK_COOKIESunset. - Or: copy the Cookie header from DevTools and either set
CK_COOKIESin your config or callck_set_session(cookies)from within Claude. ck_sync_transactions→ initial full sync
Regular use:
ck_sync_transactions→ pull latest transactions- Then query with any of the query tools
Spending analysis:
ck_sync_transactions
ck_get_spending_by_category(start_date: "2026-01-01", end_date: "2026-03-31")
ck_get_spending_by_merchant(start_date: "2026-01-01", limit: 10)
Custom analysis with SQL:
-- Monthly spending totals
SELECT strftime('%Y-%m', date) AS month, SUM(ABS(amount)) AS total
FROM transactions WHERE amount < 0
GROUP BY month ORDER BY month DESC
-- Spending by category this year
SELECT c.name, SUM(ABS(t.amount)) AS total
FROM transactions t JOIN categories c ON t.category_id = c.id
WHERE t.date >= '2026-01-01' AND t.amount < 0
GROUP BY c.name ORDER BY total DESC
Database schema
transactions (id, date, description, status, amount, account_id, category_id, merchant_id, raw_json)
accounts (id, name, type, provider_name, display)
categories (id, name, type)
merchants (id, name)
sync_state (key, value)
Notes
- All query tools run against the local SQLite database — sync first
- Amounts: negative = expense/debit, positive = credit/income
ck_query_sql only allows SELECT — no writes to Credit Karma data
- Sync saves a resume cursor — interrupted syncs can be resumed automatically
accounts.id is a synthesized stable key in the form <provider>|<last4> (e.g. Citi|2630, Ally|7133) because CK's API returns empty account.id strings. The same card under two provider-name spellings shows as two rows.
transactions (id, date, description, status, amount, account_id, category_id, merchant_id, raw_json)
accounts (id, name, type, provider_name, display)
categories (id, name, type)
merchants (id, name)
sync_state (key, value)
- All query tools run against the local SQLite database — sync first
- Amounts: negative = expense/debit, positive = credit/income
ck_query_sqlonly allows SELECT — no writes to Credit Karma data- Sync saves a resume cursor — interrupted syncs can be resumed automatically
accounts.idis a synthesized stable key in the form<provider>|<last4>(e.g.Citi|2630,Ally|7133) because CK's API returns emptyaccount.idstrings. The same card under two provider-name spellings shows as two rows.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。