Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Cognitive memory for AI coding assistants — persistent memory across sessions
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"memorykit": {
"command": "npx",
"args": [
"-y",
"memorykit-mcp-server"
]
}
}
}ターミナルでこれを実行します
claude mcp add memorykit -- npx -y memorykit-mcp-serverプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"memorykit": {
"command": "npx",
"args": [
"-y",
"memorykit-mcp-server"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"memorykit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"memorykit-mcp-server"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント rapozoantonio で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.4.2)がレジストリに届いたのは3 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Enterprise-grade, neuroscience-inspired memory infrastructure for LLM applications
_Because your AI shouldn't have the memory of a goldfish_ 🐠
Quick Start · Documentation · Architecture · API Docs
Modern LLMs like GPT-4 and Claude have a critical flaw: they're stateless. Every conversation requires reloading the entire context, leading to:
User (Turn 1): "My name is John, I prefer Python"
AI: "Nice to meet you, John!"
[New session - memory wiped 🧹]
User (Turn 50): "What's my favorite language?" AI: "I don't have that information" ❌
The Cost Problem:
For a typical enterprise chatbot with 100-turn conversations:
| Approach | Tokens/Query | Cost/Query | Monthly (10K users) |
|---|---|---|---|
| Naive (full context) | 50,000 | $1.50 | $750,000 💸 |
| MemoryKit | 800 | $0.024 | $12,000 ✨ |
| You Save | 98.4% | 98.4% | $738,000/month 🎯 |
MemoryKit solves this. Inspired by how the human brain actually works.
Humans don't recall every conversation verbatim. Instead, we use a hierarchical memory system:
| Brain Region | Function | Duration | What It Stores |
|---|---|---|---|
| Prefrontal Cortex | Working Memory | Seconds-Minutes | Active conversation (7±2 items) |
| Hippocampus | Encoding & Indexing | Hours-Days | Recent experiences, decides what to keep |
| Neocortex | Semantic Memory | Months-Years | Facts, concepts, knowledge |
| Amygdala | Emotional Tagging | - | Importance scoring ("remember THIS!") |
| Basal Ganglia | Procedural Memory | Years | Skills, habits, routines |
┌──────────────────────────────────────────────────────────────┐
│ PREFRONTAL CONTROLLER │ │ (Executive Function & Planning) │ │ "Which memory layers do I need for this query?" │ └────────────────────┬─────────────────────────────────────────┘ │ ┌────────────┴────────────┐ │ │ ┌────▼─────┐ ┌─────▼──────┐ │ AMYGDALA │ │ HIPPOCAMPUS│ │ Emotion │ │ Indexing │ │ Tagging │ │ │ └────┬─────┘ └─────┬──────┘ │ │ └────────────┬────────────┘ │ ┌───────────────┴────────────────────────────┐ │ │ ┌────▼─────────┐ ┌──────────────┐ ┌───────────────┐ ┌────────────────┐ │ Layer 3 (L3) │ │ Layer 2 (L2) │ │ Layer 1 (L1) │ │ Layer P (LP) │ │──────────────│ │──────────────│ │───────────────│ │────────────────│ │ WORKING │ │ SEMANTIC │ │ EPISODIC │ │ PROCEDURAL │ │ MEMORY │ │ MEMORY │ │ MEMORY │ │ MEMORY │ │ │ │ │ │ │ │ │ │ Redis Cache │ │ Table │ │ Blob + │ │ Pattern │ │ 10 recent │ │ Storage │ │ AI Search │ │ Matching │ │ messages │ │ Facts & │ │ Full convo │ │ Learned │ │ │ │ Entities │ │ history │ │ routines │ │ │ │ │ │ │ │ │ │ < 5ms │ │ ~30ms │ │ ~120ms │ │ ~50ms │ └──────────────┘ └──────────────┘ └───────────────┘ └────────────────┘
The Prefrontal Controller decides which layers to query based on intent:
"Continue..." → L3 only (500 tokens, <5ms)
"What's my name?" → L2 + L3 (800 tokens, ~30ms) "Quote me from last week" → L1 + L2 + L3 (2000 tokens, ~150ms) "Write code as I prefer" → LP + L3 (600 tokens, ~50ms)
Result: You only load what you need, when you need it. Just like a human brain.
| Feature | MemoryKit | Mem0 | Letta | LangChain |
|---|---|---|---|---|
| Language | .NET 9 | Python | Python | Python |
| Architecture | Brain-inspired | Vector DB | Hierarchical | Flat |
| Procedural Memory | ✅ Yes | ❌ No | ⚠️ Basic | ❌ No |
| Cost Reduction | 98-99% | 85-90% | 80-85% | 60-70% |
| Query Planning | ✅ Intelligent | ❌ Static | ⚠️ Basic | ❌ Static |
| Emotional Weighting | ✅ Amygdala | ❌ No | ❌ No | ❌ No |
| Enterprise Ready | ✅ Day 1 | ⚠️ Partial | ❌ No | ⚠️ Partial |
| Azure Native | ✅ Yes | ❌ Generic | ❌ Generic | ❌ Generic |
🧠 First neuroscience-backed memory system for LLMs ⚡ Procedural memory - learns user workflows and preferences 🎯 Importance scoring - Amygdala-inspired emotional tagging 🏗️ Clean Architecture - Enterprise-grade from day one 💰 Highest cost savings - 98-99% reduction vs. naive approaches 🔒 Production-hardened - Security, monitoring, rate limiting built-in
# Clone and build
git clone https://github.com/rapozoantonio/memorykit.git cd memorykit dotnet restore && dotnet build
dotnet run --project src/MemoryKit.API
start https://localhost:5001/swagger
// Create conversation
POST /api/v1/conversations { "userId": "user_123", "title": "My Coding Session" }
// Add messages POST /api/v1/conversations/{id}/messages { "role": "user", "content": "I prefer Python with type hints" }
// Later... Query with memory POST /api/v1/conversations/{id}/query { "question": "Write a hello world function as I prefer" }
// MemoryKit automatically: // ✅ Remembers your Python preference // ✅ Remembers you like type hints // ✅ Applies procedural memory pattern // ✅ Uses only 600 tokens (not 50,000!)
👉 See [QUICKSTART.md](docs/QUICKSTART.md) for detailed setup.
┌─────────────────────────────────────────┐
│ API Layer (REST + Controllers) │ └─────────────────┬───────────────────────┘ │ depends on ↓ ┌─────────────────▼───────────────────────┐ │ Application (CQRS + Use Cases) │ └─────────────────┬───────────────────────┘ │ depends on ↓ ┌─────────────────▼───────────────────────┐ │ Domain (Entities + Business Logic) │ ← No Dependencies! └─────────────────▲───────────────────────┘ │ implements ↑ ┌─────────────────┴───────────────────────┐ │ Infrastructure (Azure + Semantic Kernel)│ └─────────────────────────────────────────┘
Just like humans consolidate memories during sleep, MemoryKit runs background consolidation:
New Message → Working Memory (L3) → Importance Scoring (Amygdala)
↓ ┌──────────────────┴───────────────────┐ │ │ High Importance? Low Importance? │ │ ↓ ↓ Extract Facts → Semantic (L2) Discard after TTL Archive Full → Episodic (L1) Detect Patterns → Procedural (LP)
| Operation | Target | Actual (p95) |
|---|---|---|
| Working Memory Read | < 5ms | 3ms ✅ |
| Semantic Search | < 30ms | 25ms ✅ |
| Episodic Search | < 120ms | 95ms ✅ |
| Full Context Assembly | < 150ms | 135ms ✅ |
| End-to-End with LLM | < 2s | 1.8s ✅ |
✅ Multi-layer storage (Working, Semantic, Episodic, Procedural) ✅ Intelligent query planning (Prefrontal Controller) ✅ Importance scoring (Amygdala Engine) ✅ Automatic fact extraction ✅ Pattern learning and matching ✅ Memory consolidation (background jobs)
✅ API key authentication ✅ Rate limiting (fixed, sliding, concurrent) ✅ Health checks (live, ready, deep) ✅ Application Insights monitoring ✅ Docker + Docker Compose ✅ Azure Bicep IaC templates ✅ CI/CD with GitHub Actions
✅ GDPR-compliant deletion ✅ Multi-tenancy isolation ✅ Comprehensive audit logging ✅ Performance benchmarks (BenchmarkDotNet) ✅ Security hardening (OWASP compliance)
Backend
Azure Services
Architecture
Testing & Quality
We'd love your help making MemoryKit even better!
# Fork and clone
git clone https://github.com/YOUR_USERNAME/memorykit.git cd memorykit
git checkout -b feature/amazing-feature
dotnet test
git commit -m "feat: add amazing feature"
git push origin feature/amazing-feature
冒頭だけを表示しています。続きはリポジトリで読めます