streamable-httpMITupdated 4mo ago
AI Agent with Architectural Memory โ MCP Server
What can you do with Hokmah?
Hokmah MCP Server
AI Agent with Architectural Memory โ MCP Server
Gives any AI coding agent persistent understanding of codebases via TransitionGraph, IdeaGraph, and WorldModel. Analyze impact, generate tests, write code โ all from the graph.
Quick Start (30 seconds)
Add to your editor's MCP config (Cursor, Claude Code, VS Code, Windsurf, Cline, JetBrains):
{
"mcpServers": {
"hokmah": {
"type": "streamable-http",
"url": "https://hokmah.dev/mcp"
}
}
}
Then ask your agent: "analyze the impact of refactoring the auth module in github.com/owner/repo"
Available Tools
| Tool | Tier | Description |
|---|---|---|
hokmah_analyze |
FREE | Impact analysis, risk score, affected files, architectural invariants |
hokmah_connect_project |
FREE | Connect a GitHub repo, build the architectural graph |
hokmah_connect_mcp |
FREE | Connect an external MCP server for orchestration |
hokmah_generate_tests |
PRO | Test generation from the graph (40x fewer tokens) |
hokmah_generate_code |
PRO | Code generation with architectural memory |
How It Works
Hokmah builds a persistent architectural graph from your codebase:
- TransitionGraph โ Markov model of code changes (which files change together)
- IdeaGraph โ 16 relation types between concepts
- WorldModel โ File tree, dependencies, symbols
When you ask "what's the impact of changing X?", Hokmah traverses the graph instead of sending your entire codebase to an LLM. That's why analyze is free (zero LLM tokens) and generate uses 40x fewer tokens.
Pricing
- Free โ
hokmah_analyze+hokmah_connect_project+hokmah_connect_mcp(unlimited) - Pro โ
hokmah_generate_tests+hokmah_generate_code(BYOK โ bring your own LLM key)
Get a Pro key at hokmah.dev.
Editor Setup
- Cursor โ Settings โ MCP โ Add server โ paste config
- Claude Desktop โ
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Code โ
claude mcp add hokmah --transport streamable-http --url https://hokmah.dev/mcp - VS Code (Copilot) โ
.vscode/mcp.jsonin project root - Windsurf โ
~/.windsurf/mcp.json - Cline โ Settings โ MCP Servers โ Add
- JetBrains โ Settings โ Tools โ AI Assistant โ MCP Servers
Self-Hosting
The hosted server at https://hokmah.dev/mcp is the recommended way to use Hokmah. To run the server yourself against your own Hokmah backend:
pip install -r requirements.txt
cp pro_keys.example.json pro_keys.json # edit with your real PRO keys
HOKMAH_API_BASE=http://localhost:8000 python mcp_server.py
Environment variables:
HOKMAH_API_BASEโ upstream Hokmah API (defaulthttp://localhost:8000)HOKMAH_MCP_PORTโ port to listen on (default8001)HOKMAH_PRO_KEYSโ path to the PRO keys JSON file (default/home/vpm/mcp-server/pro_keys.json)
A reference systemd unit is provided in hokmah-mcp.service.
Built by
Catalyst AI Research ยท Haifa, Israel
License
MIT
Install
Add Hokmah to your client. Pick the one you use.
claude mcp add --transport http hokmah https://hokmah.dev/mcpcodex mcp add hokmah --url https://hokmah.dev/mcp{
"mcpServers": {
"hokmah": {
"url": "https://hokmah.dev/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"hokmah": {
"type": "http",
"url": "https://hokmah.dev/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"hokmah": {
"url": "https://hokmah.dev/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"hokmah": {
"serverUrl": "https://hokmah.dev/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
5 tools
Hokmah exposes 5 tools to a connected agent.
- hokmah_analyze
- **FREE**
- hokmah_connect_project
- **FREE**
- hokmah_connect_mcp
- **FREE**
- hokmah_generate_tests
- **PRO**
- hokmah_generate_code
- **PRO**
Score
66 / 100
Good
- Documentation22/25
- Maintenance13/25
- Trust13/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 132 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 5 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint โ no local install
Version history
| Versions | Published |
|---|---|
| 1.0.0Latest | Apr 22, 2026 |