pylsp-mypy
Mypy linter for the Python LSP Server
Decision gist · record as of 2026-08-14
Yes. This is a well-maintained, low-friction plugin that solves a real problem: bringing mypy diagnostics into your editor. It has no known vulnerabilities, permissive licensing, and active development. Install it if you use python-lsp-server and want inline type checking; the only gotcha is the Python 3.10+ requirement and the need to install it in the same virtualenv as the LSP server itself.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or newer and must be installed into the same virtualenv as python-lsp-server itself.
- Low friction install with active maintenance.
- Released 28 days ago, last commit 2025-08-27, and supports current Python versions (3.10–3.14).
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use this freely in commercial and private projects with minimal restrictions.
last release 2026-07-17 (28 days) · last repo commit 2025-08-27 · 158 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 321,754 downloads/mo, #7,620 on PyPI
Alternatives
Verify before relying
pip install pylsp-mypy
# Add to pyproject.toml:
[tool.pylsp-mypy]
enabled = true
live_mode = true
strict = false- Whether dmypy daemon mode actually improves responsiveness in practice for typical project sizes.
- Performance impact of live_mode on large codebases or slow machines.
- Compatibility with all LSP clients (hover display requires dmypy support).
What it is and what it does
pylsp-mypy is a plugin that bridges mypy, Python's static type checker, into the Python LSP Server so that type errors appear in your editor in real time. Instead of running mypy separately from the command line, you get inline diagnostics as you type—or on save, depending on configuration. It reads mypy configuration from pyproject.toml and supports both standard mypy and the faster dmypy daemon mode for repeated checks.
The plugin is designed for developers who want to catch type errors early without leaving their IDE. It offers granular control over strictness, file exclusions, and performance trade-offs (live checking versus save-on-check). Configuration is straightforward via pyproject.toml, though advanced users can also pass custom mypy or dmypy commands—though doing so requires explicitly setting an environment variable for security.
Use it for
- Enable type checking hints in your editor while writing Python code, catching type mismatches before runtime.
- Use dmypy daemon mode to speed up repeated type checks on large projects during active development.
- Exclude test directories or generated code from type checking via regex patterns in pyproject.toml.
- Display inferred types on hover to understand what mypy sees, useful when debugging type inference.
- Integrate strict type checking into your IDE workflow without running mypy as a separate build step.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a well-maintained, low-friction plugin that solves a real problem: bringing mypy diagnostics into your editor. It has no known vulnerabilities, permissive licensing, and active development. Install it if you use python-lsp-server and want inline type checking; the only gotcha is the Python 3.10+ requirement and the need to install it in the same virtualenv as the LSP server itself.
Install
pylsp-mypy on PyPI
Before you install
Low friction install with active maintenance. Released 28 days ago, last commit 2025-08-27, and supports current Python versions (3.10–3.14). Depends on python-lsp-server and mypy, both standard tools.
Requires Python 3.10 or newer and must be installed into the same virtualenv as python-lsp-server itself.
License in practice
MIT license is permissive; you can use this freely in commercial and private projects with minimal restrictions.
Quickstart
pip install pylsp-mypy
# Add to pyproject.toml:
[tool.pylsp-mypy]
enabled = true
live_mode = true
strict = false
Verify before relying
- Whether dmypy daemon mode actually improves responsiveness in practice for typical project sizes.
- Performance impact of live_mode on large codebases or slow machines.
- Compatibility with all LSP clients (hover display requires dmypy support).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespython-lsp-servermypytomli |
| Maintenance | Actively maintained 28 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 321,754 / month, #7,620 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development |
Evidence: pylsp_mypy-0.8.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “mypy lsp plugin”
- pylsp-mypyIntegrates mypy static type checking into the Python LSP Server,…
- zubanZuban is a Rust-based Python language server and type checker…
- python-lsp-ruffIntegrates ruff's linting, formatting, and code-action capabilities…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also python-lsp-server · python-lsp-ruff · jupyterlab-lsp · mypy · types-toml · pyright · python-lsp-jsonrpc · pytype · types-smorest · types-lxml