Skip to main content

MCP server for language intelligence. 53 tools, 30 languages, speculative execution.

Project description

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

Project details


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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.14.0-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.14.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: agent_lsp-0.14.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/6.2.0 CPython/3.12.13

File hashes

Hashes for agent_lsp-0.14.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 a767d6e9331cd7f9b379b8bf6d8ba46dc4d8ac2e7f3e798fbd1579bb777f7659
MD5 4c7e998302fbe34de6c154b8a9453c88
BLAKE2b-256 3b6533023022290cb559886b42dce6cba68b3dc4ab98cd6bfce050d5c131722b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.14.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/6.2.0 CPython/3.12.13

File hashes

Hashes for agent_lsp-0.14.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6887398add9e334d836a3bba02dfd6e39e64d496a93fa56c6f2f68e228342550
MD5 2c9e9af5f662c73a5820c23766683753
BLAKE2b-256 622d0686f11e36108466158093c09043467074797f1969978efb90366fdca725

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.14.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 13c182cc4caa189aa1a0a3a62fb03aabc8c01ab5e52ffaf961ff85d6bd21ba32
MD5 b236ad7fb003c1e04dd514fb7c7d71d6
BLAKE2b-256 2af5c5c2206301e491641a0e6ce4560805b508715a807fd92a53f92ad8c48f80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.14.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 56c925b7625e54f294957a9072acab88e55c6fdaad59835587940bed1f821ca3
MD5 3aa4addd5c92dbe35f63c68f044dd5bf
BLAKE2b-256 01121bd4aef0d3c34f555bc14cd7c66de5ddf0d9e6351de9b49080fc756f5978

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.14.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f70d2e4ee7bd5c6a6742bfd2fda19b8198e18ce0379a7344b4c6eefda008429
MD5 9ceb126b4599d819994e7074942d0b5d
BLAKE2b-256 aead94cd64cfb64c1e0e7da7df3962174740a1de178dee407f93021b572370fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.14.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 90a903916011f7d9c8248dfae25b87d7d7308a04d6df5fff33e943878c831114
MD5 d315a7d6c7ba5713f8b937e2d1ee3094
BLAKE2b-256 7b2479e87b5f1de24668bebea827ac7ec96c6b5c0740d333ffd32b2e03ebc816

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page