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

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

Download URL agent_lsp-0.20.0-py3-none-win_arm64.whl
Size 10.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
088a6ba83dfd68c89da0ca5b70a23c1b9003496209e97ad106e6b92c8ccadafd
BLAKE2b-256 checksum
How to use checksums
bd2c7900d6b314128335603243b79a9960ac6ccb9457679dc305d7276da75af1
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.20.0-py3-none-win_amd64.whl

Download URL agent_lsp-0.20.0-py3-none-win_amd64.whl
Size 6.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
61724435f9c435919d740fdb886bc99db80b50f0a522445d8e924633bc98732a
BLAKE2b-256 checksum
How to use checksums
a1736bcbd122aa54058286dd066129c1b9deb2e1cc3d2766ba734a233c7f10e8
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.20.0-py3-none-manylinux2014_x86_64.whl

Download URL agent_lsp-0.20.0-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
ebe5757bd0e9d3741b6486523cf1b7bf96a666a10a7814913d6c6f49f9a2afde
BLAKE2b-256 checksum
How to use checksums
1d26e7c51041d262ed2cfec42bc95e5ee0f1e4c618eb8ad4faa1a9aae56115ca
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.20.0-py3-none-manylinux2014_aarch64.whl

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

Download URL agent_lsp-0.20.0-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
901d7884ab56f25b84cd46c789909cc307726f4d6c690872a6f02d5a06f9d53a
BLAKE2b-256 checksum
How to use checksums
52e5e31203aebd550df824cc021be7ce2538db31477624fd88e1b627d1f9c4df
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.20.0-py3-none-macosx_10_12_x86_64.whl

Download URL agent_lsp-0.20.0-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
bf59d7f4f1f06ac6891de4027c4099ea9d160d75edfd17521070a1b31d4465d5
BLAKE2b-256 checksum
How to use checksums
01e0da9b128901478088f6e459b1788833640483eb41c6641af446d23b8c2054
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

This release

0.20.0 This release

6 release files

0.19.5

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