Skip to main content
We want to make our documentation as accessible as possible. We’ve included several ways for you to use these docs programmatically through AI assistants, code editors, and direct integrations, such as Model Context Protocol (MCP).

Quick access options

On any page in our documentation, you’ll find a contextual menu dropdown in the top right corner (look for the “copy page” button, and use the down arrow). This menu gives you several options for working with our docs:

Copy

Copy the current page as Markdown text to your clipboard

View as Markdown

View the raw Markdown source of the current page

llms.txt

Access our machine-readable documentation format designed for LLMs

ChatGPT

Connect to ChatGPT for assisted reading

Claude

Connect to Claude Desktop for assisted reading

MCP Server

Connect via Model Context Protocol (our recommended option!)

Cursor

Integrate with Cursor IDE

VS Code

Integrate with Visual Studio Code

Use our MCP server

Our documentation includes a built-in Model Context Protocol (MCP) server that lets AI applications query the latest docs in real-time.

How to connect

Our MCP server is available at: https://docs.langchain.com/mcp

Connect with Claude Code

If you’re using Claude Code, run this command in your terminal:
claude mcp add --transport http "Docs by LangChain" https://docs.langchain.com/mcp

Connect with Claude Desktop

  1. Open Claude Desktop
  2. Go to Settings > Connectors
  3. Add our MCP server URL: https://docs.langchain.com/mcp

Connect with Cursor or VS Code

Add the following to your MCP settings configuration file:
{
  "mcpServers": {
    "docs-langchain": {
      "url": "https://docs.langchain.com/mcp"
    }
  }
}

What you can do

Once connected, you can ask your AI assistant questions about LangChain, LangGraph, and LangSmith, and it will search our documentation to provide accurate, current answers.

Learn more

For more information about using Mintlify’s MCP servers, see the official Mintlify documentation. Have questions or feedback? Let us know in our community forum.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers. See how
I