Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

mypy

Optional static type checker for Python enabling better code quality and IDE support.

Languages, types and runtimesPYPI

GitHubWebsite

1. License

License from PyPI license expression.

github.com/python/mypy

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What mypy does

Optional static type checker for Python enabling better code quality and IDE support.

mypy popularity

75 / 100
Gid Score, #211 overall
48.4M
downloads a week, pypi
20.7K
GitHub stars
46
agent projects use it
mypy: downloads per weekPyPI, mypy 48,507,328
mypy: GitHub starspython/mypy 20,734

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How mypy is used

  • 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%).

By coding agent

26 projects, 0.9%
22 projects, 0.7%
15 projects, 0.6%
5 projects, 1.8%

Often used with

In 100.0% of its projects
In 82.6% of its projects
In 71.7% of its projects
In 67.4% of its projects
In 65.2% of its projects
In 54.3% of its projects
In 54.3% of its projects
In 52.2% of its projects

More about mypy

Funding
  • GitHub Sponsors: https://github.com/python
  • Own page: https://www.python.org/psf/donations/python-dev/
  • 157 GitHub sponsors

See all

More in Languages, types and runtimes

Alternatives

mypy This page

MITGid 7548.4M/wk

Pyright (Python)

Static type checker for Python providing fast type checking and IDE integration.

MITGid 5214.5M/wk

Compare mypy with another tool

Get started

Install it.

pip install mypy

No step-by-step start for mypy yet: we have not written its hand-checked card.