{"data":{"slug":"prefecthq-fastmcp","name":"fastmcp","tagline":"Fast, Pythonic way to build MCP servers and clients","github_url":"https://github.com/PrefectHQ/fastmcp","owner":"PrefectHQ","repo":"fastmcp","owner_avatar_url":"https://avatars.githubusercontent.com/u/39270919?v=4","primary_language":"Python","stars":26022,"forks":2118,"topics":["agents","fastmcp","llms","mcp","mcp-clients","mcp-servers","mcp-tools","model-context-protocol","python"],"archived":false,"github_pushed_at":"2026-07-07T12:07:09+00:00","url":"https://www.graphcanon.com/tools/prefecthq-fastmcp","markdown_url":"https://www.graphcanon.com/tools/prefecthq-fastmcp.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/prefecthq-fastmcp","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=prefecthq-fastmcp","description":"🚀 The fast, Pythonic way to build MCP servers and clients.","homepage_url":"https://gofastmcp.com","license":"Apache-2.0","open_issues":266,"watchers":118,"ai_summary":"FastMCP is a framework that connects LLMs to tools and data via the Model Context Protocol (MCP). It simplifies building applications by handling server-side operations such as schema generation, validation, documentation, and protocol lifecycle management.","readme_excerpt":"<div align=\"center\">\n\n\n\n<picture>\n  <source width=\"550\" media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/brand/f-watercolor-waves-4-dark.png\">\n  <source width=\"550\" media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/brand/f-watercolor-waves-4.png\">\n  <img width=\"550\" alt=\"FastMCP Logo\" src=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/brand/f-watercolor-waves-2.png\">\n</picture>\n\n# FastMCP 🚀\n\n<strong>Move fast and make things.</strong>\n\n*Made with 💙 by [Prefect](https://www.prefect.io/)*\n\n\n\n\n\n\n\n<a href=\"https://trendshift.io/repositories/21461\" target=\"_blank\"><img src=\"https://trendshift.io/api/badge/repositories/21461\" alt=\"prefecthq%2Ffastmcp | Trendshift\" style=\"width: 250px; height: 55px;\" width=\"250\" height=\"55\"/></a>\n</div>\n\n---\n\nThe [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) connects LLMs to tools and data. FastMCP gives you everything you need to go from prototype to production:\n\n```python\nfrom fastmcp import FastMCP\n\nmcp = FastMCP(\"Demo 🚀\")\n\n@mcp.tool\ndef add(a: int, b: int) -> int:\n    \"\"\"Add two numbers\"\"\"\n    return a + b\n\nif __name__ == \"__main__\":\n    mcp.run()\n```\n\n## Why FastMCP\n\nBuilding an effective MCP application is harder than it looks. FastMCP handles all of it. Declare a tool with a Python function, and the schema, validation, and documentation are generated automatically. Connect to a server with a URL, and transport negotiation, authentication, and protocol lifecycle are managed for you. You focus on your logic, and the MCP part just works: **with FastMCP, best practices are built in.**\n\n**That's why FastMCP is the standard framework for working with MCP.** FastMCP 1.0 was incorporated into the official MCP Python SDK in 2024. Today, the actively maintained standalone project is downloaded a million times a day, and some version of FastMCP powers 70% of MCP servers across all languages.\n\nFastMCP has three pillars:\n\n<table>\n<tr>\n<td align=\"center\" valign=\"top\" width=\"33%\">\n<a href=\"https://gofastmcp.com/servers/server\">\n<img src=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/images/servers-card.png\" alt=\"Servers\" />\n<br /><strong>Servers</strong>\n</a>\n<br />Expose tools, resources, and prompts to LLMs.\n</td>\n<td align=\"center\" valign=\"top\" width=\"33%\">\n<a href=\"https://gofastmcp.com/apps/overview\">\n<img src=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/images/apps-card.png\" alt=\"Apps\" />\n<br /><strong>Apps</strong>\n</a>\n<br />Give your tools interactive UIs rendered directly in the conversation.\n</td>\n<td align=\"center\" valign=\"top\" width=\"33%\">\n<a href=\"https://gofastmcp.com/clients/client\">\n<img src=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/images/clients-card.png\" alt=\"Clients\" />\n<br /><strong>Clients</strong>\n</a>\n<br />Connect to any MCP server — local or remote, programmatic or CLI.\n</td>\n</tr>\n</table>\n\n**[Servers](https://gofastmcp.com/servers/server)** wrap your Python functions into MCP-compliant tools, resources, and prompts. **[Clients](https://gofastmcp.com/clients/client)** connect to any server with full protocol support. And **[Apps](https://gofastmcp.com/apps/overview)** give your tools interactive UIs rendered directly in the conversation.\n\nReady to build? Start with the [installation guide](https://gofastmcp.com/getting-started/installation) or jump straight to the [quickstart](https://gofastmcp.com/getting-started/quickstart).\n\n## Run FastMCP in production with Horizon\n\nFastMCP is the standard way to build MCP servers. **[Prefect Horizon](https://www.prefect.io/horizon?utm_source=github&utm_medium=readme&utm_campaign=readme_horizon&utm_content=readme_body)** is the enterprise MCP gateway for running them safely.\n\nBuilt by the FastMCP team, Horizon packages the best practices we've learned shipping the world's most popular MCP framewor","github_created_at":"2024-11-30T01:47:40+00:00","created_at":"2026-07-07T22:36:59.234984+00:00","updated_at":"2026-07-07T22:37:02.788612+00:00","categories":[{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"},{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"}],"tags":[{"slug":"llms","name":"llms"},{"slug":"mcp-clients","name":"mcp-clients"},{"slug":"agents","name":"agents"},{"slug":"python","name":"python"},{"slug":"mcp-servers","name":"mcp-servers"}]}}