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.19.0-py3-none-win_arm64.whl (10.8 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

agent_lsp-0.19.0-py3-none-manylinux2014_x86_64.whl (12.0 MB view details)

Uploaded Python 3

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

Uploaded Python 3

agent_lsp-0.19.0-py3-none-macosx_11_0_arm64.whl (11.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.19.0-py3-none-macosx_10_12_x86_64.whl (12.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for agent_lsp-0.19.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 218f906bc7489c53dede3ac2b74bcbbdffbb9072bb6739fbf4622e0007547a5a
MD5 582a08992e51a3e64d66b216f54c8dce
BLAKE2b-256 280767514c6d2e9df9095cbc7296bc5fecb4def32c3fe21c52dd19c4759998e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.19.0-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/7.0.0 CPython/3.12.14

File hashes

Hashes for agent_lsp-0.19.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 68fed8d1abdad10c5538ec3f5ed633dc76b20d8221165e3b84f200959ba013f9
MD5 0eabbcee921a865bacc3235b582cfe82
BLAKE2b-256 24a0bdc848e2f84a5024e2b1d205ec873ec97330ea64f1a69b45392a4b20279c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.19.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1fb250f0d65676340b7fb3474b502a9aacc37409909240397dcb3940e24b825d
MD5 ffc007a148417511659016a0bf809c75
BLAKE2b-256 c827f61aef1cdbdac6a095824469695f9a84cb52a6dba5e500b31f8a41dad7a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.19.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 688b6317c9586e262c16b31d1a45a9a9874777146d955404a6ac763fb219bb33
MD5 d724964c6bdd2493ef3c1e9c8b26fc24
BLAKE2b-256 cd3954fb4048f2a4c925902c71cc242bc5f475bbea48da581160e7aecd046844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.19.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 20aa3d7986cb5d740d6f44c26d1c84171f05224b7905621c7cffdce2de2e0d82
MD5 466ca0e840b5f00adcbf66ebd3744a6a
BLAKE2b-256 7c964fbc1dc4579cb92600c81adbaf9935e37242d283eec7c1f31ce39c6aa4df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.19.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3d9cf7421f35cf91ff8b5724859af27c2f7a5343f0f4deb6aa029fef3cdf2ce9
MD5 7d49be28200b4fd61c7352da5ad2a16e
BLAKE2b-256 8c04b21e524b325c6b0b4d4223f624d3f6330d06b31eb61ba157f27f72750959

See more details on using hashes here.

Release history Release notifications | RSS feed

0.19.2

6 files

0.19.1

6 files

This release

0.19.0 This release

6 files

0.18.0

6 files

0.17.0

6 files

0.16.0

6 files

0.15.2

6 files

0.15.1

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