Back to Home
fwornle icon

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

Run Command
node build/index.js

Environment 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

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens3000
Stars0
Forks0
Last Update2026-01-15

Tags

Semantic AnalysisKnowledge BaseLLMGit HistoryCode Patterns