Server data from the Official MCP Registry
Knowledge graph for token-efficient code reviews with fixed search and configurable embeddings
Knowledge graph for token-efficient code reviews with fixed search and configurable embeddings
Valid MCP server (3 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. Trust signals: trusted author (21/22 approved). 1 finding(s) downgraded by scanner intelligence.
5 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: EMBEDDING_BACKEND
Environment variable: API_KEYS
Environment variable: LITELLM_PROXY_URL
Environment variable: LITELLM_PROXY_KEY
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-n24q02m-better-code-review-graph": {
"env": {
"API_KEYS": "your-api-keys-here",
"EMBEDDING_BACKEND": "your-embedding-backend-here",
"LITELLM_PROXY_KEY": "your-litellm-proxy-key-here",
"LITELLM_PROXY_URL": "your-litellm-proxy-url-here"
},
"args": [
"better-code-review-graph"
],
"command": "uvx"
}
}
}From the project's GitHub README.
mcp-name: io.github.n24q02m/better-code-review-graph
Knowledge graph for token-efficient code reviews -- fixed search, configurable embeddings, qualified call resolution.
Fork of code-review-graph with critical bug fixes, configurable embeddings, and production CI/CD. Parses your codebase with Tree-sitter, builds a structural graph of functions/classes/imports, and gives Claude (or any MCP client) precise context so it reads only what matters.
| Feature | code-review-graph | better-code-review-graph |
|---|---|---|
| Multi-word search | Broken (literal substring) | AND-logic word splitting |
| callers_of/callees_of | Empty results (bare name targets) | Qualified name resolution + bare fallback |
| Embedding | sentence-transformers + torch (1.1 GB) | qwen3-embed ONNX + cloud (200 MB), dual-mode |
| Output size | Unbounded (500K+ chars) | Paginated (max_results, truncated flag) |
| Tool design | 9 individual tools | 6 tools: graph + query + review + config + setup + help |
| Plugin hooks | Invalid PostEdit/PostGit | Valid PostToolUse |
With AI Agent -- copy and send this to your AI agent:
Please set up better-code-review-graph for me. Follow this guide: https://raw.githubusercontent.com/n24q02m/better-code-review-graph/main/docs/setup-with-agent.md
Manual Setup -- follow docs/setup-manual.md
graph -- Graph lifecycleActions: build | update | stats | embed
| Action | Description |
|---|---|
build | Full or incremental graph build. Set full_rebuild=true to re-parse all files. |
update | Alias for build with full_rebuild=false (incremental). |
stats | Graph size, languages, node/edge breakdown, embedding count. |
embed | Compute vector embeddings for semantic search. Dual-mode: local ONNX or cloud. |
query -- Graph queriesActions: query | search | impact | large_functions
| Action | Description |
|---|---|
query | Predefined pattern queries: callers_of, callees_of, imports_of, importers_of, children_of, tests_for, inheritors_of, file_summary. |
search | Search code entities by name/keyword or semantic similarity. |
impact | Blast radius of changed files. Auto-detects from git diff. Paginated with max_results. |
large_functions | Find functions/classes exceeding a line-count threshold. |
review -- Code review contextToken-optimized review context with structural summary, source snippets, and review guidance. Auto-detects changed files from git diff.
config -- Server configurationActions: status | set | cache_clear
| Action | Description |
|---|---|
status | Server info: version, graph path, node/edge counts, embedding backend. |
set | Update runtime settings (e.g., log_level). |
cache_clear | Remove all computed embeddings. |
setup -- Credential setupActions: status | start | skip | reset | complete
| Action | Description |
|---|---|
status | Show current credential state and setup URL. |
start | Start relay setup to configure API keys via browser. |
skip | Set local mode (skip relay permanently, use ONNX only). |
reset | Clear credentials and reset state. |
complete | Re-resolve credentials from environment variables. |
help -- Full documentationTopics: graph | query | review | config
Returns complete documentation for each tool. Use when the compressed descriptions above are insufficient.
:ro (read-only)git clone https://github.com/n24q02m/better-code-review-graph
cd better-code-review-graph
uv sync --group dev
uv run pytest
uv run better-code-review-graph
Requirements: Python 3.13, uv
MIT -- See LICENSE.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.