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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.15.2-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.15.2-py3-none-win_arm64.whl.

File metadata

  • Download URL: agent_lsp-0.15.2-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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 05baf4c6420bb786caae3df68c9b5486505bc15d1197bc5aa648e3b9907b740e
MD5 7c7a3592c33a9c8eac1ec776660c2889
BLAKE2b-256 d487fecf827053cd203bb89e72641d80d17137b9fb0da7d8fed84442230fb769

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.15.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2520abb5dd89d087e041fedf24523eaa0fec27e466e55b0749d80115874ac9fe
MD5 1149a9b10667c28e129be2818e0642a1
BLAKE2b-256 ac07e61028fe077f905c9847950f71877b2c82561b54e4ae3c596a88d970f21f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.15.2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a372673edfb14c8e64944acb2d7ae1b903803ac2c98fe56cb7c40a7fcee84728
MD5 36415816ca0e25cf923869841ec90527
BLAKE2b-256 85f28c1b4791963908c23b336c4720423bb4d92810ffb386366610e5a7c20e70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.15.2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0b12a2fed33ec97d4eeb01db28ae554db54bc6b05217db014bc097739e3700de
MD5 ea6a8d42f7923582776a824844e84204
BLAKE2b-256 9a55b630290813999743a3a6ab56f258c3eead2acd9b0655de03e861aa06d81e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.15.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0645f1a1106f693c256c2cd57232a86b235355404fd54e6a03eee876d34cb6a0
MD5 ae73a6fa121eb76f5d4a16fce077f393
BLAKE2b-256 31855717b3513e69c9e82116a4945092df859103fdc2aadffa59ba9c5e9ad2d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.15.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d10a4fd868d6af3144e74308e993002163971521d6a70d4af4337e2388072fdf
MD5 e24eabae4bf19aade075cbc8ec020bad
BLAKE2b-256 e491d6fa29b771b94f2d911fc9f8f4e1f8d740d5ad76a922d3501e3e630c2f26

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

This release

0.15.2 This release

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