{
 "kind": "tool",
 "slug": "mypy",
 "path": "tools/mypy/",
 "name": "mypy",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Languages, types and runtimes",
   "tools/languages-types/"
  ]
 ],
 "lead": "Optional static type checker for Python enabling better code quality and IDE support.",
 "chips": [
  {
   "label": "Languages, types and runtimes",
   "path": "tools/languages-types/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install mypy"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/python/mypy"
  },
  {
   "label": "Website",
   "href": "https://www.mypy-lang.org/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/python/mypy"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "",
   "src": "https://github.com/python/mypy"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "46 projects",
   "status": "info",
   "sub": "#7 of 70 in its category",
   "note": "Dependency in 46 public GitHub projects set up for AI coding agents that we scanned (0.7%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What mypy does",
   "parts": [
    {
     "t": "prose",
     "text": "Optional static type checker for Python enabling better code quality and IDE support."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "mypy popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "75",
       "of": "/ 100",
       "l": "Gid Score, #211 overall"
      },
      {
       "n": "48.4M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "20.7K",
       "l": "GitHub stars"
      },
      {
       "n": "46",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How mypy is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "mypy is a dependency in 46 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.8% of the 1,623 Python ones), #7 of 70 in languages, types and runtimes.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 251; those are left out of every share on this page.",
      "The most used alternative in our scan is Pyright (Python) (3 projects).",
      "Projects that use it most often also use pytest (100.0%), Black (82.6%), Pydantic (71.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "26 projects, 0.9%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "22 projects, 0.7%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "15 projects, 0.6%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "5 projects, 1.8%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "pytest",
       "path": "tools/pytest/"
      },
      {
       "l": "In 82.6% of its projects",
       "v": "Black",
       "path": "tools/black/"
      },
      {
       "l": "In 71.7% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 67.4% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 65.2% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 54.3% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 54.3% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 52.2% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about mypy",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/python",
        "Own page: https://www.python.org/psf/donations/python-dev/",
        "157 GitHub sponsors"
       ]
      },
      {
       "title": "More in Languages, types and runtimes",
       "path": "tools/languages-types/",
       "items": [
        {
         "text": "TypeScript",
         "path": "tools/typescript/"
        },
        {
         "text": "tsx",
         "path": "tools/tsx/"
        },
        {
         "text": "ts-node",
         "path": "tools/ts-node/"
        },
        {
         "text": "jiti",
         "path": "tools/jiti/"
        },
        {
         "text": "vue-tsc",
         "path": "tools/vue-tsc/"
        },
        {
         "text": "Cloudflare Workers Types",
         "path": "tools/cloudflare-workers-types/"
        },
        {
         "text": "tsconfig-paths",
         "path": "tools/tsconfig-paths/"
        },
        {
         "text": "CFFI",
         "path": "tools/cffi/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "mypy",
       "me": true,
       "facts": [
        "MIT",
        "Gid 75",
        "48.4M/wk"
       ]
      },
      {
       "name": "Pyright (Python)",
       "why": "Static type checker for Python providing fast type checking and IDE integration.",
       "path": "tools/pyright-pypi/",
       "facts": [
        "MIT",
        "Gid 52",
        "14.5M/wk"
       ]
      }
     ],
     "more": "Compare mypy with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install mypy"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for mypy yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi mypy"
  ],
  [
   "Category",
   "Languages, types and runtimes"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "74.8"
  ],
  [
   "Rank in category",
   "#7 of 70"
  ],
  [
   "GitHub",
   "python/mypy"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/python.png"
}