# langchain-mcp-adapters

> MCP Client

This repository provides a lightweight wrapper for using Anthropic Model Context Protocol (MCP) tools with LangChain and LangGraph, enabling the creation of agents that can access and utilize MCP-defined functionalities.

## Overview

- **Category:** AI
- **Language:** Python
- **Stars:** 3616
- **Forks:** 58
- **Owner:** langchain-ai
- **GitHub:** https://github.com/langchain-ai/langchain-mcp-adapters
- **Created:** 2025-02-07T23:08:03+00:00
- **Updated:** 2025-03-28T22:09:04+00:00
- **Source:** https://model-context-protocol.com/clients/langchain-anthropic-mcp-tools-integration

## Setup

## Setup

1.  `pip install langchain-mcp-adapters`
2.  `pip install langchain-mcp-adapters langgraph langchain-openai`
3.  `export OPENAI_API_KEY=<your_api_key>`

## Tools

## Available Tools

1.  Convert MCP tools into LangChain tools (that can be used with LangGraph agents).
2.  A client implementation (that allows you to connect to multiple MCP servers and load tools from them).
