neo4j-mcp-chainlit
A poc of Neo4j mcp server with Chainlit (MCP host) and Claude LLM (Anthropic) API
Documentation
Neo4j MCP Chainlit
A proof of concept demonstrating integration between Neo4j MCP server with Chainlit (MCP host) and Claude LLM (Anthropic API).
Overview
This project creates an interactive chat interface to query Neo4j databases using natural language. It leverages:
- Chainlit for the web interface
- Neo4j's MCP (Model Context Protocol) for database access
- Claude from Anthropic as the LLM for natural language understanding
Quick Start Guide
Prerequisites
1. Clone the repository:
git clone https://github.com/Abhid14/neo4j-mcp-chainlit.git
cd neo4j-mcp-chainlit2. Install `uv` on your system:
curl -LsSf https://astral.sh/uv/install.sh | shFor additional installation options, check the uv documentation.
Setup
1. Create a Python virtual environment:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate2. Install dependencies:
uv pip install -r requirements.txt3. Configure environment variables:
cp .env.example .env4. Add your Anthropic API key to the `.env` file:
ANTHROPIC_API_KEY=your_api_key_hereRunning the Application
Start the Chainlit app:
chainlit run app.py -wConfigure MCP Connections
1. In the Chainlit app interface, configure MCP connections
2. Use the sample Neo4j database:
/path/to/uv/binary/uvx mcp-neo4j-cypher --db-url neo4j+s://demo.neo4jlabs.com --user recommendations --password recommendationsDemo
The application uses the Neo4j demo database (Movie Graph) to demonstrate natural language querying capabilities.
Try asking questions like:
- "What movies did Tom Hanks act in?"
- "Show me the relationship between actors and directors"
- "Find all movies released after 2010"
Frequently asked questions
What is neo4j-mcp-chainlit?
neo4j-mcp-chainlit is A poc of Neo4j mcp server with Chainlit (MCP host) and Claude LLM (Anthropic) API
How do I install neo4j-mcp-chainlit?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is neo4j-mcp-chainlit open source?
Yes — it is hosted on GitHub at https://github.com/Abhid14/neo4j-mcp-chainlit.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP