Hoshin Kanri X-Matrix

io.github.wellknownmcp由 GitHub 账号 wellknownmcp 发布v3.0.0更新于 Oct 27, 2026

Strategic memory agents can build, score and keep current: a living X-Matrix with review cadences.

已验证Streamable HTTP可网页运行效率与工作流知识与记忆

概览

AI 生成的概览

让助手读取、构建、评分并更新 Hoshin Kanri X 矩阵(目标、举措、KPI 与关联关系),可本地或托管运行。

可以做什么
  • 读取并汇总矩阵,包括 0-100 完整度评分及改进建议
  • 列出目标,创建或更新矩阵元素、状态与关联关系
  • 搜索并添加想法,将其归入战略
  • 分析集团、事业部与站点各层级的部署情况,含缺口与覆盖率
  • 诊断主题部署,并为特定议题推荐会议
  • 发布可撤销的只读矩阵公开页面(仅托管模式)
适用场景
适合希望助手把战略规划保持为结构化对象而非闲聊的场景:判断某项举措是否服务于既定目标、结合问题跟踪工具做每周同步,或审视跨组织层级的部署情况。
运行要求
可使用托管端点并通过 OAuth 2.1 授权(动态客户端注册与 PKCE,无需粘贴令牌),或在本地用 Node.js 运行 npm 包 hoshin-kanri-mcp。本地模式将数据以 JSON 文件存放在 HOSHIN_DATA_DIR,默认 ~/hoshin-data/。stdio 远程方式需要 AUTH_TOKEN。
安装前请注意
工具会写入和修改战略数据:可创建或更新元素、状态、关联关系与矩阵。托管模式下 share_matrix 会发布只读公开页面,需确认哪些内容会对外可见。托管模式会把战略数据发送给第三方服务;本地模式则保存在本机磁盘。托管 Web 应用为闭源,与 MIT 许可的服务器代码不同。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Hoshin Kanri X-Matrix,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.wellknownmcp%2Fhoshin-kanri/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "hoshin-kanri-x-matrix": {
      "type": "http",
      "url": "https://hoshin.app/mcp"
    }
  }
}

README

Hoshin Kanri — MCP server

The MCP server behind hoshin.app: a living X-Matrix your AI agent can read, challenge and update — 3-to-5-year objectives, annual objectives, initiatives, KPIs, the correlations between them, the review cadences that keep them alive, and a completeness score that gives a verdict instead of a vibe.

16 tools · 9 guided prompts · 3 transports · MIT.

Registry entry: io.github.wellknownmcp/hoshin-kanri · npm: hoshin-kanri-mcp

Why this exists

Agents are good at doing the work and bad at knowing which work matters. The missing piece is not more memory — it is structured strategic memory: an object with quadrants, correlations and a score, so an agent can answer "does this initiative actually serve a stated objective?" and be wrong out loud when it does not.

That object is the X-Matrix, a Hoshin Kanri artifact that predates all of this by forty years. This server exposes it over the Model Context Protocol.

Install

Sovereign local mode — nothing leaves your machine

Your matrix lives in plain JSON files on your own disk. No account, no cloud, no telemetry. This is the default binary of the npm package, on purpose.

json
{  "mcpServers": {    "hoshin-kanri": {      "command": "npx",      "args": ["-y", "hoshin-kanri-mcp"],      "env": { "HOSHIN_DATA_DIR": "/path/to/your/data" }    }  }}

HOSHIN_DATA_DIR defaults to ~/hoshin-data/. The files are the export: readable, diffable, versionable, yours. See docs/data-residency.md.

Hosted mode — OAuth 2.1, nothing to install

claude.ai, Claude Desktop and Cursor connect straight to https://hoshin.app/mcp. Dynamic client registration + PKCE, so there is no token to paste and no config file to edit — add the URL as a connector and authorize.

Or with a static API token, over stdio
json
{  "mcpServers": {    "hoshin-kanri": {      "command": "npx",      "args": ["-y", "-p", "hoshin-kanri-mcp", "hoshin-kanri-mcp-remote"],      "env": { "AUTH_TOKEN": "hk_..." }    }  }}

