MCP server/ai-tools

LangChain & LlamaIndex Coding Assistant MCP Server

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

aadhil96/mcp-coding-assistant ↗by aadhil96updated
Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1

Prepare the server locally

Run this once before adding it to Claude Code.

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

Register 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.py

Replace any placeholder paths in the command with the real path on your machine.

Required:SERPER_API_KEY
3

Make 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@latest

Free · 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 functionality

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

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.

Conare · memory for coding agents

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.

Set up free$npx conare@latest