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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.19.1-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.1-py3-none-win_arm64.whl.

File metadata

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

File hashes

Hashes for agent_lsp-0.19.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 abff24afb9b284359b4aac5985dae5c3c657cf46950749f73182a666cf464adc
MD5 51123d1e43f4bcf6b77fa8cad01bc982
BLAKE2b-256 bbbb247dd5ec16b22f4d63489eb998f53e8e84fd51b69f7f9992b45a482303e7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for agent_lsp-0.19.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e4489dc4077cfbbb8ff95942280955f9bfa513037396864b487a44fe70747a10
MD5 a4591696761d98a75d24203c39ab5fd1
BLAKE2b-256 75fc43f306554fc6cc733b1b5bc76979d68d474e1ea08c265cf1dba2e81b678c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.19.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d0722b0c9caec05eecbb5a6811870f0f108ea06cd37458fc7ed9abbf65ea569
MD5 59de21136948089269fb3d3ecc1da9b8
BLAKE2b-256 cde6209f41f13984b2f0e4633e0dc6907c9500163a378e85adabedf8a6b3df3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.19.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bcb413f4766c98cd939bb4461d797a35cbba96c34124e710258d3636c1fb50a1
MD5 630cc43ae5a71133d94cd78a7f840466
BLAKE2b-256 604d8f90a547b4d643dd6810af2e3890972d4f9d4e716fbea5ea8b6b113d8a54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.19.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 34422e4f8b36fca7b2902d314ad43ca5cab07939cbda656e1a6bf7af8fa2d3eb
MD5 3189a8f49286ea567f5572747e65a81f
BLAKE2b-256 c47b154125ac0bd52f4031a321d2518ba125bad36048e446a60f27323d31b130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.19.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6981008af595a8d171b2dc9329f11703b2f2e5137ebe7ea3937fdc8a668b7e91
MD5 795324d7b46222561d5f4cf776a5d729
BLAKE2b-256 2771694ad5cc87cb7eac9ba71c832fb228d1976ad8601922e1aac706af0d2138

See more details on using hashes here.

Release history Release notifications | RSS feed

0.19.2

6 files

This release

0.19.1 This release

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

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