Pyrefly LSP Integration with Type Engine in PyCharm 2026.1.2 | The PyCharm Blog
Blog post from JetBrains
PyCharm 2026.1.2 introduces integration with Pyrefly, Meta's new Python type checker, leveraging the Language Server Protocol (LSP) to enhance code insight features like type inference, error checking, and quick documentation. Built in Rust, Pyrefly offers faster performance and better cross-platform portability compared to its predecessor, Pyre. This integration enables PyCharm to perform code analysis more efficiently, especially for large-scale Python projects, by using Pyrefly as an external type provider. This boosts the IDE's ability to deliver immediate diagnostics and code intelligence. While Pyrefly excels in speed, it currently supports local interpreter configurations with plans for expanding compatibility to other configurations like Docker and WSL. Users can switch to Pyrefly in PyCharm to experience immediate performance improvements, although a noted limitation is that it occasionally misses some errors in complex codebases.