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. 23 agent workflows. 30 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
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
  • 23 agent workflows (skills) that encode correct multi-step operations: rename safely, analyze blast radius, simulate edits before applying
  • 30 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/token-savings

Works with

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

Metadata

Release files for agent-lsp 0.23.6

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.23.6
File Actions
agent_lsp-0.23.6-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for agent_lsp-0.23.6-py3-none-win_arm64.whl
agent_lsp-0.23.6-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for agent_lsp-0.23.6-py3-none-win_amd64.whl
agent_lsp-0.23.6-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for agent_lsp-0.23.6-py3-none-manylinux2014_x86_64.whl
agent_lsp-0.23.6-py3-none-manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for agent_lsp-0.23.6-py3-none-manylinux2014_aarch64.whl
agent_lsp-0.23.6-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for agent_lsp-0.23.6-py3-none-macosx_11_0_arm64.whl
agent_lsp-0.23.6-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for agent_lsp-0.23.6-py3-none-macosx_10_12_x86_64.whl

Total release size: 64.7 MB

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

Download URL agent_lsp-0.23.6-py3-none-win_arm64.whl
Size 10.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
9c0e48d2cf4859b62faf91d541ca6dc398928253f1dc468648a8a07e17bc49d3
BLAKE2b-256 checksum
How to use checksums
6954eb8e1672ebeb6bfdd762f11198323b32c8de9e3bfcd73c0b698e22c7d716
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL agent_lsp-0.23.6-py3-none-win_amd64.whl
Size 6.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a4399a0c8ff0e071f4c323579fb1d7ba3d3ffeb04e8c5d0d9ccd50ba22739049
BLAKE2b-256 checksum
How to use checksums
029faa1cf05ec1e77be0b3c3358c8a38e2d0119a3bb8d99d95a85210e097d691
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL agent_lsp-0.23.6-py3-none-manylinux2014_x86_64.whl
Size 12.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
03a9e72c952ef790c03597b0c9b3214b31d36c345009813397e71f14cc201855
BLAKE2b-256 checksum
How to use checksums
74af3ac0197a0a5fb602513da598f0566ae558f8f0dc74c760f9720d81305909
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL agent_lsp-0.23.6-py3-none-manylinux2014_aarch64.whl
Size 11.6 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
baef50977081cfcbc3407dea0c55fcb56000212ec91f4f6b3a0bd29a5c51bb52
BLAKE2b-256 checksum
How to use checksums
7ea3d0f720e6ae60beab1b34b0b22447798777c9aae575c2b212b4a189c953ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL agent_lsp-0.23.6-py3-none-macosx_11_0_arm64.whl
Size 11.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6c81048831e09e12c9b436463bb1e8f0207e21fa7c4b5c0e3d91d4ab7eff659c
BLAKE2b-256 checksum
How to use checksums
2b499edb037b7bcee8c335d8f0326a141b6d029df35dcb45077937bef59abb4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL agent_lsp-0.23.6-py3-none-macosx_10_12_x86_64.whl
Size 12.2 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c1ee5924881e77fcbfb9b6ad02b6760c6b2866d6de3c439fba31a4bf62c56ae0
BLAKE2b-256 checksum
How to use checksums
329903d80795d4e4516b434df894d2e8fcbe819560fe7408a9420d783c746b22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for agent-lsp 0.23.6

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.23.6 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