Kansei Mcp Server

io.github.kansei-link由 GitHub 帳號 kansei-link 發布v1.3.0更新於 Oct 26, 2026

Reduce your AI agent's token waste with collective intelligence — SaaS integration recipes

已驗證Streamable HTTP可網頁執行知識與記憶開發者工具

概覽

AI 產生的概覽

一個 SaaS 整合知識庫,讓助理在撰寫 API 整合程式碼前查詢最新的驗證流程、常見陷阱與工作流程配方。

可以做什麼
  • 依意圖或類別搜尋 SaaS 服務與 MCP 伺服器目錄
  • 查詢某個服務的驗證要點、完整串接指南、使用洞察、歷史紀錄、社群回饋與代理評價
  • 依目標取得多服務工作流程配方與服務組合
  • 回報整合結果、回饋、事件或意見
  • 讀取並貢獻關於錯誤與替代做法的共享現場筆記
適用情境
適合在助理準備整合、串接或自動化某個 SaaS API,否則得翻文件並猜測驗證流程時使用。它著重減少整合過程的試錯成本,不適用於與 SaaS 無關的純程式碼問題。
執行需求
可使用託管的遠端端點 mcp.kansei-link.com(不需金鑰或註冊),或透過 npx 執行本機 npm 套件,後者需要 Node.js,並會用內附的公開目錄副本建立本機 SQLite 資料庫。搜尋與查詢不需要 API 金鑰或環境變數。
安裝前請注意
report 工具可發布筆記與回饋,伺服器的其他使用者能讀到,因此只應分享已獲授權且不含敏感資訊的摘要。託管伺服器會記錄每次呼叫的計數(工具名稱、服務 id、結果)。選用掛鉤與每月報告可傳送匿名事件資料或匿名 token 彙總,但僅在明確選擇加入後才會發生;測量掛鉤會寫入本機目錄,可隨時關閉。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Kansei Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.kansei-link%2Fkansei-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "kansei": {
      "type": "http",
      "url": "https://mcp.kansei-link.com/mcp"
    }
  }
}

README

KanseiLink MCP Server

[npm version] [npm downloads] [GitHub stars]

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).

How It Works

Install MCP → agent wastes fewer tokens (lookup + collective intelligence)                    ↓            usage data stays local (opt-in: anonymous scalars only)                    ↓            collective intelligence grows → everyone's agent gets smarter
  1. Measure — auto-installed hooks track every session: total tokens, cache split, error loops, stuck time. Nothing leaves your machine.
  2. Reduce — SaaS lookup eliminates trial-and-error on API integrations. Error-resolution intelligence (coming soon) prevents repeat failures across the community.
  3. Compare — opt-in monthly "Wrapped" report shows where your tokens went and how you rank among measured users.

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.

Quick Start

Add by URL — the hosted server, always on the current data. No key, no sign-up.

bash
claude mcp add --transport http kansei-link https://mcp.kansei-link.com/mcp

Cursor, Windsurf, Cline, Zed — any client that takes a URL (.cursor/mcp.json and the like):

json
{  "mcpServers": {    "kansei-link": { "url": "https://mcp.kansei-link.com/mcp" }  }}

Claude Desktop: Settings → Connectors → Add custom connector → https://mcp.kansei-link.com/mcp.

What the hosted server keeps about a call is one line of counts — tool name, service id, outcome — never your text. The full list is in SECURITY.md → What the server can see.

Offline, or no network calls at all — the npm package runs locally on a small public copy of the catalogue (one card per service, recipes, API guides) and sends nothing:

bash
claude mcp add -s user kansei-link -- npx -y @kansei-link/mcp-server
json
{  "mcpServers": {    "kansei-link": {      "command": "npx",      "args": ["-y", "@kansei-link/mcp-server"]    }  }}

Works with Claude Code, Claude Desktop, Cursor, Cline, Zed, Windsurf — any MCP client.

Wrapped: Your Monthly Agent Fuel-Efficiency Report

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):

bash
npx -y -p @kansei-link/mcp-server kansei-link-install-hooks

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:

bash
npx -y -p @kansei-link/mcp-server kansei-link-wrapped            # current month (JA)npx -y -p @kansei-link/mcp-server kansei-link-wrapped --lang en  # Englishnpx -y -p @kansei-link/mcp-server kansei-link-wrapped --share    # opt-in: get your rank

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.

SaaS Integration Intelligence

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 built from the public copy of its catalogue so your agent gets the answer on the first try; the full picture (scores, probes, history) lives on the hosted server and on the site.