What is in here

PathWhat
mcp-server/index-local.jsstdio transport, local JSON store — the npm default bin
mcp-server/index-stdio.jsstdio transport against the hosted API
mcp-server/index-streamable-http.jsStreamable HTTP transport, the one serving hoshin.app/mcp
mcp-server/lib/tool-definitions.jsthe 16 tool schemas, shared by all three transports
mcp-server/lib/prompt-definitions.jsthe 9 guided prompts, shared by all three transports
mcp-server/lib/completeness.jsthe completeness score, as pure functions
mcp-server/lib/cascade.jsthe group → business unit → site analysis, as pure functions
mcp-server/lib/json-store.jsatomic local JSON store (tmp + rename, in-process mutex)
docs/completeness-score.mdthe score specification — metrics, weights, response shape
docs/data-residency.mdwhere your strategy lives, per transport
server.jsonthe MCP registry manifest

Tool and prompt definitions are shared across transports by design: only the handlers differ. A tool that exists in hosted mode and not in local mode would quietly make the sovereign mode a second-class citizen, so parity is a rule, not an aspiration — with one deliberate exception, documented below.

Tools

get_matrix_data · get_matrix_summary · get_matrix_completeness · list_objectives · update_element_status · add_idea · search_ideas · get_management_architecture · diagnose_theme_deployment · suggest_meeting_for_topic · share_matrix · create_matrix · upsert_element · set_correlation · get_cascade · set_matrix_parent

A few worth calling out:

  • get_matrix_completeness returns a 0–100 score across five metrics (coverage, correlation density, orphan elements, end-to-end strategic chains, leading/lagging indicator balance) with the specific suggestions behind it. This is the part that makes an agent useful rather than agreeable.
  • update_element_status accepts an external_ref — the URL or key of the Linear/Jira/GitHub project implementing that initiative. Strategy lives here, tasks live in your execution tool, and the weekly_sync prompt walks an agent across both.
  • create_matrix, upsert_element and set_correlation let an agent build a strategy from nothing, then keep it current.
  • get_cascade reads a deployment across levels — a group matrix, its business units, their sites. A matrix points to the one above it (parent_matrix_id, or set_matrix_parent later); an element points to the element of the parent matrix it deploys (parent_element_id). The report gives, for each level, the annual objectives and initiatives the children took up, the ones nobody took up, the child objectives anchored to nothing above, and a coverage percentage. Same org, no cycles, four levels at most.

share_matrix publishes a revocable, read-only public page of a matrix. It is refused in local mode — by design: in sovereign mode there is no cloud for your data to leak into, so there is nothing to publish from.

Prompts

weekly_sync (pull execution progress from your issue tracker's MCP, update statuses, prepare the weekly agenda) · matrix_artifact (a boardroom-ready interactive X-Matrix) · strategic_review · deployment_diagnosis · indicator_balance · meeting_setup_guide · visual_matrix · export_data · idea_triage

Development

bash
cd mcp-serverpnpm installpnpm start:local    # sovereign JSON modepnpm start:stdio    # hosted API mode (AUTH_TOKEN, API_BASE_URL)pnpm start          # Streamable HTTP (server-side; MCP_PORT, API_BASE_URL, OAUTH_ISSUER)

Smoke-test the local transport without any client:

bash
printf '%s\n' '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"smoke","version":"1"}}}' \  | HOSHIN_DATA_DIR=/tmp/hoshin-smoke node index-local.js 2>/dev/null

stdout carries JSON-RPC only; logs and the startup banner go to stderr.

This repository holds the MCP server and its specifications. The hosted web application (Next.js, Prisma, the OAuth 2.1 authorization server) is a separate, closed codebase — the MIT code here is what you run, and what you can audit before running it.

Issues and pull requests are welcome, in English or French.

Learn more

MIT — the code is a commodity; your strategy is not.

来源:README.md,提交 b803ab5

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v3.0.0最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分