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

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

Total release size: 64.0 MB

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

Download URL agent_lsp-0.19.4-py3-none-win_arm64.whl
Size 10.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
9a05ae40a474e6987278e96f1e613ae2b5f70076ec35fd9f656d95396e5213e9
BLAKE2b-256 checksum
How to use checksums
d548d27a895408c35916f2d6fdffdd3daa7c5604422fc1a0162d6f17d3c5a99d
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.4-py3-none-win_amd64.whl

Download URL agent_lsp-0.19.4-py3-none-win_amd64.whl
Size 6.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
66a910f277633e37b15f0966af6e78c221d76b4c45a4b8d5676616abc6608e6b
BLAKE2b-256 checksum
How to use checksums
b44546ffad30eedff3b5ee6223db4c43b5742fa62e2ed5233f88de1c347077ef
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.4-py3-none-manylinux2014_x86_64.whl

Download URL agent_lsp-0.19.4-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
f69366dea0fda570fbef560b57a146ee8d57f9ab54399c45e2d4b12fd5d1cff6
BLAKE2b-256 checksum
How to use checksums
b6632b1dbdffd86332c178a4094f6744f40da0198d046fce53b4722edbcec661
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.4-py3-none-manylinux2014_aarch64.whl

Download URL agent_lsp-0.19.4-py3-none-manylinux2014_aarch64.whl
Size 11.4 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
211ebab548d2a63be699b1ee4d22c9c0a3e081a9746946c23a5856e1005e0671
BLAKE2b-256 checksum
How to use checksums
b5829058fc3b1ee2b65e6dd8c6d7df46e38cfaea250376005d67a2fcfc55942b
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.4-py3-none-macosx_11_0_arm64.whl

Download URL agent_lsp-0.19.4-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
a2df573690c9ff4ef0aaa9b9fb109a342a37e35d6f6de65f07843a3920b1a063
BLAKE2b-256 checksum
How to use checksums
e8e9b96468fadd68a67e3c8121ab9e519aaa0e22a7ebdefb0896889b2019a67f
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.4-py3-none-macosx_10_12_x86_64.whl

Download URL agent_lsp-0.19.4-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
ab952a1f101276d2bbd6530cec37192b0d0d7fec14d59121d8820662895e916b
BLAKE2b-256 checksum
How to use checksums
61a0542c2c1cc6de9ab6ec2f6334f23eff916988d8858d8df74896c09f188afb
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

0.19.5

6 release files

This release

0.19.4 This release

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