home / mcp / neocoder mcp server
Provides an MCP server that orchestrates Neo4j graphs with Qdrant vector search for hybrid knowledge workflows.
Configuration
View docs{
"mcpServers": {
"angrysky56-neocoder-neo4j-ai-workflow": {
"command": "uv",
"args": [
"--directory",
"/your-path-to/NeoCoder-neo4j-ai-workflow",
"run",
"mcp_neocoder"
],
"env": {
"LOG_LEVEL": "INFO",
"NEO4J_URL": "bolt://localhost:7687",
"MCP_TRANSPORT": "stdio",
"NEO4J_DATABASE": "neo4j",
"NEO4J_PASSWORD": "your-neo4j-password-here",
"NEO4J_USERNAME": "neo4j",
"PYTHONUNBUFFERED": "1"
}
}
}
}You run an MCP server that connects a Neo4j knowledge graph with vector-based search to power context-aware AI workflows. This hybrid system coordinates data from structured graphs and semantic vectors, enabling reliable workflows, strong provenance, and scalable knowledge reasoning for coding, research, and decision support.
You interact with the NeoCoder MCP server through your MCP client or Claude Desktop integration. Start the local MCP server, ensure your Neo4j and Qdrant services are running, and then connect your AI assistant to the neocoder MCP endpoint. The system exposes encoded workflows and templates that guide tasks from task identification through to execution and auditing, with each knowledge claim tied to its source.
Typical usage pattern: choose a task such as coding, research synthesis, or decision analysis. The system routes your query to the appropriate incarnations and templates, fetches the relevant instructions from the graph, executes the guided workflow, and records the workflow execution in the audit trail. You can switch incarnations at runtime if you need a different working mode. Pay attention to citations and verification steps that are mandatory before marking a workflow as complete.
Prerequisites you must have running locally or accessible remotely:
Steps to set up the development environment and run NeoCoder in your workspace:
# 1. Clone the repository
git clone https://github.com/angrysky56/NeoCoder-neo4j-ai-workflow.git
cd NeoCoder-neo4j-ai-workflow
# 2. Set up Python environment (recommended via pyenv)
pyenv install 3.11.12 # if not already installed
pyenv local 3.11.12
uv venv
source .venv/bin/activate
# 3. Install dependencies
uv pip install -e '.[dev,docs,gpu]'
# 4. Start Neo4j and Qdrant (examples)
# Neo4j should be running and accessible at bolt://localhost:7687
# Qdrant (persistent storage)
docker run -p 6333:6333 -p 6334:6334
-v "$(pwd)/qdrant_storage:/qdrant/storage:z"
qdrant/qdrant
# 5. Optional client integration (Claude Desktop)
# See Claude integration snippet for exact mcpServer configClaude Desktop integration uses a single MCP stdio server configuration to connect the local MCP process to Claude. The following config runs the MCP server from a local directory and passes necessary environment variables for Neo4j access and transport mode.
{
"mcpServers": {
"neocoder": {
"command": "uv",
"args": [
"--directory",
"/your-path-to/NeoCoder-neo4j-ai-workflow",
"run",
"mcp_neocoder"
],
"env": {
"NEO4J_URL": "bolt://localhost:7687",
"NEO4J_USERNAME": "neo4j",
"NEO4J_PASSWORD": "your-neo4j-password-here",
"NEO4J_DATABASE": "neo4j",
"LOG_LEVEL": "INFO",
"MCP_TRANSPORT": "stdio",
"PYTHONUNBUFFERED": "1"
}
}
}
}If you encounter connectivity or initialization issues, verify that Neo4j is up and the password matches the environment variable NEO4J_PASSWORD. Ensure Qdrant is running and accessible at the correct ports. Activate your virtual environment before launching commands, and confirm that the Python version matches the project requirements. If you need to refresh dependencies, delete the .venv directory and recreate it using the steps above.
Verify Neo4j connection status to ensure the graph API is reachable.
Access the central guidance hub to navigate best practices and templates.
Fetch a specific workflow template from the graph.
List all available workflow templates stored in the system.
Retrieve coding standards and best practices for reference.
View project details including its README and structure.
List all projects managed by the MCP server.
Record a completed workflow run in the audit trail.
Query the history of workflow executions for auditing.
Provide feedback on templates to improve guidance.
Execute direct Cypher queries when needed.
Perform write operations on the graph through Cypher.
Query the currently active incarnation.
List all available incarnations.
Switch to a different incarnation at runtime.
Suggest tools based on a given task description.
Hybrid Knowledge Query Workflow for intelligent multi-source reasoning.
Dynamic knowledge extraction workflow with F-Contraction merging.
Code analysis workflow using AST/ASG tools.