python-lsp-server
Python Language Server for the Language Server Protocol
Decision gist · record as of 2026-08-14
Yes. This is a mature, actively maintained implementation of a standard protocol with low install friction and no security vulnerabilities. Install it if you need LSP-based Python tooling integration in an editor or IDE, or if you are building a tool that needs to speak LSP for Python analysis. The permissive MIT license and broad optional provider support make it suitable for both open-source and commercial use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Jedi is a required runtime dependency for core completion and navigation features.
- Low friction install via wheel distribution.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions. No copyleft obligations or proprietary constraints.
last release 2026-07-27 (18 days) · last repo commit 2026-07-27 · 2,592 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,532,376 downloads/mo, #3,804 on PyPI
Alternatives
Verify before relying
pip install python-lsp-server
pylsp --help
# In your editor/IDE, configure LSP client to connect to pylsp server
# Basic usage: pylsp listens on stdio or network socket for LSP requests- Performance characteristics when handling large Python projects or workspaces
- Compatibility matrix with specific editor/IDE LSP client implementations
- Memory footprint and resource usage under typical development workloads
What it is and what it does
Python LSP Server is a Language Server Protocol implementation that bridges Python development tools and editors. It exposes a `pylsp` command-line server that listens for LSP requests from editors and IDEs, providing code intelligence features like completion, definition lookup, hover information, linting, and formatting. The server requires Jedi as its core dependency for semantic analysis and can optionally integrate with tools like flake8, pylint, black, yapf, and others when installed.
The package is designed for editor integration rather than direct use by end developers. It runs as a background process that your editor connects to, translating between the editor's requests and Python analysis tools. Configuration flows from the editor client, workspace settings, and user home directory in a layered override pattern. It supports both stdio and WebSocket communication modes, making it flexible for different editor architectures and remote development scenarios.
Use it for
- Enable code completion and symbol navigation in editors that support LSP but lack native Python support
- Provide unified linting and formatting across multiple Python tools (flake8, pylint, black) through a single server interface
- Support remote Python development by running the server on a remote machine and connecting via WebSocket
- Integrate Python code analysis into custom development tools or build systems that speak the LSP protocol
- Detect and report code style issues and complexity metrics in real-time as developers write code
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a mature, actively maintained implementation of a standard protocol with low install friction and no security vulnerabilities. Install it if you need LSP-based Python tooling integration in an editor or IDE, or if you are building a tool that needs to speak LSP for Python analysis. The permissive MIT license and broad optional provider support make it suitable for both open-source and commercial use.
Install
python-lsp-server on PyPI
Before you install
Low friction install via wheel distribution. Actively maintained with recent releases; 2592 repository stars and active development signal. Requires Python 3.9+. Seven runtime dependencies are all well-established packages; optional providers (flake8, pylint, yapf, black, etc.) can be added via extras syntax.
Requires Python 3.9 or later. Jedi is a required runtime dependency for core completion and navigation features.
License in practice
MIT license permits commercial and private use with minimal restrictions. No copyleft obligations or proprietary constraints.
Quickstart
pip install python-lsp-server
pylsp --help
# In your editor/IDE, configure LSP client to connect to pylsp server
# Basic usage: pylsp listens on stdio or network socket for LSP requests
Verify before relying
- Performance characteristics when handling large Python projects or workspaces
- Compatibility matrix with specific editor/IDE LSP client implementations
- Memory footprint and resource usage under typical development workloads
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesdocstring-to-markdownimportlib_metadatajedipluggypython-lsp-jsonrpcujsonblack |
| Maintenance | Actively maintained 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,532,376 / month, #3,804 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: python_lsp_server-1.15.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 › “code navigation python server”
- python-lsp-serverImplements the Language Server Protocol for Python, providing code…
- python-language-serverImplements the Language Server Protocol for Python, providing code…
- serena-agentSerena is an MCP server that provides semantic code retrieval,…
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 pylsp-mypy · python-language-server · python-lsp-ruff · jupyterlab-lsp · ruff-lsp · python-lsp-jsonrpc · lsprotocol · zuban · wemake-python-styleguide · dlint