semantic-code-mcp (huawang1258/semantic-code-mcp) is an MCP server listed on the M8ven Trust Index. It scores 73 out of 100, grade C. It declares 1 tool. No publisher has claimed this listing.
A self-hosted semantic code retrieval MCP server that enables natural language queries to find relevant code snippets using Tree-sitter AST parsing, embedding, and hybrid search with reranking.
Limited view. Automated analysis covers part of this stack. Findings reflect what we verified. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
Limited view: static analysis for Python is partially covered.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
huawang1258
Source: Glama
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
SCM_EVAL_TARGETSCM_RERANK_BACKENDauto rerank 后端:auto(有 VOYAGE key 用 Voyage,其次 Cohere)/ voyage / cohere / offSCM_EMBED_BACKENDlocal # 本地 embedding(默认 Qwen/Qwen3-Embedding-0.6B)SCM_EMBED_CHAR_BUDGET200000 单批最大字符数(未绑卡时可调小)SCM_EMBED_DTYPEfloat 向量精度:float(最高精度)/ int8(省 71% 存储)SCM_EMBED_MAX_RETRIES4 API 限流/错误时自动重试次数VOYAGE_API_KEY「效果优先」技术栈:Tree-sitter AST 切分 + voyage-code-3 embedding(int8 量化)+ sqlite-vec 向量库 + BM25 全文 + RRF 融合 + Voyage rerank-2.5 重排 + Call Graph 图扩展。一个 跑通 embedding + rerank 全链路。SCM_EMBED_MIN_INTERVAL0 请求最小间隔秒数(未绑卡 3 RPM 限制时设 21)SCM_LOCAL_EMBED_MODELSCM_LOCAL_EMBED_DEVICESCM_LOCAL_EMBED_MAX_SEQSCM_LOCAL_EMBED_BATCHSCM_LLM_BASE_URLSCM_LLM_API_KEYSCM_LLM_MODELSCM_LLM_TIMEOUTSCM_QUERY_EXPANSION自配 LLM 端点(可选,默认关) 仅查询文本(不含代码) =on 时SCM_EMBED_CONCURRENCYvoyage 3 / local 1 索引时 embedding 并发请求数(实测 3 路≈提速 3 倍)SCM_RERANK_MIN_INTERVAL节流;429 自动退避重试兜底。SCM_RERANK_MODEL按后端 voyage → rerank-2.5,cohere → rerank-v3.5COHERE_API_KEY否 可选 rerank 后备后端;默认用 Voyage rerank-2.5,无需此 keySCM_LOG_FILESCM_DB_DIR~/.semantic-code-mcp 索引数据库存放目录SCM_LOG_DISABLESCM_LOG_MAX_BYTESSCM_LOG_STDERRSCM_EMBED_MODELvoyage-code-3 Embedding 模型SCM_MAX_WORKSPACES8 最大同时管理的工作区数(LRU 淘汰)SCM_TOP_K50 向量召回候选数SCM_TOP_N10 最终返回结果数SCM_WATCH1 文件监控:1 启用(默认),0 禁用Tool annotations
No tools have read-only/destructive annotations
Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.
All four hints declared on every tool
1/1 tools missing one or more hints — codebase_search (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint). OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Tests exist
No test files found
Add tests that exercise each declared tool.
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/huawang1258/semantic-code-mcp)?variant=verified to the badge URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check