Skip to content
PluginStats

@langchain/mcp-adapters weekly downloads statistics

By langchain · npm · MCP servers

LangChain.js adapters for Model Context Protocol (MCP)

View on npm Fresh · Oct 18, 2026

@langchain/mcp-adapters has 162,652 recorded weekly downloads on npm, a decrease of 35.9% over the past 30 days, ranking #417 of 2,322 tracked listings.

Weekly downloads
162,652
Official API · Oct 18, 2026
7-day growth
-42.7%
-121.3K weekly downloads
30-day growth
-35.9%
-91.1K weekly downloads
90-day growth
-28.3%
-64.2K weekly downloads
Rank
#417
Among tracked npm listings

About @langchain/mcp-adapters

LangChain.js MCP Adapters

npm version License: MIT

Give your LangChain agents access to tools from Model Context Protocol (MCP) servers. @langchain/mcp-adapters manages connections and converts MCP tools and results into LangChain formats, ready to use with createAgent or a custom LangGraph workflow.

  • Connect your tools: discover tools from multiple local or remote servers.
  • Control tool execution: authenticate connections, customize arguments and results with hooks, and receive progress updates.
  • Choose what the model sees: use text and multimodal results as model input, or keep outputs in artifacts for your application to process.
  • Ask for user input: pause an agent when a modern MCP server requests a form response or a URL visit, then resume with the user's response.

Read the MCP guide for concepts, configuration, and advanced usage.

Install

Requires Node.js 20.10 or later. Install the adapter and its LangChain peers:

npm install @langchain/mcp-adapters @langchain/core @langchain/langgraph

The adapter requires @langchain/core ^1.2.6 and @langchain/langgraph ^1.4.13. It includes the MCP SDK client; install the SDK separately only if your application imports it directly.

Quickstart: give an agent MCP tools

This example connects an agent to the public LangChain docs MCP server so it can look up documentation. You do not need to run a server or configure authentication for this MCP endpoint.

Install LangChain and the model integration used below:

npm install langchain @langchain/openai

Set OPENAI_API_KEY in your environment, then run:

import { createAgent } from "langchain";
import { ChatOpenAI } from "@langchain/openai";
import { MCPAdapter } from "@langchain/mcp-adapters";

const adapter = new MCPAdapter({
  servers: {
    docs: { url: "https://docs.langchain.com/mcp" },
  },
});

try {
  const tools = await adapter.listTools();
  const agent = createAgent({
    model: new ChatOpenAI({ model: "gpt-4.1-mini" }),
    tools,
  });

  const result = await agent.invoke({
    messages: [
      {
        role: "user",
        content: "How do I add short-term memory to a LangChain agent?",
      },
    ],
  });
  console.log(result.messages.at(-1)?.content);
} finally {
  await adapter.close();
}

Keep the adapter open while your agent uses its tools, then call close() when finished. Connections open as needed. listTools() returns executable LangChain tools, which you can also invoke directly without a model or use in a custom LangGraph workflow.

Tools that request user input

MCP tools can ask users to complete a form or visit a URL before continuing. For modern MCP servers, the adapter pauses the agent through a LangGraph interrupt so your application can collect a response and resume the run.

Configure a checkpointer for these workflows. Tools that do not request input can run without one. See the tools guide for handling requests and resuming execution.

Documentation and examples

I want to…Start here
Connect local or remote servers, manage connections, or select toolsConnections
Authenticate with tokens or OAuthAuthentication
Customize tool calls, handle results, or collect user inputTools
Modify tool arguments and resultsHooks example
Work with multimodal content and artifactsContent example
Receive server messages and tool progressNotifications example
Run a local example without model credentialsExample setup and walkthroughs

If you already manage an MCP SDK client, use loadMcpTools() to adapt its tools without handing connection management to MCPAdapter.

Upgrading from 1.x

Use MCPAdapter, { servers: { ... } }, and listTools() for new code. MultiServerMCPClient, mcpServers, and getTools() remain available as deprecated compatibility APIs.

Version 2 also changes tool-name defaults, configuration, connection behavior, and tool results. Review the migration guide before upgrading, including any approval rules that refer to tool names.

Acknowledgements…

Description from the npm listing.

  • langchain
  • mcp
  • model-context-protocol
  • ai
  • tools

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@langchain/mcp-adapters weekly downloads on npm, last 90 days: 162,652 weekly downloads as of Oct 18, 2026, -28.3% over 90 days.@langchain/mcp-adaptersWeekly downloads on npm · Last 90 days162,652downloads / week-28.3% over 90 days100K150K200K250K300K350KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@langchain/mcp-adapters weekly downloads on npm, last 90 days: 162,652 weekly downloads as of Oct 18, 2026, -28.3% over 90 days.

7/30/90-day growth

@langchain/mcp-adapters weekly downloads growth on npm: -42.7% over 7 days, -35.9% over 30 days, -28.3% over 90 days.@langchain/mcp-adaptersWeekly downloads growth on npm162,652downloads / week now7-day growth-121,346 weekly downloads-42.7%30-day growth-91,127 weekly downloads-35.9%90-day growth-64,202 weekly downloads-28.3%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@langchain/mcp-adapters weekly downloads growth on npm: -42.7% over 7 days, -35.9% over 30 days, -28.3% over 90 days.

Ranking history

@langchain/mcp-adapters npm ranking history: currently #417 (by weekly downloads).@langchain/mcp-adaptersnpm ranking · by weekly downloads · Last 90 days#417current rank#100#150#200#250#300#350#400#450Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
@langchain/mcp-adapters npm ranking history: currently #417 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 21, #17 (overall #417)
All npm: every listing in weekly downloads order

Listing placement

MCP servers277 listings · 14 pages · page 2, #13 (overall #33)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (544)
Recent weekly downloads observations for @langchain/mcp-adapters
Date (UTC)Weekly downloadsChange vs. previous
162,652+19.7K
142,934-23.3K
166,228+6.6K
159,608-64.4K
224,057-63.7K
287,8050
287,805+3.8K
283,998+1.1K
282,876+5.7K
277,195+8K
269,222+5.8K
263,416+5.3K
258,089-63K
321,059—

Similar npm MCP servers plugins

All 20 @langchain/mcp-adapters alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@langchain/mcp-adapters. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.