$npx skillfedfor your agent

fastmcp-slim

The dependency-slim FastMCP package.

Worth itPyPI Artificial IntelligenceReleased Aug 202681.9M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fastmcp_slim-3.4.7-py3-none-any.whl
v3.4.7 · released 2026-08-10 · Python >=3.10 · 6 runtime deps: platformdirs, pydantic-settings, pydantic, python-dotenv, rich, typing-extensions

Yes. FastMCP-slim is actively maintained, has no known vulnerabilities, low install friction, and is the de facto standard for building MCP servers in Python. Install it if you need to expose Python functions to LLMs or integrate with MCP-compatible tools. The permissive Apache license and broad Python version support (3.10–3.13) make it suitable for both prototypes and production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction install with six common runtime dependencies.
  • Actively maintained with a release 4 days old; the project is at top_1000 popularity tier with 27207 repository stars and no known security vulnerabilities.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

last release 2026-08-10 (4 days) · last repo commit 2026-08-14 · 27,207 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,942,649 downloads/mo, #409 on PyPI

Verify before relying

pip install fastmcp-slim

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()
  • Whether fastmcp-slim is a true slim variant with reduced dependencies compared to the full fastmcp package.
  • Performance characteristics and latency overhead of the MCP protocol layer.
  • Compatibility with specific LLM platforms beyond the generic MCP standard.
Same gist for agents: .md · .json

What it is and what it does

FastMCP is a Python framework that wraps your functions into Model Context Protocol (MCP) servers, allowing LLMs to discover and call them as tools. It handles schema generation, validation, authentication, and protocol lifecycle automatically—you write a Python function, decorate it with @mcp.tool, and FastMCP exposes it as an MCP-compliant endpoint. The framework supports three modes: servers (expose tools to LLMs), clients (connect to any MCP server), and apps (render interactive UIs in conversations).

The package depends on pydantic for validation, python-dotenv for configuration, rich for terminal output, platformdirs for file paths, and typing-extensions for type hints. It targets modern Python versions (3.10–3.13) and is actively maintained by Prefect, the team behind the official MCP Python SDK. FastMCP is widely adopted—the fact sheet notes it powers 70% of MCP servers across all languages and receives a million downloads per day.

Use it for

  • Build an MCP server that exposes your Python utilities as tools for Claude or other LLMs to call.
  • Connect your application to remote MCP servers to integrate third-party tools and data sources.
  • Create interactive agent tools with UI components rendered directly in LLM conversations.
  • Prototype and deploy LLM-integrated applications without manually writing MCP protocol code.
  • Migrate from the low-level MCP SDK or older FastMCP versions to a modern, maintained framework.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

FastMCP-slim is actively maintained, has no known vulnerabilities, low install friction, and is the de facto standard for building MCP servers in Python. Install it if you need to expose Python functions to LLMs or integrate with MCP-compatible tools. The permissive Apache license and broad Python version support (3.10–3.13) make it suitable for both prototypes and production use.

Install

fastmcp-slim on PyPI

Before you install

Low friction install with six common runtime dependencies. Actively maintained with a release 4 days old; the project is at top_1000 popularity tier with 27207 repository stars and no known security vulnerabilities.

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install fastmcp-slim

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()

Verify before relying

  • Whether fastmcp-slim is a true slim variant with reduced dependencies compared to the full fastmcp package.
  • Performance characteristics and latency overhead of the MCP protocol layer.
  • Compatibility with specific LLM platforms beyond the generic MCP standard.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
platformdirspydantic-settingspydanticpython-dotenvrichtyping-extensions
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads81,942,649 / month, #409 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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

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

Tags

Capabilities
model context protocol serverllm tool frameworkmcp server pythonexpose functions to llmsagent tool integrationllm context protocolmcp client library
Topics
llm-integrationagent-frameworkmcp-protocol
PyPI keywords
agentfastmcpllmmcpmcp clientmcp servermodel context protocol

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “model context protocol server”

  • fastmcp-slimFastMCP exposes Python functions as Model Context Protocol (MCP)…
  • mcpBuild and connect to Model Context Protocol servers that expose…
  • fastmcpFastMCP is a Python framework for building Model Context Protocol…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also fastmcp · fastmcp-extensions · mcp-use · fast-agent-mcp · tilt-mcp · mcp · jupyter-server-mcp · langchain-mcp-adapters · workspace-mcp · mcp-server-qdrant