Prepare the server locally
Run this once before adding it to Claude Code.
git clone <repository-url>
cd documentation
uv syncRegister it in Claude Code
claude mcp add -e "SERPER_API_KEY=${SERPER_API_KEY}" coding-assistant -- uv --directory YOUR_ABSOLUTE_PATH_TO_PROJECT_DIR run main.pyReplace any placeholder paths in the command with the real path on your machine.
SERPER_API_KEYMake your agent remember this setup
coding-assistant's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- Deep documentation search for LangChain, LlamaIndex, and OpenAI
- Real-time retrieval of official API references and guides
- Context-aware coding assistance for Claude Desktop
- Seamless integration with Claude's native environment
Environment Variables
SERPER_API_KEYrequiredAPI key for Serper to enable documentation search functionalityTry it
Original README from aadhil96/mcp-coding-assistant
LangChain & LlamaIndex Coding Assistant
A powerful Coding Assistant integrated into Claude Code via the Model Context Protocol (MCP).
This assistant specializes in fetching real-time, official documentation for LangChain, LlamaIndex, and OpenAI, ensuring your coding workflow in Claude is powered by the absolute latest API references and guides.
Capabilities
- Deep Documentation Search: Instantly retrieves detailed documentation from:
- 🦜️🔗 LangChain (
python.langchain.com/docs) - 🦙 LlamaIndex (
docs.llamaindex.ai) - 🤖 OpenAI (
platform.openai.com/docs)
- 🦜️🔗 LangChain (
- Context-Aware Coding: Provides Claude with the exact context needed to write accurate code using these rapidly evolving libraries.
- Seamless Integration: Designed to work natively within the Claude Desktop environment.
Prerequisites
- Python 3.11+
- uv (recommended) or pip
- Serper API Key: (Get one free at serper.dev)
Installation
Clone the repository:
git clone <repository-url> cd documentationInstall dependencies:
uv sync # Or using pip: pip install -e .Set up API Key: Create a
.envfile in the project root:SERPER_API_KEY=your_api_key_here
Configuration for Claude Desktop
Add this to your claude_desktop_config.json (%APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"coding-assistant": {
"command": "uv",
"args": [
"--directory",
"YOUR_ABSOLUTE_PATH_TO_PROJECT_DIR",
"run",
"main.py"
],
"env": {
"SERPER_API_KEY": "your_api_key_here"
}
}
}
}
Usage
Once configured, ask Claude questions directly in your chat:
"How do I create a custom retrieval chain in LangChain?"
"Show me the latest LlamaIndex vector store implementation."
"What are the new parameters for OpenAI's chat completions?"
The assistant will fetch the latest docs and help you write the code.