S
shaneholloman/mcp-knowledge-graph
Local knowledge graph as memory for Claude
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
We have neither an install command nor a public remote endpoint from this repository, so we do not print a config. A made-up one is worse than none. How each client wires MCP up →
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# MCP Knowledge Graph
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Persistent memory for AI models through a local knowledge graph.
Store and retrieve information across conversations using entities, relations, and observations. Works with Claude Code/Desktop and any MCP-compatible AI platform.
## Why ".aim" and "aim" prefixes?
AIM stands for AI Memory - the core concept of this system. The three AIM elements provide clear organization and safety:
.aim directories: Keep AI memory files organized and easily identifiable
aim tool prefixes: Group related memory functions together in multi-tool setups
aim safety markers: Each memory file starts with {"type":"aim","source":"mcp-knowledge-graph"} to prevent accidental overwrites of unrelated JSONL files
This consistent AIM naming makes it obvious which directories, tools, and files belong to the AI memory system.
## CRITICAL: Understanding .aim dir vs aim file marker
Two different things with similar names:
.aim = Project-local directory name (MUST be named exactly .aim for project detection to work)
aim = File safety marker (appears inside JSONL files: {"type":"aim","source":"mcp-knowledge-graph"})
For project-local storage:
Directory MUST be named .aim in your project root
Example: my-project/.aim/memory.jsonl
The system specifically looks for this exact name
For global storage (--memory-path):
Can be ANY directory you want
Examples: ~/yourusername/.aim/, ~/memories/, ~/Dropbox/ai-memory/, ~/Documents/ai-data/
Complete flexibility - choose whatever location works for you
## Storage Logic
File Location Priority:
1. Project with .aim - Uses .aim/memory.jsonl (project-local)
2. No project/no .aim - Uses configured global directory
3. Contexts - Adds suffix: memory-work.jsonl, memory-personal.jsonl
Safety System:
Every memory file starts with {"type":"aim","source":"mcp-knowledge-graph"}
System refuses to write to files without this marker
Prevents accidental overwrite of unrelated JSONL files
## Master Database Concept
The master database is your primary memory store - used by default when no specific database is requested. It's always named default in listings and stored as memory.jsonl.
Default Behavior: All memory operations use the master database unless you specify a different one
Always Available: Exists in both project-local and global locations
Primary Storage: Your main knowledge graph that persists across all conversations
Named Databases: Optional additional databases (work, personal, health) for organizing specific topics
## Key Features
Master Database: Primary memory store used by default for all operations
Multiple Databases: Optional named databases for organizing memories by topic
Project Detection: Automatic project-local memory using .aim directories
Location Override: Force operations to use project or global storage
Safe Operations: Built-in protection against overwriting unrelated files
Database Discovery: List all available databases in both locations
## Quick Start
### Global Memory (Recommended)
Add to your claudedesktopconfig.json or .claude.json. Two common approaches:
Option 1: Default .aim directory (simple)
json
"mcpServers": {
"Aim-Memory-Bank": {
"command": "npx",
"args": [
"-y",
"mcp-knowledge-graph",
"--memory-path",
Store and retrieve information across conversations using entities, relations, and observations. Works with Claude Code/Desktop and any MCP-compatible AI platform.
## Why ".aim" and "aim" prefixes?
AIM stands for AI Memory - the core concept of this system. The three AIM elements provide clear organization and safety:
.aim directories: Keep AI memory files organized and easily identifiable
aim tool prefixes: Group related memory functions together in multi-tool setups
aim safety markers: Each memory file starts with {"type":"aim","source":"mcp-knowledge-graph"} to prevent accidental overwrites of unrelated JSONL files
This consistent AIM naming makes it obvious which directories, tools, and files belong to the AI memory system.
## CRITICAL: Understanding .aim dir vs aim file marker
Two different things with similar names:
.aim = Project-local directory name (MUST be named exactly .aim for project detection to work)
aim = File safety marker (appears inside JSONL files: {"type":"aim","source":"mcp-knowledge-graph"})
For project-local storage:
Directory MUST be named .aim in your project root
Example: my-project/.aim/memory.jsonl
The system specifically looks for this exact name
For global storage (--memory-path):
Can be ANY directory you want
Examples: ~/yourusername/.aim/, ~/memories/, ~/Dropbox/ai-memory/, ~/Documents/ai-data/
Complete flexibility - choose whatever location works for you
## Storage Logic
File Location Priority:
1. Project with .aim - Uses .aim/memory.jsonl (project-local)
2. No project/no .aim - Uses configured global directory
3. Contexts - Adds suffix: memory-work.jsonl, memory-personal.jsonl
Safety System:
Every memory file starts with {"type":"aim","source":"mcp-knowledge-graph"}
System refuses to write to files without this marker
Prevents accidental overwrite of unrelated JSONL files
## Master Database Concept
The master database is your primary memory store - used by default when no specific database is requested. It's always named default in listings and stored as memory.jsonl.
Default Behavior: All memory operations use the master database unless you specify a different one
Always Available: Exists in both project-local and global locations
Primary Storage: Your main knowledge graph that persists across all conversations
Named Databases: Optional additional databases (work, personal, health) for organizing specific topics
## Key Features
Master Database: Primary memory store used by default for all operations
Multiple Databases: Optional named databases for organizing memories by topic
Project Detection: Automatic project-local memory using .aim directories
Location Override: Force operations to use project or global storage
Safe Operations: Built-in protection against overwriting unrelated files
Database Discovery: List all available databases in both locations
## Quick Start
### Global Memory (Recommended)
Add to your claudedesktopconfig.json or .claude.json. Two common approaches:
Option 1: Default .aim directory (simple)
json
"mcpServers": {
"Aim-Memory-Bank": {
"command": "npx",
"args": [
"-y",
"mcp-knowledge-graph",
"--memory-path",
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/shaneholloman-mcp-knowledge-graph/)
- Source
- awesome · https://github.com/shaneholloman/mcp-knowledge-graph
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.