The OpenLore Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and openlore provides persistent architectural memory for AI coding agents by turning codebases into queryable knowledge graphs featuring static analysis, living specs, automated drift detection, and graph-native MCP tools to eliminate context decay and drastically slash orientation token costs. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Memory/Knowledge domain.
Once installed in Claude Desktop or Cursor, try asking your assistant:
Copy the config for your editor. Verify environment variables or setup notes in the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"openlore": {
"command": "npx",
"args": [
"-y",
"clay-good/OpenLore"
]
}
}
}
Are you the author of OpenLore? Add this badge to your GitHub README for social proof and backlink verification.
[](https://protodex.io/servers/clay-good-openlore.html)
> [!NOTE] > spec-gen has been renamed to OpenLore. The npm package is now openlore and the CLI command is openlore. Existing projects: rename your .spec-gen/ directory to .openlore/ and reinstall (npm i -g openlore). See docs/RENAME-TO-OPENLORE.md for the full migration checklist.