**Concise Descriptions:** * **MCP client library for custom agent integration. Simplifies server interaction.** (79 chars) * **Easy MCP interaction with custom agents. Client library.** (55 chars) *

5,528
499
<div align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="static/logo_white.svg">
    <source media="(prefers-color-scheme: light)" srcset="static/logo_black.svg">
    <img alt="MCP-Use Logo" src="./static/logo-white.svg" width="80%" style="margin: 20px auto;">
  </picture>
</div>

<br>

# MCP-Use: Connect Any LLM to Any MCP Server

[![GitHub stars](https://img.shields.io/github/stars/pietrozullo/mcp-use?style=social)](https://github.com/pietrozullo/mcp-use/stargazers)
[![PyPI Version](https://img.shields.io/pypi/v/mcp_use.svg)](https://pypi.org/project/mcp_use/)
[![License](https://img.shields.io/github/license/pietrozullo/mcp-use)](https://github.com/pietrozullo/mcp-use/blob/main/LICENSE)
[![PyPI Downloads](https://static.pepy.tech/badge/mcp-use)](https://pypi.org/project/mcp_use/)
[![Documentation](https://img.shields.io/badge/docs-mcp--use.com-blue)](https://docs.mcp-use.com)
[![Website](https://img.shields.io/badge/website-mcp--use.com-blue)](https://mcp-use.com)
[![Twitter Follow - Pietro](https://img.shields.io/twitter/follow/Pietro?style=social)](https://x.com/pietrozullo)
[![Twitter Follow - Luigi](https://img.shields.io/twitter/follow/Luigi?style=social)](https://x.com/pederzh)
[![Discord](https://dcbadge.limes.pink/api/server/XkNkSkMz3V?style=flat)](https://discord.gg/XkNkSkMz3V)

**MCP-Use** is an open-source Python library that simplifies connecting Large Language Models (LLMs) to Model Context Protocol (MCP) servers. Build custom MCP agents with tool access, eliminating the need for closed-source solutions or application-specific clients.

**Key Benefit:** Empower developers to seamlessly integrate any LLM with tools like web browsing, file operations, and more, all through the standardized MCP interface.

*   **Learn how to build and deploy MCP agents:** [mcp-use.com](https://mcp-use.com/)
*   **Get started with the `mcp-use` library:** [mcp-use docs](https://docs.mcp-use.com/)
*   **Quick Start:** Chat with your servers on our hosted version! [Try mcp-use chat (beta)](https://chat.mcp-use.com).

## Features

| Feature

Repository

MC
mcp-use

mcp-use/mcp-use

Created

March 28, 2025

Updated

July 7, 2025

Language

Python

Category

AI