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.

Release files for agent-lsp 0.19.5

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

Total release size: 64.1 MB

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

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

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

Download URL agent_lsp-0.19.5-py3-none-win_amd64.whl
Size 6.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
40bf3e6310942982c3a91959ebdd67ab19f7568d4184b4268990f5c04969cde3
BLAKE2b-256 checksum
How to use checksums
b171e3e1c265cc94fb7a8af0c4f7ae707ad7c2b7825f5e48dbe54baf9733a0a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

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

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

Download URL agent_lsp-0.19.5-py3-none-manylinux2014_aarch64.whl
Size 11.4 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
7665dd29e72666b9a838f11318330bf98cd812c22835ac00db5b87d99eae1e5e
BLAKE2b-256 checksum
How to use checksums
5b763e860c6d953ab8479abbec38bd0866ab0cf3ac81f9318d0a9f2826dfa514
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

Download URL agent_lsp-0.19.5-py3-none-macosx_11_0_arm64.whl
Size 11.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ce763a5d24b934fd923d9ea48d67449ba84a1c234564177d9ef4b6fd3d69ab7e
BLAKE2b-256 checksum
How to use checksums
e2abc5253a69801f667463188d3695f4875ea84e31e968255e56f6107afe6746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

Download URL agent_lsp-0.19.5-py3-none-macosx_10_12_x86_64.whl
Size 12.1 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3f15192e1535b2e06393a16b84bedc4e47116ccfd5504cc519b351a956142c8e
BLAKE2b-256 checksum
How to use checksums
5ec77b47db3dbaff3139d450e63bf9a00cf631a3f56f641bc3c076b03ee08aaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

0.20.0

6 release files

This release

0.19.5 This release

6 release files

0.19.4

6 release files

0.19.3

6 release files

0.19.1

6 release files

0.19.0

6 release files

0.18.0

6 release files

0.17.0

6 release files

0.16.0

6 release files

0.15.0

6 release files

0.14.0

6 release files

0.11.2

6 release files

0.11.1

6 release files

0.11.0

6 release files

0.10.0

6 release files

0.9.0

6 release files

0.8.1

6 release files

0.8.0

6 release files

0.7.0

6 release files

0.5.4

6 release files

0.5.3

6 release files

0.5.2

6 release files

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