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. 24 agent workflows. 33 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 (requires a bearer token)
AGENT_LSP_TOKEN=your-secret-token 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
  • 24 agent workflows (skills) that encode correct multi-step operations: rename safely, analyze blast radius, simulate edits before applying
  • 33 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/guide/token-savings

Works with

Claude Code, Cursor, Windsurf, GitHub Copilot, and any MCP-compatible client.

Metadata

Release files for agent-lsp 0.24.6

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

Total release size: 65.2 MB

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

Download URL agent_lsp-0.24.6-py3-none-win_arm64.whl
Size 11.0 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
31acb3b7e737a5759319f28b5f345746498947069a8c66e249023af743d0f714
BLAKE2b-256 checksum
How to use checksums
dc459f218c56bb361da7bb3da6b61ab6b0fb55683a67729306c2c9bc1206927a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.6-py3-none-win_amd64.whl

Download URL agent_lsp-0.24.6-py3-none-win_amd64.whl
Size 6.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b63bee63afcd9c2c866868190f3fe0d886c3af902569eaac5f30ff69819960d6
BLAKE2b-256 checksum
How to use checksums
fb983988c718010943fc383e9692bfea99b040ffbefc3a044732fe340c8de9cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.6-py3-none-manylinux2014_x86_64.whl

Download URL agent_lsp-0.24.6-py3-none-manylinux2014_x86_64.whl
Size 12.2 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5cde6117d6f32f6df8ead0dbc54ae16e51b2b4e8bb5db2488f62f92f46da945e
BLAKE2b-256 checksum
How to use checksums
11eb33d91e1fe598684b5aeb28dfa375c6b526d7b940904c777beeedda3e7ccf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.6-py3-none-manylinux2014_aarch64.whl

Download URL agent_lsp-0.24.6-py3-none-manylinux2014_aarch64.whl
Size 11.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a51c481c1837e8a54167cd5c0ce540b6dc0d7985af871eb29709488daf7f192a
BLAKE2b-256 checksum
How to use checksums
fe437e2c0c484e46dd2b5d0a3af0fec7d221487f8733be94316b04784afaef6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.6-py3-none-macosx_11_0_arm64.whl

Download URL agent_lsp-0.24.6-py3-none-macosx_11_0_arm64.whl
Size 11.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2bae1ba1d49cab68b56b7d3802cb9ad33cda25c09bbe608c6cdd95f5fc1a198b
BLAKE2b-256 checksum
How to use checksums
3b0a8d1eca647eb09355b8f85fe0b18689dc0502df999baf5549f1b677975230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / agent_lsp-0.24.6-py3-none-macosx_10_12_x86_64.whl

Download URL agent_lsp-0.24.6-py3-none-macosx_10_12_x86_64.whl
Size 12.3 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
79b0e27b15bdecf4b8f2897daf0b2d760e3da744e361cb8a5d990423accf0ff1
BLAKE2b-256 checksum
How to use checksums
2e41307bd22a495920e66ed43872cbb075749bd300b708a6670ab1064e1c9dbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for agent-lsp 0.24.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.24.6 This release

6 release files No provenance

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