code-graph-rag logo
code-graph-rag
★ 5.3k
vs
claude-historian-mcp logo
claude-historian-mcp
★ 179

code-graph-rag vs claude-historian-mcp

code-graph-rag: Code-Graph-RAG is an accurate Retrieval-Augmented Generation (RAG) system designed for multi-language codebases. It uses Tree-sitter to analyze code, build comprehensive knowledge graphs, and allows natural language querying of codebase structure and relationships. The system also includes advanced editing capabilities, enabling users to modify code directly through natural language prompts.; claude-historian-mcp: claude-historian-mcp is an MCP server that gives Claude access to your conversation history locally. It provides two tools (search and inspect) with 11 scopes, zero dependencies, and runs completely offline. It helps find past solutions, track file changes, and learn from previous work without burning tokens on idle.

01

TL;DR

code-graph-rag logo
code-graph-ragRAG / Knowledge Base · ★ 5.3k
When to choose:
  • You want to parse a multi-language monorepo with Tree-sitter into a Memgraph knowledge graph and query or edit it via natural language or Claude Code MCP.
  • You want semantic code search using UniXcoder embeddings paired with Cypher graph queries.
When to skip:
  • You want RAG over PDFs, Word files, and slides rather than source code repositories; use RAGFlow or MaxKB.
  • You want a zero-dependency code context MCP server without running Docker and Memgraph; jCodeMunch or Context7 are much lighter.
claude-historian-mcp logo
claude-historian-mcpRAG / Knowledge Base · ★ 179

Quickly find past solutions and fixes for current development problems

02

Side-by-Side Comparison

Field
code-graph-rag logocode-graph-rag
claude-historian-mcp logoclaude-historian-mcp
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 5.3k
★ 179
License
MIT
MIT
Install Command
git clone https://github.com/vitali87/code-graph-rag.git && cd code-graph-rag && uv sync --extra treesitter-full && cp .env.example .env && docker-compose up -d
claude mcp add claude-historian-mcp -- npx claude-historian-mcp
Updated
1d ago
4mo ago
Open Source
Yes
Yes
Tags
ai, ast, claude-code
ai, ai-tools, anthropic
03

Features

code-graph-rag logocode-graph-rag
01Multi-Language Support
02Tree-sitter Parsing
03Knowledge Graph Storage
04Natural Language Querying
05Advanced File Editing
claude-historian-mcp logoclaude-historian-mcp
01Search across conversations, files, errors, plans, config, tasks, sessions, tools, similar queries, and memories with 11 scopes
02Inspect session details with intelligent summaries and focused views
03Zero external dependencies, offline-first, no persistent storage
04Smart ranking with TF-IDF scoring, exponential time decay, and workflow pattern recognition
05Parallel file processing with early termination for sub-second response times
04

Use Cases

code-graph-rag logocode-graph-rag
↳Analyze and ingest multi-language codebases into a knowledge graph.
↳Query codebase structure and relationships using natural language.
↳Receive AI-powered optimization suggestions and perform surgical code edits.
claude-historian-mcp logoclaude-historian-mcp
↳Quickly find past solutions and fixes for current development problems
↳Track file change history across different projects
↳Learn from previous error patterns and tool workflows to avoid repeating mistakes
FAQ

FAQ

What is the difference between code-graph-rag and claude-historian-mcp?
Both code-graph-rag and claude-historian-mcp are in the RAG / Knowledge Base category. code-graph-rag has 5.3k stars, while claude-historian-mcp has 179 stars.
Which is better, code-graph-rag or claude-historian-mcp?
The best choice depends on your use case. Choose code-graph-rag if Analyze and ingest multi-language codebases into a knowledge graph., and claude-historian-mcp if Quickly find past solutions and fixes for current development problems.
Is code-graph-rag free or open source?
Yes, code-graph-rag is open source on GitHub (MIT).
Is claude-historian-mcp free or open source?
Yes, claude-historian-mcp is open source on GitHub (MIT).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related