Skip to main content
Glama

knowyoubetter

一个 MCP 插件:agent 没把握时向用户提问(3-5 个候选 + 正反理由),记住你的选择(本地 embedding),下次遇到相似问题自动按你的偏好作答——越用越懂你,问得越来越少。

工具

工具

用途

ask_user

低置信度时向用户提问;命中高度相似历史时直接返回历史答案(source=history)

record_choice

两阶段模式下记录用户对 pending 的选择

recall_preferences

开始任务时查询相关历史偏好

客户端支持 MCP elicitation 时(如 Claude Code)会直接弹出原生选择框;否则自动降级为两阶段:agent 展示候选 → 用户回答 → agent 调 record_choice。

Related MCP server: MCP Memory

安装(Claude Code)

claude mcp add knowyoubetter -- node /absolute/path/to/knowyoubetter/dist/index.js

Cursor / 其它 host 在各自 MCP 设置中配置同等命令即可。开发模式可用 npx tsx src/index.ts

数据

  • 默认目录 ~/.knowyoubetterKNOWYOUBETTER_DATA_DIR 覆盖):knowyoubetter.dbconfig.jsonmodels/

  • 首次运行自动下载多语言 embedding 模型(q8 量化版,约 135MB),默认从 ModelScope 镜像拉取(KYB_EMBEDDING_HOST 可覆盖,如指回 https://huggingface.co);离线时提问功能不受影响,历史检索降级,联网后下次启动自动补齐

  • 配置项:embeddingModelautoAnswerThreshold(默认 0.90)、recallMinSimilarity(默认 0.40)、maxHistoryInAsk(默认 3)

开发

npm install
npm test            # 单测 + 集成(跳过真实模型)
npm run test:real   # 真实 embedding 模型测试(首次下载模型)
npm run typecheck:tests  # 类型检查测试与配置(含 vitest.config.ts)
npm run build
npx @modelcontextprotocol/inspector node dist/index.js   # MCP Inspector 手动验收
A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    An MCP server that gives AI assistants the ability to remember user information (preferences, behaviors) across conversations using vector search technology.
    16
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A tiny local MCP server that learns a user's conversational style, catchphrases, dialect markers, emoji habits, tone preferences, and concrete collaboration preferences without storing private memories.
    15
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/akushonkamen/knowyoubetter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server