LangChain & LlamaIndex Coding Assistant MCP Server

$git clone <repository-url> && cd documentation && uv sync
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 from serper.dev used for documentation search

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 across LangChain, LlamaIndex, and OpenAI platforms.. Context-Aware Coding by providing Claude with exact context from rapidly evolving libraries.. Real-time retrieval of official API references and guides.. Native integration with Claude Desktop environment via MCP..

What can I use LangChain & LlamaIndex Coding Assistant for?

Developers needing the latest API syntax for LangChain retrieval chains.. Engineers implementing LlamaIndex vector stores using the most recent documentation.. AI researchers checking for updated parameters in OpenAI's chat completion models.. Coding in environments where local documentation is outdated compared to official web docs..

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.

Use LangChain & LlamaIndex Coding Assistant with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free