CountDescription
Services11,293MCP servers and SaaS APIs across 49 categories (2,257 endpoints answered our MCP handshake probe as of 2026-06-09)
Recipes200Multi-service workflow compositions (standup, PR review, incident response, onboarding...)
API Guides199Auth setup, endpoints, rate limits, pitfalls, and workarounds
Trust ScoresWeeklyBased on automated health probes + real agent usage data

The npm package ships the public copy of the data (one card per service, recipes, API guides, the last 90 days of the changelog — since 1.3.0) and builds a local SQLite DB from it. No API calls are needed to search or look up a service, no server dependency, no signup. What is not in the copy — internal scores, probe results, agent voices, raw registry dumps — stays on the hosted server; when a lookup misses, the tool points you to https://kansei-link.com/services/<id>/ and to ask.

Without vs. With KanseiLink

Without KanseiLinkWith 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 referenceAgent has auth flow, pitfalls, workarounds
web_fetch auth guidein ~950 tokens
Trial-and-error on wrong paramsFirst try succeeds
~16,800 tokens burned89–97% saved

Claude Code: install the skill (auto-invocation)

Installing the MCP alone doesn't teach Claude Code when to call KanseiLink. The bundled skill fixes that:

bash
npx -y -p @kansei-link/mcp-server kansei-link-install-skill

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".

Optional: PostToolUse hook

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 -p @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):

  • sent: service slug (or MCP server name), success/failure, tool name, error category (e.g. auth_error), a fixed context string
  • never sent: prompts, tool inputs/outputs, page/customer/record names, API keys, file paths, free text of any kind. No account or machine identifier is attached.

Installing 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:

json
{  "hooks": {    "PostToolUse": [{      "matcher": "mcp__.*",      "hooks": [{ "type": "command", "command": "npx -y -p @kansei-link/mcp-server kansei-link-report-hook" }]    }]  }}

Disable anytime: export KANSEI_REPORT_HOOK=off

Tools (5)

v1.0 consolidates the tool surface from 25 individual tools into 5 unified tools with mode auto-detection.

Standard Flow (3 tools — all you need)

search_services --> lookup --> (execute your API call) --> report
ToolModesDescription
search_services--Find services by intent (FTS5 + trigram + category boost)
lookup8 modesGet tips, detail, insights, recipes, combinations, history, feedback, voices
report4 modesReport outcomes, submit feedback, record events, share your voice

Admin Tools (2 additional)

ToolModesDescription
inspect8 modesColony health: inspection queue, anomaly verification, update proposals, snapshots
analyze4 modesAnalytics: token savings, cost audit, AEO reports and articles

Lookup Modes

ModeTriggerExample
tips (default)service_id alonelookup({ service_id: "freee" })
detaildetail: truelookup({ service_id: "freee", detail: true })
insightsinsights: truelookup({ service_id: "freee", insights: true })
recipegoallookup({ goal: "onboard employee" })
combinationsservice (fuzzy name)lookup({ service: "freee" })
historyperiodlookup({ service_id: "freee", period: "30d" })
feedbackfeedback_statuslookup({ feedback_status: "open" })
voicesmode: "voices"lookup({ mode: "voices", service_id: "freee" })

Report Modes

ModeTriggerExample
outcomesuccess (boolean)report({ service_id: "freee", success: true })
feedbacksubject + bodyreport({ subject: "...", body: "..." })
eventevent_typereport({ event_type: "api_change", event_date: "2025-01-15", title: "..." })
voicequestion_idreport({ question_id: "best_feature", response_text: "...", service_id: "freee" })

Example Workflows

Find and integrate a service:

search_services({ intent: "send invoice to clients", compact: true })--> lookup({ service_id: "freee" })        // tips: auth, pitfalls, workarounds--> lookup({ service_id: "freee", detail: true })  // full connection guide--> (execute your API call)--> report({ service_id: "freee", success: true, task_type: "create_invoice" })

Multi-service workflow:

lookup({ goal: "create invoice and notify via slack", services: ["freee", "slack"] })--> Step-by-step recipe with coverage scoring

Share your honest opinion:

report({  service_id: "stripe",  question_id: "biggest_frustration",  response_text: "Webhook signature verification docs are unclear for non-Node runtimes"})

Categories (23)

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

Architecture

Agent <-> KanseiLink MCP Server <-> SQLite (local, zero-config)              |              +-- search_services  -> FTS5 + trigram (CJK) + LIKE + category detection              +-- lookup           -> tips / detail / insights / recipe / combinations /              |                       history / feedback / voices (auto-detected)              +-- report           -> outcome / feedback / event / voice (auto-detected)              +-- inspect          -> queue / submit / propose / review / snapshot / evaluate              +-- analyze          -> token_savings / cost / aeo_report / aeo_article

