Skip to main content

agent-lsp

MCP server for language intelligence. Give AI agents structured access to language servers: go-to-definition, find-all-references, rename, diagnostics, completions, call hierarchy, and speculative execution.

66 tools. 24 agent workflows. 32 CI-verified languages. Single Go binary.

Why

AI coding agents navigate code with grep and file reads. This wastes 5-34x more tokens than necessary and produces 92-99% false positives on symbol lookups. Language servers already have the answers; agent-lsp makes them accessible via MCP.

Install

pip install agent-lsp

Or via other channels:

brew install blackwell-systems/tap/agent-lsp    # macOS/Linux
npm install -g @blackwell-systems/agent-lsp     # npm
curl -fsSL https://raw.githubusercontent.com/blackwell-systems/agent-lsp/main/install.sh | sh

Usage

# Start with auto-detection
agent-lsp

# Explicit language server
agent-lsp go:gopls typescript:typescript-language-server,--stdio

# HTTP mode (requires a bearer token)
AGENT_LSP_TOKEN=your-secret-token agent-lsp --http --port 8080 go:gopls

Then configure your AI tool's MCP settings to point at agent-lsp.

What it does

  • 66 tools covering navigation, analysis, refactoring, diagnostics, formatting, speculative execution, composite exploration, safe editing, build, test, and more
  • 24 agent workflows (skills) that encode correct multi-step operations: rename safely, analyze blast radius, simulate edits before applying
  • 32 CI-verified languages: Go, Python, TypeScript, Rust, Java, C, C++, C#, Ruby, PHP, Kotlin, Swift, Scala, Zig, Lua, Elixir, Gleam, and more
  • Speculative execution: preview edits in memory, see what breaks before touching disk
  • Phase enforcement: blocks out-of-order operations so agents follow correct workflows

Token savings

Measured across 5 codebases (Go, TypeScript, Python):

Codebase Lines Savings
agent-lsp 15K 5x
Hono (TypeScript) 24K 13x
FastAPI (Python) 33K 2x
Next.js (TypeScript) 196K 5x
HashiCorp Consul (Go) 319K 34x

Full experiment: agent-lsp.com/guide/token-savings

Works with

Claude Code, Cursor, Windsurf, GitHub Copilot, and any MCP-compatible client.

Metadata

Release files for agent-lsp 0.24.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for agent-lsp 0.24.3
File Actions
agent_lsp-0.24.3-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for agent_lsp-0.24.3-py3-none-win_arm64.whl
agent_lsp-0.24.3-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for agent_lsp-0.24.3-py3-none-win_amd64.whl
agent_lsp-0.24.3-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for agent_lsp-0.24.3-py3-none-manylinux2014_x86_64.whl
agent_lsp-0.24.3-py3-none-manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for agent_lsp-0.24.3-py3-none-manylinux2014_aarch64.whl
agent_lsp-0.24.3-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for agent_lsp-0.24.3-py3-none-macosx_11_0_arm64.whl
agent_lsp-0.24.3-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for agent_lsp-0.24.3-py3-none-macosx_10_12_x86_64.whl

Total release size: 65.2 MB

Release files / agent_lsp-0.24.3-py3-none-win_arm64.whl

Download URL agent_lsp-0.24.3-py3-none-win_arm64.whl
Size 11.0 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
a72f73471489ff6f4bbb17c48d2a555d9152249f38f17467814336fdb07b1f20
BLAKE2b-256 checksum
How to use checksums
d1921a42e3ea7b43a1b130a0afdcb5c1f4464a0bd8bb10bb6efdac9b66d0144c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.3-py3-none-win_amd64.whl

Download URL agent_lsp-0.24.3-py3-none-win_amd64.whl
Size 6.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
5115b5e9f46eb326d325d5ce534db4ae24c67a4da67de73adfc015477619fcfc
BLAKE2b-256 checksum
How to use checksums
6294cfe8efb71f25431603cc136a9a76ac07790b467d2cd36764ee1ef246ae7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.3-py3-none-manylinux2014_x86_64.whl

Download URL agent_lsp-0.24.3-py3-none-manylinux2014_x86_64.whl
Size 12.2 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d5939ae77e9e8cae53667bc97ad60f14d26bda157eee5af7b9c990bd744c61db
BLAKE2b-256 checksum
How to use checksums
f6fba0cab16996b599c1cbfc8016ec9d7db13db04746031639ce2d1d6a65f978
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.3-py3-none-manylinux2014_aarch64.whl

Download URL agent_lsp-0.24.3-py3-none-manylinux2014_aarch64.whl
Size 11.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
ad91fbfaaf96c5e47513d6176b906c60167b6cc9fe38ae5a2139cb5fcaddeafe
BLAKE2b-256 checksum
How to use checksums
21120f296665b7cfb4b5f58e2de9d8ee758ecfd3b6fdba1520dbe57197d2bb53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.3-py3-none-macosx_11_0_arm64.whl

Download URL agent_lsp-0.24.3-py3-none-macosx_11_0_arm64.whl
Size 11.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5412ee55560c77ec8c98b4cea3cd7f43a430bfbb2a319415037848289a6e8e24
BLAKE2b-256 checksum
How to use checksums
a7b9a77c23fbc8c45982d5ff181bfa3dbc625aca031f1c436c5ecc4d0cce56d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.3-py3-none-macosx_10_12_x86_64.whl

Download URL agent_lsp-0.24.3-py3-none-macosx_10_12_x86_64.whl
Size 12.3 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
26238b19ad0098533584bc2548429f77eb83c120b3d83427863d6a81adcaa937
BLAKE2b-256 checksum
How to use checksums
10aaffde93f28c65e9ab79b76e6dc56248d8f7261a8080924eae8c4675b99300
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for agent-lsp 0.24.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.24.3 This release

6 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page