{"id":45631550,"url":"https://github.com/prefecthq/fastmcp","last_synced_at":"2026-04-14T03:01:40.950Z","repository":{"id":265588754,"uuid":"896296825","full_name":"PrefectHQ/fastmcp","owner":"PrefectHQ","description":"🚀 The fast, Pythonic way to build MCP servers and clients.","archived":false,"fork":false,"pushed_at":"2026-04-10T01:52:48.000Z","size":48775,"stargazers_count":24427,"open_issues_count":224,"forks_count":1903,"subscribers_count":110,"default_branch":"main","last_synced_at":"2026-04-10T03:22:58.041Z","etag":null,"topics":["agents","fastmcp","llms","mcp","mcp-clients","mcp-servers","mcp-tools","model-context-protocol","python"],"latest_commit_sha":null,"homepage":"https://gofastmcp.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrefectHQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-11-30T01:47:40.000Z","updated_at":"2026-04-10T03:09:40.000Z","dependencies_parsed_at":"2025-11-28T13:03:08.737Z","dependency_job_id":null,"html_url":"https://github.com/PrefectHQ/fastmcp","commit_stats":null,"previous_names":["jlowin/fastmcp","prefecthq/fastmcp"],"tags_count":93,"template":false,"template_full_name":null,"purl":"pkg:github/PrefectHQ/fastmcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrefectHQ%2Ffastmcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrefectHQ%2Ffastmcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrefectHQ%2Ffastmcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrefectHQ%2Ffastmcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrefectHQ","download_url":"https://codeload.github.com/PrefectHQ/fastmcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrefectHQ%2Ffastmcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31779947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents","fastmcp","llms","mcp","mcp-clients","mcp-servers","mcp-tools","model-context-protocol","python"],"created_at":"2026-02-24T00:06:35.693Z","updated_at":"2026-04-14T03:01:40.941Z","avatar_url":"https://github.com/PrefectHQ.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n\n\u003c!-- omit in toc --\u003e\n\n\u003cpicture\u003e\n  \u003csource width=\"550\" media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/brand/f-watercolor-waves-4-dark.png\"\u003e\n  \u003csource width=\"550\" media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/brand/f-watercolor-waves-4.png\"\u003e\n  \u003cimg width=\"550\" alt=\"FastMCP Logo\" src=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/brand/f-watercolor-waves-2.png\"\u003e\n\u003c/picture\u003e\n\n# FastMCP 🚀\n\n\u003cstrong\u003eMove fast and make things.\u003c/strong\u003e\n\n*Made with 💙 by [Prefect](https://www.prefect.io/)*\n\n[![Docs](https://img.shields.io/badge/docs-gofastmcp.com-blue)](https://gofastmcp.com)\n[![Discord](https://img.shields.io/badge/community-discord-5865F2?logo=discord\u0026logoColor=white)](https://discord.gg/uu8dJCgttd)\n[![PyPI - Version](https://img.shields.io/pypi/v/fastmcp.svg)](https://pypi.org/project/fastmcp)\n[![Tests](https://github.com/PrefectHQ/fastmcp/actions/workflows/run-tests.yml/badge.svg)](https://github.com/PrefectHQ/fastmcp/actions/workflows/run-tests.yml)\n[![License](https://img.shields.io/github/license/PrefectHQ/fastmcp.svg)](https://github.com/PrefectHQ/fastmcp/blob/main/LICENSE)\n\n\u003ca href=\"https://trendshift.io/repositories/13266\" target=\"_blank\"\u003e\u003cimg src=\"https://trendshift.io/api/badge/repositories/13266\" alt=\"prefecthq%2Ffastmcp | Trendshift\" style=\"width: 250px; height: 55px;\" width=\"250\" height=\"55\"/\u003e\u003c/a\u003e\n\u003c/div\u003e\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) -\u003e 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\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\" valign=\"top\" width=\"33%\"\u003e\n\u003ca href=\"https://gofastmcp.com/servers/server\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/images/servers-card.png\" alt=\"Servers\" /\u003e\n\u003cbr /\u003e\u003cstrong\u003eServers\u003c/strong\u003e\n\u003c/a\u003e\n\u003cbr /\u003eExpose tools, resources, and prompts to LLMs.\n\u003c/td\u003e\n\u003ctd align=\"center\" valign=\"top\" width=\"33%\"\u003e\n\u003ca href=\"https://gofastmcp.com/apps/overview\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/images/apps-card.png\" alt=\"Apps\" /\u003e\n\u003cbr /\u003e\u003cstrong\u003eApps\u003c/strong\u003e\n\u003c/a\u003e\n\u003cbr /\u003eGive your tools interactive UIs rendered directly in the conversation.\n\u003c/td\u003e\n\u003ctd align=\"center\" valign=\"top\" width=\"33%\"\u003e\n\u003ca href=\"https://gofastmcp.com/clients/client\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/images/clients-card.png\" alt=\"Clients\" /\u003e\n\u003cbr /\u003e\u003cstrong\u003eClients\u003c/strong\u003e\n\u003c/a\u003e\n\u003cbr /\u003eConnect to any MCP server — local or remote, programmatic or CLI.\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\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). When you're ready to deploy, [Prefect Horizon](https://www.prefect.io/horizon) offers free hosting for FastMCP users.\n\n## Installation\n\nWe recommend installing FastMCP with [uv](https://docs.astral.sh/uv/):\n\n```bash\nuv pip install fastmcp\n```\n\nFor full installation instructions, including verification and upgrading, see the [**Installation Guide**](https://gofastmcp.com/getting-started/installation).\n\n**Upgrading?** We have guides for:\n- [Upgrading from FastMCP v2](https://gofastmcp.com/getting-started/upgrading/from-fastmcp-2)\n- [Upgrading from the MCP Python SDK](https://gofastmcp.com/getting-started/upgrading/from-mcp-sdk)\n- [Upgrading from the low-level SDK](https://gofastmcp.com/getting-started/upgrading/from-low-level-sdk)\n\n## 📚 Documentation\n\nFastMCP's complete documentation is available at **[gofastmcp.com](https://gofastmcp.com)**, including detailed guides, API references, and advanced patterns.\n\nDocumentation is also available in [llms.txt format](https://llmstxt.org/), which is a simple markdown standard that LLMs can consume easily:\n\n- [`llms.txt`](https://gofastmcp.com/llms.txt) is essentially a sitemap, listing all the pages in the documentation.\n- [`llms-full.txt`](https://gofastmcp.com/llms-full.txt) contains the entire documentation. Note this may exceed the context window of your LLM.\n\n**Community:** Join our [Discord server](https://discord.gg/uu8dJCgttd) to connect with other FastMCP developers and share what you're building.\n\n## Contributing\n\nWe welcome contributions! See the [Contributing Guide](https://gofastmcp.com/development/contributing) for setup instructions, testing requirements, and PR guidelines.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprefecthq%2Ffastmcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprefecthq%2Ffastmcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprefecthq%2Ffastmcp/lists"}