LangChain & LlamaIndex Coding Assistant MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone <repository-url>
cd documentation
uv sync
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "SERPER_API_KEY=${SERPER_API_KEY}" coding-assistant -- node "<FULL_PATH_TO_MCP_CODING_ASSISTANT>/dist/index.js"

Replace <FULL_PATH_TO_MCP_CODING_ASSISTANT>/dist/index.js with the actual folder you prepared in step 1.

Required:SERPER_API_KEY
README.md

Real-time retrieval of official documentation for LangChain, LlamaIndex, and OpenAI

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)
  • 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

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd documentation
    
  2. Install dependencies:

    uv sync
    # Or using pip:
    pip install -e .
    
  3. Set up API Key: Create a .env file 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.

Environment Variables

SERPER_API_KEYrequiredAPI key for Serper to enable documentation search functionality

Configuration

claude_desktop_config.json
{"mcpServers": {"coding-assistant": {"command": "uv", "args": ["--directory", "YOUR_ABSOLUTE_PATH_TO_PROJECT_DIR", "run", "main.py"], "env": {"SERPER_API_KEY": "your_api_key_here"}}}}

Try it

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?

Frequently Asked Questions

What are the key features of LangChain & LlamaIndex Coding Assistant?

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.

What can I use LangChain & LlamaIndex Coding Assistant for?

Developers building RAG applications with LangChain and LlamaIndex. Engineers needing the latest OpenAI API parameter documentation. Users looking to reduce hallucinations in code generation by providing official documentation context.

How do I install LangChain & LlamaIndex Coding Assistant?

Install LangChain & LlamaIndex Coding Assistant by running: git clone <repository-url> && cd documentation && uv sync

What MCP clients work with LangChain & LlamaIndex Coding Assistant?

LangChain & LlamaIndex Coding Assistant works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep LangChain & LlamaIndex Coding Assistant docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare