langchain-mcp-adapters and langchain-mcp-tools-py-usage

The first is an official LangChain adapter that enables integration of any MCP server into LangChain agents, while the second is a minimal example demonstrating how to use that adapter in a ReAct agent—making them complements where the former provides the infrastructure and the latter shows its usage pattern.

Maintenance 17/25
Adoption 15/25
Maturity 25/25
Community 21/25
Maintenance 10/25
Adoption 4/25
Maturity 16/25
Community 15/25
Stars: 3,411
Forks: 379
Downloads:
Commits (30d): 16
Language: Python
License: MIT
Stars: 6
Forks: 4
Downloads:
Commits (30d): 0
Language: Python
License: MIT
No risk flags
No Package No Dependents

About langchain-mcp-adapters

langchain-ai/langchain-mcp-adapters

LangChain 🔌 MCP

This project helps AI developers integrate external capabilities, like custom calculators or data lookups, into their LangChain or LangGraph AI agents. It takes existing 'Model Context Protocol' (MCP) tools, which are essentially specialized functions, and makes them accessible to the AI agent. The result is an AI agent that can perform a wider range of tasks by using these external tools.

AI development LLM integration tool orchestration agent workflow external service connection

About langchain-mcp-tools-py-usage

hideya/langchain-mcp-tools-py-usage

MCP Tools Usage From LangChain ReAct Agent / Example in Python

This is a basic example for Python developers working with LangChain. It demonstrates how to connect your LangChain ReAct agent to external Model Context Protocol (MCP) servers. You provide the MCP server endpoints and an LLM API key, and it shows how to use the tools exposed by those servers within your LangChain application.

LangChain development LLM application development agent tool integration Model Context Protocol Python development

Scores updated daily from GitHub, PyPI, and npm data. How scores work