MCP Knowledge Graph
MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
MCP Knowledge Graph is an open-source mcp server by shaneholloman, written mainly in JavaScript, with 886 GitHub stars and the MIT license. Its code was last updated May 29, 2026. The latest npm release is mcp-knowledge-graph 1.3.2, published Dec 22, 2025, with 189 downloads last week.
Scan summary: scanned Nov 5, 2026 at commit 9f6268c. Seen able to connect to the internet. 1 published advisory for its package. Scan policy
How to install MCP Knowledge Graph
Built from the start command in the project's README: npx -y mcp-knowledge-graph --memory-path /Users/yourusername/.aim. Check the README for required keys or settings.
claude mcp add mcp-knowledge-graph -- npx -y mcp-knowledge-graph --memory-path /Users/yourusername/.aim{
"mcpServers": {
"mcp-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"mcp-knowledge-graph",
"--memory-path",
"/Users/yourusername/.aim"
]
}
}
}{
"mcpServers": {
"mcp-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"mcp-knowledge-graph",
"--memory-path",
"/Users/yourusername/.aim"
]
}
}
}code --add-mcp '{"name":"mcp-knowledge-graph","command":"npx","args":["-y","mcp-knowledge-graph","--memory-path","/Users/yourusername/.aim"]}'What MCP Knowledge Graph can touch
- Our checks did not find this. The tool may still do it.Run shell commandsNot seen in this scan
- Our checks did not find this. The tool may still do it.Run dynamic codeNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or write filesNot seen in this scan
- Our checks did not find this. The tool may still do it.Read environment and secretsNot seen in this scan
- Our checks did not find this. The tool may still do it.Control a web browserNot seen in this scan
- Our checks did not find this. The tool may still do it.Connect to databasesNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or send messagesNot seen in this scan
- Our checks did not find this. The tool may still do it.Touch money or tradingNot seen in this scan
- Seen in this scan, either in the code or while it ran.Connect to the internetFound in the code by our scan
"Not seen" means our checks did not find it, and the tool may still do it. Covers commit 9f6268c, Nov 5, 2026. See the scan policy.
Before you install MCP Knowledge Graph
AgenticMart scanned MCP Knowledge Graph on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What it can access
- An MCP server is a program your AI app starts and talks to. A local one runs with your user's permissions: it can see the files, environment variables and network your account can.
Before you install
- Pin the version you reviewed instead of always installing the latest release.
- Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
- Maintained by shaneholloman on GitHub, 886 stars and 102 forks. Popularity is not proof of safety.
- Last code change: May 29, 2026.
- Open-source license: MIT.
Published advisories for mcp-knowledge-graph
From the OSV database, for this npm package. Check that your installed version is past any fix.
- MAL-2025-47327Malicious code in mcp-knowledge-graph (npm)
Tools MCP Knowledge Graph exposes (10)
Listed by the server itself during our scan of commit 9f6268c.
aim_memory_storeStore new memories. Use this to remember people, projects, concepts, or any information worth persisting. AIM (AI Memory) provides persistent memory for AI assistants. The 'aim_memory_' prefix groups all memory tools together. WHAT'S STORED: Memories have a name, type (person/project/concept/etc.)
aim_memory_linkLink two memories together with a relationship. Use this to connect related information. RELATION STRUCTURE: Each link has 'from' (subject), 'relationType' (verb), and 'to' (object). - Use active voice verbs: "manages", "works_at", "knows", "attended", "created" - Read as: "from relationType to" (e
aim_memory_add_factsAdd new facts to an existing memory. Use this to append information to something already stored. IMPORTANT: Memory must already exist - use aim_memory_store first. Throws error if not found. RETURNS: Array of {entityName, addedObservations} showing what was added (duplicates are ignored). DATABAS
aim_memory_forgetForget memories. Removes memories and their associated links. DATABASE SELECTION: Entities are deleted from the specified database's knowledge graph. LOCATION OVERRIDE: Use the 'location' parameter to force deletion from 'project' (.aim directory) or 'global' (configured directory). Leave blank fo
aim_memory_remove_factsRemove specific facts from a memory. Keeps the memory but removes selected observations. DATABASE SELECTION: Observations are deleted from entities within the specified database's knowledge graph. LOCATION OVERRIDE: Use the 'location' parameter to force deletion from 'project' (.aim directory) or
aim_memory_unlinkRemove links between memories. Keeps the memories but removes their connections. DATABASE SELECTION: Relations are deleted from the specified database's knowledge graph. LOCATION OVERRIDE: Use the 'location' parameter to force deletion from 'project' (.aim directory) or 'global' (configured direct
aim_memory_read_allRead all memories in a database. Returns every stored memory and their links. FORMAT OPTIONS: - "json" (default): Structured JSON for programmatic use - "pretty": Human-readable text format DATABASE: Reads from the specified 'context' database, or master database if not specified. EXAMPLES: - aim
aim_memory_searchSearch memories by keyword. Use this when you don't know the exact name of what you're looking for. WHAT IT SEARCHES: Matches query (case-insensitive) against: - Memory names (e.g., "John" matches "John_Smith") - Memory types (e.g., "person" matches all person memories) - Facts/observations (e.g.,
aim_memory_getRetrieve specific memories by exact name. Use this when you know exactly what you're looking for. VS aim_memory_search: Use aim_memory_get for exact name lookup. Use aim_memory_search for fuzzy matching or when you don't know exact names. RETURNS: Requested entities and relations between them. Non
aim_memory_list_storesList all available memory databases and show current storage location. DATABASE TYPES: - "default": The master database (memory.jsonl) - used when no context is specified - Named databases: Created via context parameter (e.g., "work" -> memory-work.jsonl) RETURNS: {project_databases: [...], global
MCP Knowledge Graph is an open-source mcp server by shaneholloman, written mainly in JavaScript. MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
At a glance
- Stars
- 886
- Forks
- 102
- Language
- JavaScript
- License
- MIT
- Created
- Dec 2024
- Last update
- May 29, 2026
- Type
- MCP Server
- Price
- Free
Topics
Questions about MCP Knowledge Graph
What is MCP Knowledge Graph?
MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
Who maintains MCP Knowledge Graph?
MCP Knowledge Graph is maintained by shaneholloman on GitHub (shaneholloman/mcp-knowledge-graph). AgenticMart lists it from public repository data.
Is MCP Knowledge Graph safe to use?
AgenticMart scanned MCP Knowledge Graph on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What license does MCP Knowledge Graph use?
It is published under the MIT license.
MCP Knowledge Graph alternatives
View more →Similar mcp servers in Database Management, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| MCP Knowledge Graph (this page) shaneholloman | 886 | MIT | May 29, 2026 | Scanned, no flagged issues |
| Codebase Memory MCP DeusData | 48k | MIT | Nov 1, 2026 | Scanned, see report |
| Xerj xerj-org | 19k | Apache-2.0 | Nov 1, 2026 | Scanned, no flagged issues |
| MCP Toolbox googleapis | 17k | Apache-2.0 | Nov 1, 2026 | Scanned, no flagged issues |
| Nightingale ccfos | 13k | Apache-2.0 | Oct 30, 2026 | Scanned, no flagged issues |
| Dbhub bytebase | 3.8k | MIT | Oct 26, 2026 | Scanned, no flagged issues |