Integration Library
3.5k 2026-04-13

langchain-ai/langchain-mcp-adapters

A lightweight Python library that makes Anthropic Model Context Protocol (MCP) tools compatible with LangChain and LangGraph.

Core Features

Converts MCP tools into LangChain-compatible tools.
Enables use of MCP tools with LangGraph agents.
Provides a client to connect and load tools from multiple MCP servers.
Supports various MCP transport mechanisms, including streamable HTTP.

Quick Start

pip install langchain-mcp-adapters

Detailed Introduction

This library bridges the gap between the Anthropic Model Context Protocol (MCP) and the LangChain/LangGraph ecosystems. It provides a crucial adapter, allowing developers to seamlessly integrate external tools defined using the MCP standard into their LangChain and LangGraph-powered AI agents. By converting MCP tools into LangChain-compatible formats and offering a robust client for managing connections to multiple MCP servers, it significantly expands the functional capabilities of AI agents, enabling them to interact with a wider array of services and perform complex, multi-step operations.

OSS Alternative

Explore the best open source alternatives to commercial software.

© 2026 OSS Alternative. hotgithub.com - All rights reserved.