The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Kansei MCP Server listing page.
Reduce your AI agent's token waste with collective intelligence.
Your agent burns tokens on three things: searching for SaaS docs it could look up locally, retrying errors other agents already solved, and re-reading context it already processed. KanseiLink tackles the first two — and measures all three so you know exactly where your tokens go.
Measured savings: 89–97% on SaaS integration research (avg ~16,800 tokens without → ~950 with KanseiLink, across 7 services).
If KanseiLink saves your agent tokens, give it a star ⭐ — 700+ developers install it from npm every month, and stars are how the next one finds it.
Works with Claude Code, Cursor, Cline, Zed, Windsurf — any MCP client.
Add to your config (claude_desktop_config.json, .cursor/mcp.json, etc.):
Or with Claude Code CLI:
KanseiLink measures — locally, on your machine — how many tokens your agent sessions consume and how much of that KanseiLink saved you, then renders a monthly "Wrapped" share card.
1. Install the measurement hooks (one command, idempotent, backs up your settings first):
This adds a Stop/SessionEnd hook that parses each session transcript
and writes token totals + KanseiLink call stats to
~/.kansei-link/usage/. Nothing is uploaded.
2. See your report any time:
The report separates measured numbers (your total tokens, KanseiLink call counts and response sizes — parsed from your own transcripts) from estimated ones (the avoided web-research cost, based on the 2026-04-16 freee/kintone/smarthr benchmark) — labels shown on every surface.
It also shows where your agent got stuck: failed tool calls, retry chains (2+ consecutive failures of the same tool), the tokens burned while stuck, and your worst-failing tools.
--share submits only scalar monthly aggregates (anonymous id + token
counts, never content) and returns how you rank among measured users
("top X% saver"). Below 20 measured users for the month, you get the
cohort size instead of a rank.
Disable measurement anytime: export KANSEI_USAGE_HOOK=off, or
kansei-link-install-hooks --remove.
The core reason agents waste tokens on SaaS APIs: they search docs, guess auth flows, and recover from errors — every single time. KanseiLink ships a local SQLite DB so your agent gets the answer on the first try.
| Count | Description | |
|---|---|---|
| Services | 11,000+ | MCP servers and SaaS APIs across 23 categories (2,257 MCP-verified via handshake) |
| Recipes | 200 | Multi-service workflow compositions (standup, PR review, incident response, onboarding...) |
| API Guides | 199 | Auth setup, endpoints, rate limits, pitfalls, and workarounds |
| Trust Scores | Weekly | Based on automated health probes + real agent usage data |
All data ships inside the npm package as a local SQLite DB. Zero API calls needed. No server dependency, no signup.
| Without KanseiLink | With KanseiLink |
|---|---|
web_search "freee API auth" | search_services({ intent: "send invoice" }) |
web_fetch docs landing page (SPA, mostly nav) | lookup({ service_id: "freee" }) |
web_fetch endpoint reference | Agent has auth flow, pitfalls, workarounds |
web_fetch auth guide | in ~950 tokens |
| Trial-and-error on wrong params | First try succeeds |
| ~16,800 tokens burned | 89–97% saved |
Installing the MCP alone doesn't teach Claude Code when to call KanseiLink. The bundled skill fixes that:
This copies a SKILL.md to ~/.claude/skills/kansei-link/. Claude Code auto-discovers it and fires the skill on phrases like "connect to Stripe", "Slack MCPある?", "send invoice via freee" — no need to say "use KanseiLink".
Auto-capture success/failure after every MCP call (agents tend to forget reporting).
Consent (v1.2, BREAKING). Installing the hook alone no longer transmits
anything. All central transmission is governed by one consent gate
(~/.kansei-link/consent.json), with this priority:
DO_NOT_TRACK=1 / explicit OFF → explicit ON (KANSEI_REPORT_HOOK=on) →
Live Updates consent (npx -y @kansei-link/mcp-server kansei-link-live-updates --enable) →
default OFF (Local Mode, zero transmission). Existing hook users are OFF
until they re-consent. Manage: kansei-link-live-updates --status|--enable|--disable,
kansei-link-privacy --status|--reset-id.
What this hook sends when enabled (and what it never sends). A small
pseudonymous event to KanseiLink's hosted endpoint after each MCP tool call. The payload is a fixed
7-field set, frozen by a snapshot test (scripts/smoke-hook-payload.mjs):
auth_error), a fixed context stringInstalling the hook does NOT opt you in — transmission requires the consent gate above (Live Updates consent, or an explicit KANSEI_REPORT_HOOK=on). Disable anytime: kansei-link-live-updates --disable or export KANSEI_REPORT_HOOK=off.
Add to ~/.claude/settings.json:
Disable anytime: export KANSEI_REPORT_HOOK=off
v1.0 consolidates the tool surface from 25 individual tools into 5 unified tools with mode auto-detection.
| Tool | Modes | Description |
|---|---|---|
search_services | -- | Find services by intent (FTS5 + trigram + category boost) |
lookup | 8 modes | Get tips, detail, insights, recipes, combinations, history, feedback, voices |
report | 4 modes | Report outcomes, submit feedback, record events, share your voice |
| Tool | Modes | Description |
|---|---|---|
inspect | 8 modes | Colony health: inspection queue, anomaly verification, update proposals, snapshots |
analyze | 4 modes | Analytics: token savings, cost audit, AEO reports and articles |
| Mode | Trigger | Example |
|---|---|---|
| tips (default) | service_id alone | lookup({ service_id: "freee" }) |
| detail | detail: true | lookup({ service_id: "freee", detail: true }) |
| insights | insights: true | lookup({ service_id: "freee", insights: true }) |
| recipe | goal | lookup({ goal: "onboard employee" }) |
| combinations | service (fuzzy name) | lookup({ service: "freee" }) |
| history | period | lookup({ service_id: "freee", period: "30d" }) |
| feedback | feedback_status | lookup({ feedback_status: "open" }) |
| voices | mode: "voices" | lookup({ mode: "voices", service_id: "freee" }) |
| Mode | Trigger | Example |
|---|---|---|
| outcome | success (boolean) | report({ service_id: "freee", success: true }) |
| feedback | subject + body | report({ subject: "...", body: "..." }) |
| event | event_type | report({ event_type: "api_change", event_date: "2025-01-15", title: "..." }) |
| voice | question_id | report({ question_id: "best_feature", response_text: "...", service_id: "freee" }) |
Find and integrate a service:
Multi-service workflow:
Share your honest opinion:
CRM, Project Management, Communication, Accounting, HR, E-commerce, Legal, Marketing, Groupware, Productivity, Storage, Support, Payment, Logistics, Reservation, Data Integration, BI/Analytics, Security, Developer Tools, AI/ML, Database, Design, DevOps
KanseiLink doubles as an Agent Readiness Index (ARI) evaluation platform. Real agents using real APIs generate objective telemetry — success rates, latency, error patterns, and resolution paths — that no survey or benchmark can replicate.
What we can show you:
This data comes from the same MCP that saves individual developers tokens — the collective intelligence that helps agents is the same signal that evaluates services.
See kansei-link.com or reach out.
KanseiLink is privacy-preserving by default:
~/.kansei-link/usage/ on your machine. Nothing is uploaded unless you opt in with --share, which sends only scalar aggregates (token counts), never content.report call scrubs emails, phone numbers, IP addresses, and Japanese names before storage.See SECURITY.md for full details.
npx -y @kansei-link/mcp-server kansei-link-install-skill.kansei-link:
search_services returns nothing for a service I know exists.search_services({ intent: "...", category: "accounting" }).report({ subject: "Missing: ServiceX", body: "..." }).lookup({ service_id: "..." }) — it returns known OAuth pitfalls and refresh-token workarounds.report({ service_id: "...", success: false, error_type: "auth_error", workaround: "..." }) — your fix helps the next agent.PRs welcome. If you find a service that's missing or has wrong info, the fastest path is:
io.github.kansei-link/kansei-mcp-serverMIT — Synapse Arrows PTE. LTD.