Pyrefly review
Pick Pyrefly if you want Python type checking alongside code navigation and refactoring in your editor.
Reviewed by iTechGuides Editors · Editorial team · Updated Dec 2026
Pyrefly brings Python type checking to both the command line and the editor. Developed by Meta’s Python Language Tooling Team, it combines a static checker with a language server that surfaces type errors as you work. It’s a good fit for Python teams that want developers to see and investigate those errors in the editor while keeping command-line checks available for use outside it. Pyrefly is free, self-hosted and released under the MIT license.
The language server does more than mark type errors. Hover information and inlay hints give developers type context while reading code, and code navigation helps them follow a reference without leaving the editor. Autocomplete, semantic highlighting and refactoring-oriented code actions round out the editing features. For teams adding types to an existing project, the `infer` command can infer annotations, while error suppression lets teams adopt checking incrementally instead of addressing every existing diagnostic at once.
Editor integrations include Visual Studio Code, Neovim and Zed, and an official GitHub Action runs type checks in CI. Teams moving from mypy or Pyright can migrate their configurations rather than start from scratch. Pyrefly also supports Pydantic, Django and pytest, which makes it worth considering for projects already using those tools. Choose it if your priority is Python checking in both the editor and CI and your team is comfortable managing its own setup. If you need one checker for multiple languages or want a hosted service, look elsewhere.
Pyrefly pros and cons
- Where it wins
- Editor diagnostics, code navigation and refactoring-oriented code actions
- The infer command can infer type annotations
- Migration support for mypy and Pyright configurations
- Where it doesn't
- Type checking is limited to Python
- Self-hosted, so teams manage their own setup
- Support is through documentation and community channels
Pyrefly fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update