npx claudepluginhub imposeren/claude-pyrefly-lspPython language server (Pyrefly) for type checking and code intelligence
A Claude Code plugin marketplace with one plugin, pyrefly-lsp: the Pyrefly language server for Python.
It gives Claude Code's LSP tool go to definition, find references, hover and document symbols for .py and .pyi files, and it shows Pyrefly's type errors after each edit.
It works like Anthropic's official language-server plugins, such as pyright-lsp: the plugin only names the server (pyrefly lsp), and Pyrefly itself must be on the PATH of the shell that starts Claude Code.
Use the Pyrefly version your project already pins, so the errors Claude Code sees match your type check.
Per project, from the project's virtual environment. With direnv, an .envrc in the project root puts the project's tools first on the PATH:
source_up # keep a parent directory's .envrc, if you have one
PATH_add .venv/bin # the project's own pyrefly (and python, ruff, ...)
Run direnv allow, then start Claude Code in that directory.
A session started elsewhere doesn't get this PATH, so a global install is a useful fallback.
Globally, at the version your project pins:
uv tool install pyrefly==1.4.0
# or: pipx install pyrefly==1.4.0
Pyrefly finds the project's .venv on its own, so imports of installed libraries resolve.
For a virtual environment somewhere else, set python-interpreter-path (or python-interpreter-find-command) in [tool.pyrefly] in pyproject.toml, or in pyrefly.toml.
For yourself:
/plugin marketplace add imposeren/claude-pyrefly-lsp
/plugin install pyrefly-lsp@claude-pyrefly-lsp
For everyone working on a project, in its .claude/settings.json:
{
"extraKnownMarketplaces": {
"claude-pyrefly-lsp": {
"source": { "source": "github", "repo": "imposeren/claude-pyrefly-lsp" }
}
},
"enabledPlugins": {
"pyrefly-lsp@claude-pyrefly-lsp": true
}
}
Claude Code applies these keys after the folder is trusted; see Install and manage plugins.
--indexing-mode lazy-non-blocking-background, its default).pyrefly (not on the PATH), the plugin's server fails to start; install Pyrefly as above and restart the session.7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.