LangChain Docs MCP server
Public docs-search MCP server for LangChain's documentation, exposing a SearchDocsByLangChain tool over conceptual guides, how-tos, tutorials, and product docs for LangChain, LangGraph, and LangSmith. It supports filters to return only API reference pages or only code snippets; a companion server at reference.langchain.com/mcp covers full API signatures.
Endpoint and access
No sign-in: your client connects and lists tools immediately, with no account or key.
No sign-inEndpoint checked 2026-10-05
MCP endpoint (Streamable HTTP)
https://docs.langchain.com/mcpWhat you can do with it
- Search LangChain, LangGraph, and LangSmith guides and how-tos.
- Restrict results to code snippets only.
- Pull current docs into a coding agent before writing LangChain code.
- Pair with the reference.langchain.com/mcp server for full API signatures.
search_docs_by_lang_chainquery_docs_filesystem_docs_by_lang_chainsubmit_feedback
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http langchain-docs https://docs.langchain.com/mcpCodex
Codex configuration
codex mcp add langchain-docs --url https://docs.langchain.com/mcpCursor
Cursor configuration
{
"mcpServers": {
"langchain-docs": {
"url": "https://docs.langchain.com/mcp"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"langchain-docs": {
"type": "streamableHttp",
"url": "https://docs.langchain.com/mcp",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"langchain-docs": {
"type": "http",
"url": "https://docs.langchain.com/mcp"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http langchain-docs https://docs.langchain.com/mcpClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"langchain-docs": {
"url": "https://docs.langchain.com/mcp"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"langchain-docs": {
"serverUrl": "https://docs.langchain.com/mcp"
}
}
}Other documentation and reference servers
Do you run LangChain Docs?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.