mcp-server-semantic-analysis
by fwornle
Overview
Performs comprehensive semantic analysis of code repositories and development activities, generating patterns and insights to build a unified knowledge base.
Installation
node build/index.jsEnvironment Variables
- ANTHROPIC_API_KEY
- OPENAI_API_KEY
- GROQ_API_KEY
- GOOGLE_API_KEY
- OLLAMA_BASE_URL
- OLLAMA_MODEL
- KNOWLEDGE_BASE_PATH
- CODING_TOOLS_PATH
- BATCH_COMMIT_COUNT
- LLM_BATCH_SIZE
- SEMANTIC_ANALYSIS_TIER
- MEMGRAPH_HOST
- MEMGRAPH_PORT
- MEMGRAPH_USERNAME
- MEMGRAPH_PASSWORD
Security Notes
The server makes extensive use of file system operations (`fs` module) and executes child processes (`git`, `plantuml`, `node workflow-runner.js`, `uv` for code-graph-rag). This is inherent to its function (analyzing local repositories) but implies significant privileges. If `repositoryPath` or workflow definitions are manipulated, this could lead to privilege escalation or arbitrary code execution. It relies on external LLM APIs and local services like Ollama/Memgraph, which may have their own security considerations (rate limiting, data privacy, unexpected responses). Internal workflow conditions use `new Function()` (similar to `eval`), which is generally risky but used within trusted configuration.
Similar Servers
codegraph-rust
Transforms codebases into a semantically searchable knowledge graph, enabling AI agents to reason about code relationships, architecture, and impact rather than just performing text-based searches.
bluera-knowledge
Provides a semantic knowledge base and intelligent web crawling capabilities to power coding agents, enabling them to search internal project files, Git repositories, and crawled web documentation.
tenets
Provides intelligent, token-optimized code context and automatically injects guiding principles to AI coding assistants for enhanced understanding and consistent interactions.
athena-protocol
An intelligent MCP server that acts as an AI tech lead for coding agents, providing expert validation, impact analysis, and strategic guidance before code changes are made.