For SaaS Companies

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:

  • Agent success rate for your API over time
  • Error patterns and how agents work around them
  • Agent Voice: why agents choose (or avoid) your service
  • Category ranking vs competitors
  • Impact of API changes (before/after analysis)

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.

Privacy & Data Handling

KanseiLink is privacy-preserving by default:

  • Local-first: the public copy of the catalogue ships inside the npm package (since 1.3.0; before that, the full seed). No API calls needed for search / lookup.
  • Measurement stays local: the usage hook writes to ~/.kansei-link/usage/ on your machine. Nothing is uploaded unless you opt in with --share, which sends only scalar aggregates (token counts), never content.
  • PII auto-masking: every report call scrubs emails, phone numbers, IP addresses, and Japanese names before storage.
  • Agent identity anonymized: only the agent type (claude / gpt / gemini) is retained — never the user ID.
  • No telemetry by default: the local stdio server does not phone home.

See SECURITY.md for full details.

Troubleshooting

The skill isn't firing — Claude Code doesn't call KanseiLink when I ask about SaaS.
  1. Verify the skill was installed:
    bash
    ls ~/.claude/skills/kansei-link/SKILL.md
    If absent, run npx -y -p @kansei-link/mcp-server kansei-link-install-skill.
  2. Restart Claude Code. Skills are indexed on session start.
  3. Check that the MCP is registered under the name kansei-link:
    bash
    claude mcp add --transport http kansei-link https://mcp.kansei-link.com/mcp
    (or the npx form above for the offline copy)
search_services returns nothing for a service I know exists.
  1. Try category filter: search_services({ intent: "...", category: "accounting" }).
  2. Try the English equivalent — most entries are indexed bilingually, but some only in EN.
  3. If the service truly isn't there, submit feedback: report({ subject: "Missing: ServiceX", body: "..." }).
Auth error when calling a SaaS endpoint after KanseiLink suggests it.
  1. Start with lookup({ service_id: "..." }) — it returns known OAuth pitfalls and refresh-token workarounds.
  2. Report the failure: report({ service_id: "...", success: false, error_type: "auth_error", workaround: "..." }) — your fix helps the next agent.

Contributing

bash
git clone https://github.com/kansei-link/kansei-mcp-server.gitcd kansei-mcp-servernpm installnpm run buildnpm start       # start stdio server

PRs welcome. If you find a service that's missing or has wrong info, the fastest path is:

report({ subject: "Fix: ServiceX auth is OAuth2 not API key", body: "..." })

Links

License

MIT — Synapse Arrows PTE. LTD.

來源:README.md,提交 bc9287b

工具

3

search_services

Search Services

Before attempting ANY SaaS API integration, call this tool. Agents waste 3-5x more tokens on trial-and-error with stale training data — this returns current, structured service evaluations (connection method, guides, known pitfalls) so you succeed on the first try. If the user mentions ANY SaaS service (freee, SmartHR, kintone, Slack, Notion, MoneyForward...) or says 'use kanseilink', always call this. Covers 900+ services with growing agent-readiness signals. Strongest in Japanese SaaS with growing global coverage.

輸入參數limitintent必填compactcategoryagent_ready

lookup

Lookup

Get everything you need about a service before using it. Default: tips (auth setup, pitfalls, workarounds). Use mode: 'notes', service_id and optional q to read reusable, unverified field notes without publishing anything. Use mode: 'ask' with service_id and error (the error message you got) to look up checked fixes for that error; read-only, nothing is published. Add detail: true for full connection guide, insights: true for usage data. Pass goal: 'workflow description' to find multi-service recipes. This is step 2 of the standard KanseiLink flow: search_services → lookup → (execute) → report. Except notes mode, each call records one attempt handle (attempt_id) and clears attempt handles older than 90 days.

輸入參數qgoalmodeerrordetailperiodruntimeserviceinsightsservicesnote_scopeservice_id另有 6 個

report

Report

Record outcomes, feedback, events or experience in this installation. Use mode 'note' with note to contribute a reusable summary; mode 'note_result' with note_result to report trying an existing note. These two modes require share:true: the summary is readable by others with access to this server (public on the hosted server). A local stdio installation does not upload it. Share only with user authorization; omit secrets and personal information. Other report modes retain their existing local storage and separate sharing consent behavior. For outcome mode, provider_request_id makes the record traceable in the provider's own logs.

輸入參數bodymodenotetitlecontextnote_idsubjectsuccessagent_idcost_usdis_retrypriority另有 28 個

版本歷史

4
  1. v1.3.0最新Oct 23, 2026
  2. v1.2.5Oct 21, 2026
  3. v1.2.4Oct 16, 2026
  4. v1.1.1Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分