MCP serversAI toolingLangChain

LangChain MCP server

https://docs.langchain.com/mcp

LangChain runs a remote MCP server an agent can read without logging in. It exposes 3 tools: search_docs_by_lang_chain, query_docs_filesystem_docs_by_lang_chain and submit_feedback. We read its tool list, then made 6 calls to the 2 tools it marks read-only.

AI tooling3 toolsv1.0.0Streamable HTTP

Connect

How to add the LangChain MCP server

The server speaks Streamable HTTP at the address below. Listing its tools needs no key.

Server URL
https://docs.langchain.com/mcp
Claude Code
claude mcp add --transport http langchain https://docs.langchain.com/mcp
Cursor and other clients (mcp.json)
{
  "mcpServers": {
    "langchain": {
      "url": "https://docs.langchain.com/mcp"
    }
  }
}

Tools

3 tools, about 1,600 tokens

An agent pays about 1,600 tokens for this list and the server’s instructions on every request, before it has done anything. 2 of 3 are marked read-only. Descriptions are quoted from the server.

ToolWhat the server says it doesParamsHint
search_docs_by_lang_chainSearch across the Docs by LangChain knowledge base to find relevant information, code examples, API references, and guides. Use this tool when you need to answer questions about Docs by…1Read-only
query_docs_filesystem_docs_by_lang_chainRun a read-only shell-like query against a virtualized, in-memory filesystem rooted at `/` that contains ONLY the Docs by LangChain documentation pages and OpenAPI specs. This is NOT a…1Read-only
submit_feedbackReport a problem with this documentation site so the docs team can fix it. Use when a documentation page is incorrect, outdated, confusing, incomplete, or has a broken example. This is for…2Can write

Score

97 out of 100, check by check

We read its tool list, then made 6 calls to the 2 tools it marks read-only. What each check means and how it is weighted →

Server

100/100
  • The server sends instructions (909 characters).
  • 3 tools.
  • The tool list and instructions cost about 1,600 tokens, on every request an agent makes.

Tool descriptions

100/100
  • Every tool has a description of 40 characters or more.
  • No vague tool descriptions.

Parameters

83/100
  • All 4 parameters are described.
  • Constrained values use enums.
  • 2 of 2 list or search tools have no way to ask for less (no limit, page or cursor parameter): search_docs_by_lang_chain, query_docs_filesystem_docs_by_lang_chain.Fix: Add a limit with a small default, and a cursor when there can be more: the agent pays for every row it didn't need.

Safety hints

100/100
  • Every tool is annotated.

Error quality

100/100
  • All 4 wrong calls were refused.
  • All 4 errors name the parameter that was wrong.
  • No error is empty, generic or a stack trace.
  • Errors come back as tool results (isError: true), which every client shows to the model.

Responses

100/100
  • The largest of 2 responses is about 4,800 tokens (search_docs_by_lang_chain).
  • 2 calls: median 0.7 s, slowest 0.7 s.

Evidence

What the server answered

Every call we made, what we sent and what came back. A wrong call should be refused with an error that names the parameter, so the agent’s next call can be right.

ToolWe sentResultWhat the agent readsTime
search_docs_by_lang_chainA plain callAnsweredAbout 4,752 tokens0.7 s
search_docs_by_lang_chainLeft out queryRefusedInput validation error: Invalid arguments for tool search_docs_by_lang_chain: query: Required0.4 s
search_docs_by_lang_chainWrong type for queryRefusedInput validation error: Invalid arguments for tool search_docs_by_lang_chain: query: Expected string, received object0.9 s
query_docs_filesystem_docs_by_lang_chainA plain callAnsweredexit: 10.6 s
query_docs_filesystem_docs_by_lang_chainLeft out commandRefusedInput validation error: Invalid arguments for tool query_docs_filesystem_docs_by_lang_chain: command: Required0.3 s
query_docs_filesystem_docs_by_lang_chainWrong type for commandRefusedInput validation error: Invalid arguments for tool query_docs_filesystem_docs_by_lang_chain: command: Expected string, received object0.3 s

Fix first

1 fix, by points lost

  1. Add a limit with a small default, and a cursor when there can be more: the agent pays for every row it didn't need. Parameters
Paste into your coding agent, in the server's repository
Improve the MCP server at https://docs.langchain.com/mcp so AI agents can use it. A test on 1 December 2026 (https://trybackloop.com/mcp/langchain) found:

1. 2 of 2 list or search tools have no way to ask for less (no limit, page or cursor parameter): `search_docs_by_lang_chain`, `query_docs_filesystem_docs_by_lang_chain`.
   Fix: Add a `limit` with a small default, and a cursor when there can be more: the agent pays for every row it didn't need.

Keep tool names stable. After the change, check each fix against the tool list and one call per tool.

Alternatives

LangChain alternatives, same test

The other AI tooling servers on the board, tested the same day. A higher score means an agent has less to guess, not that the product behind it is better.

#ServerToolsBiggest gapScore
1Hugging Facehuggingface.co/mcp4Fixed lists typed as free text98
2LangChaindocs.langchain.com/mcp3Search with no limit parameter97
3Pineconedocs.pinecone.io/mcp3A response of about 16,700 tokens91
4OpenAI Docsdevelopers.openai.com/mcp5All 10 parameters undescribed86

Your server?

Fixed something? Run it again.

This page is the run of 1 December 2026. The live test takes a few seconds and shows the current result.

About 20 public requests, plus a few calls to the tools the server marks read-only. No other tool is called. No signup, nothing stored.

After the test

A test finds what is wrong with the interface.
It can’t see what agents wanted.

An agent that gives up, or takes the slow way round, still gets a 200 on every call, so your logs never show it. Backloop collects what agents were trying to do and couldn’t, groups it, and opens the pull request that fixes it.