skillfed

fastmcp

The fast, Pythonic way to build MCP servers and clients.

fastmcp Permissive license Apache-2.0 Active 27,204 v3.4.7 released

Install

fastmcp on PyPI

pip

pip install fastmcp

uv

uv add fastmcp

poetry

poetry add fastmcp

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 1 — fastmcp-slim
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: fastmcp-3.4.7-py3-none-any.whl

Keywords: agent, fastmcp, llm, mcp, mcp client, mcp server, model context protocol

Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/Engineering :: Artificial IntelligenceTyping :: Typed

About fastmcp

from the package's own PyPI description — quoted content, verbatim

<div align="center">

<!-- omit in toc -->

<picture> <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"> <source width="550" media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/brand/f-watercolor-waves-4.png"> <img width="550" alt="FastMCP Logo" src="https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/docs/assets/brand/f-watercolor-waves-2.png"> </picture>

FastMCP 🚀

<strong>Move fast and make things.</strong>

Made with 💙 by Prefect

Docs (image) Discord (image) [![PyPI -...

Read as markdown · JSON record · Source repository · Homepage · Docs

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

FastMCP is a Python framework for building Model Context Protocol (MCP) servers and clients that expose tools, resources, and prompts to LLMs with automatic schema generation and validation.

Low install friction with a pure-Python wheel distribution. Actively maintained with a release 3 days old; the project is in the top 1000 PyPI packages.

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions; you must include a copy of the license and state material changes.

Usage

pip install fastmcp

from fastmcp import FastMCP

mcp = FastMCP("Demo")

@mcp.tool
def add(a: int, b: int) -> int:
    """Add two numbers"""
    return a + b

if __name__ == "__main__":
    mcp.run()

Requires Python 3.10 or later; fastmcp-slim is a runtime dependency.

Verdict: FastMCP is a well-maintained, actively developed framework with zero known vulnerabilities. Its permissive Apache-2.0 license and low install friction make it a straightforward choice for building MCP servers and clients in Python 3.10+.

Needs verification

  • Community adoption metrics and deployment scale across production MCP servers.
  • Whether fastmcp-slim's own dependency tree introduces any notable transitive friction or security concerns.
  • Performance characteristics or resource overhead when running multiple concurrent MCP servers.
  • Compatibility guarantees or breaking-change policy across minor versions.
model context protocol frameworkmcp server builder pythonllm tool exposure frameworkmcp client libraryagent tool integrationllm function wrappingmcp protocol implementation

Similar packages