Sensei
Provides Claude with persistent memory about the user's skills, learning history, and project context to deliver personalized, adaptive explanations and avoid repeating basics.
README
Sensei
AI That Remembers How to Teach You
Claude is smart enough to be a great mentor. It just doesn't know who it's talking to.
Sensei gives Claude memory about you — your skill level, what you've learned, and what you're building.
You: "How do I handle errors in useEffect?"
Claude: [Checks Sensei]
→ Knows you understand promises, are learning React hooks
→ Knows you're building a fintech app with Supabase
Claude: "Since you're comfortable with try/catch from your async work,
the pattern in useEffect is similar. For your Supabase queries..."
No more "First, let me explain what useEffect is..." every single time.
Quick Start
1. Add to Claude Code
Add this to your Claude Code MCP settings (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"sensei": {
"command": "npx",
"args": ["-y", "@sensei-mcp/sensei"]
}
}
}
2. Add the System Prompt
Copy the contents of PROMPT.md into your Claude Project's custom instructions.
This tells Claude how to use Sensei effectively.
3. Start Learning
That's it. Claude now remembers who you are.
What Sensei Tracks
Skills
Three levels. Simple.
| Level | Meaning |
|---|---|
unknown |
Never discussed |
learning |
Covered basics, still developing |
solid |
Uses independently, understands well |
Learning History
What Claude has taught you, so it can reference past explanations:
2025-01-14: explained "useEffect cleanup" (react-hooks)
2025-01-13: explained "async/await" (javascript)
Project Context
What you're building:
Project: fintech-app
Stack: React, TypeScript, Supabase
Notes: "REST API with row-level security"
Prerequisites
Before explaining X, Claude checks if you know the prerequisites:
useEffect requires:
├── react-hooks (concept of hooks)
├── closures (effects close over state)
└── side-effects (what effects are for)
Preferences
How you like explanations:
style: concise | detailed | example-heavy
languages: ["typescript", "python"]
Tools Reference
| Tool | Purpose |
|---|---|
sensei_get_context |
Get everything: skills, history, project, preferences |
sensei_get_skills |
Get skill levels |
sensei_set_skill |
Update a skill level |
sensei_log_learned |
Record that a concept was taught |
sensei_get_history |
Get learning history |
sensei_get_prerequisites |
Check prerequisites for a concept |
sensei_get_project |
Get project context |
sensei_set_project |
Update project context |
sensei_get_preferences |
Get explanation preferences |
sensei_set_preferences |
Update preferences |
Privacy
- All local. Data stored in
~/.sensei/sensei.db - No cloud. No accounts. No telemetry.
- Your data. Export or delete anytime.
Development
# Clone
git clone https://github.com/your-username/sensei
cd sensei
# Install
npm install
# Build
npm run build
# Run locally
node dist/index.js
Project Structure
sensei/
├── src/
│ ├── index.ts # MCP server entry
│ ├── db/ # SQLite database layer
│ │ ├── init.ts # Database initialization
│ │ ├── skills.ts # Skills CRUD
│ │ ├── history.ts # History CRUD
│ │ ├── project.ts # Project context
│ │ └── preferences.ts
│ └── tools/ # MCP tool handlers
│ ├── index.ts # Tool registration
│ ├── handlers.ts # Tool implementations
│ └── prerequisites.ts
├── knowledge/
│ └── prerequisites.json # Concept prerequisite graph
├── PROMPT.md # System prompt for Claude
└── README.md
Contributing
The most valuable contributions are to the prerequisite graph.
# Edit knowledge/prerequisites.json
# Add your domain expertise
{
"kubernetes-pods": ["docker", "containers", "yaml"],
"graphql-resolvers": ["graphql-schema", "async-await"]
}
Why "Sensei"?
先生 (sensei) — "one who comes before"
A teacher who remembers where you've been and guides where you're going.
License
MIT
<p align="center"> <strong>Sensei: AI That Remembers How to Teach You</strong> </p>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。