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.

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

agent_lsp-0.15.1-py3-none-win_arm64.whl (10.8 MB view details)

Uploaded Python 3Windows ARM64

agent_lsp-0.15.1-py3-none-win_amd64.whl (6.0 MB view details)

Uploaded Python 3Windows x86-64

agent_lsp-0.15.1-py3-none-manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded Python 3

agent_lsp-0.15.1-py3-none-manylinux2014_aarch64.whl (11.4 MB view details)

Uploaded Python 3

agent_lsp-0.15.1-py3-none-macosx_11_0_arm64.whl (11.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.15.1-py3-none-macosx_10_12_x86_64.whl (12.0 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file agent_lsp-0.15.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: agent_lsp-0.15.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 10.8 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for agent_lsp-0.15.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 c0dc43e0395214ae555ca3f7386de425cfeaff78a5986552f102b05780b1c29a
MD5 35d499cf0033416c15c51a171d34a569
BLAKE2b-256 c5876a04f0a4f177da00fbada9955f35ec22470e5859ebda01a195b747a81f34

See more details on using hashes here.

File details

Details for the file agent_lsp-0.15.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: agent_lsp-0.15.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for agent_lsp-0.15.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ddc61680e7f45da01a738e62eff8a174b88d45cc4bf71c84f68430a79b45225c
MD5 242ed1cfd2957da5b32763eb5ab36be3
BLAKE2b-256 cf12063402d393937b71da59be50be174102635cfdde24ee63fa4ecf5e8b4224

See more details on using hashes here.

File details

Details for the file agent_lsp-0.15.1-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for agent_lsp-0.15.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 65f122947b7aed0f76b24757d00566ebe22932076b78a08d493688b4f74d1142
MD5 b2c0f5f2a2b037eb7736ffa1f0f9da9e
BLAKE2b-256 88303fedf726a2b49086e67be5af4cee66c6163e3703844dbf76b3be7a12d090

See more details on using hashes here.

File details

Details for the file agent_lsp-0.15.1-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for agent_lsp-0.15.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4ccbcae90b0ba822f013c767e5c740fe45b9685e300806e7004e945f333a52b4
MD5 95e8ad2cbfcc9f6f0d3113ee73a85c5f
BLAKE2b-256 3598326319db2d9ab9669be559ae3cb8a3739717aeb44966dffd84e1d2ece66d

See more details on using hashes here.

File details

Details for the file agent_lsp-0.15.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agent_lsp-0.15.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 368c14f7279158e82cdf823a8dbcaf239bdd7667c23911dd0daa0b82c27e4e04
MD5 cca801168caee402ec7ac0d47ab1d802
BLAKE2b-256 73b575ddf476d725fd0247876a24a4c3fcddc98e68c8f3f2f4596dac06580d0a

See more details on using hashes here.

File details

Details for the file agent_lsp-0.15.1-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for agent_lsp-0.15.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7810f5ac7e7d9e464e4d55cf11fd6c1ab3126f91935fa51d874ddc9953b13dfb
MD5 20bcd214f77913ebbc04b61207daa1e8
BLAKE2b-256 fdb77cc316160875b082a06123b8f88a807f7ac7f3bdab98da296fa21c0b60b8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.19.2

6 files

0.19.1

6 files

0.19.0

6 files

0.18.0

6 files

0.17.0

6 files

0.16.0

6 files

0.15.2

6 files

This release

0.15.1 This release

6 files

0.15.0

6 files

0.14.0

6 files

0.13.0

6 files

0.12.0

6 files

0.11.2

6 files

0.11.1

6 files

0.11.0

6 files

0.10.0

6 files

0.9.0

6 files

0.8.1

6 files

0.8.0

6 files

0.7.0

6 files

0.5.4

6 files

0.5.3

6 files

0.5.2

6 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