{
 "schema_version": 1,
 "generated": "2026-10-31",
 "repo": "modelcontextprotocol/python-sdk",
 "name": "python-sdk",
 "owner": "modelcontextprotocol",
 "slug": "modelcontextprotocol-python-sdk",
 "github": "https://github.com/modelcontextprotocol/python-sdk",
 "what": "The MCP Python SDK is the official Python implementation of the Model Context Protocol. It builds MCP servers that expose tools, resources and prompts to any MCP host and MCP clients that connect to any server, over stdio, Streamable HTTP and SSE. Type hints become the schema, and the optional cli extra adds the mcp command with mcp dev, mcp run and mcp install.",
 "why": "25k stars, talked about in 2 AI sources we track",
 "language": "Python",
 "requirements": [
  "Python 3.11 or later",
  "uv or pip",
  "The cli extra for the mcp command-line tool",
  "Optional: the MCP Inspector, which mcp dev opens"
 ],
 "audience_note": "Python developers who want to build against the official MCP reference implementation.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Software and DevOps",
 "url": "https://dedupedai.com/use-cases/modelcontextprotocol-python-sdk/",
 "use_case_count": 3,
 "use_cases": [
  {
   "id": "modelcontextprotocol-python-sdk--build-and-inspect-an-mcp-server",
   "title": "Build an MCP server and test it in the Inspector",
   "best": true,
   "url": "https://dedupedai.com/use-cases/modelcontextprotocol-python-sdk/build-and-inspect-an-mcp-server/",
   "json": "https://dedupedai.com/use-cases/u/modelcontextprotocol-python-sdk/build-and-inspect-an-mcp-server.json"
  },
  {
   "id": "modelcontextprotocol-python-sdk--serve-mcp-over-http-and-call-it-from-python",
   "title": "Serve an MCP server over HTTP and call it from Python",
   "best": false,
   "url": "https://dedupedai.com/use-cases/modelcontextprotocol-python-sdk/serve-mcp-over-http-and-call-it-from-python/",
   "json": "https://dedupedai.com/use-cases/u/modelcontextprotocol-python-sdk/serve-mcp-over-http-and-call-it-from-python.json"
  },
  {
   "id": "modelcontextprotocol-python-sdk--run-mcp-commands-without-a-project",
   "title": "Try MCP commands without setting up a project",
   "best": false,
   "url": "https://dedupedai.com/use-cases/modelcontextprotocol-python-sdk/run-mcp-commands-without-a-project/",
   "json": "https://dedupedai.com/use-cases/u/modelcontextprotocol-python-sdk/run-mcp-commands-without-a-project.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
