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.

56 tools. 22 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

  • 56 tools covering navigation, analysis, refactoring, diagnostics, formatting, speculative execution, build, test, and more
  • 22 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.8.0-py3-none-win_arm64.whl (10.4 MB view details)

Uploaded Python 3Windows ARM64

agent_lsp-0.8.0-py3-none-win_amd64.whl (5.8 MB view details)

Uploaded Python 3Windows x86-64

agent_lsp-0.8.0-py3-none-manylinux2014_x86_64.whl (11.5 MB view details)

Uploaded Python 3

agent_lsp-0.8.0-py3-none-manylinux2014_aarch64.whl (11.0 MB view details)

Uploaded Python 3

agent_lsp-0.8.0-py3-none-macosx_11_0_arm64.whl (11.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.8.0-py3-none-macosx_10_12_x86_64.whl (11.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: agent_lsp-0.8.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 10.4 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.8.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ee7baf23364115e56882a1a2e99610104bfbd761b5d5753426eff5a3940422f3
MD5 fa4ab87c0c5836c56fb903dc1f6c318f
BLAKE2b-256 4cf5de48c4d19df0a807109af145bd792527f47b37d39ac719844ceea56dec7d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.8.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.8 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.8.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d1392885c662890a844d22b221ffe55ec781c3649cc1f1d7e284a0331013d6cf
MD5 8324e51c350ee1cdafb05b72ffeb58ad
BLAKE2b-256 ce707ee56d0d1848127a56b0132a4e40a52c68bedb608a4ff04c34b49454972d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.8.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1cbed441769785524e46d55e7e447abf63c5b5be337f5a726b84b99d88f692ce
MD5 0319163c63f11df59c248f0c0c22eba8
BLAKE2b-256 2fa78f8752f50ed4a3703e3fa676f3528b247066813472b542581bc384728f5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.8.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 66b9e2aed273b1fa0f83096325e6773f9bb04d642435fbbc88213413d10eb3c0
MD5 c935984b570c218f14ee9c9d59a267be
BLAKE2b-256 8612dc595a78da4abe4552dd8ed69885d9b4072a80f587fa8569866b305a18ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.8.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cbf9e5db903b2ba2dffffa4fea2c640646312e58c987ae002441b8e2ef1d6082
MD5 2d07f7d068dc35cf87300421144aae31
BLAKE2b-256 6d2aa05b81cfa23e9ad62116d588b4040a582780b3b57cf20cf406e037c6133e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.8.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 38ed0d337d5f33f868bba92baa7d203bf3d320a762e59a10d036cd710200d187
MD5 7a9453fc886dcbaeb10b6aed049877cd
BLAKE2b-256 f342e3b62730010da35c9316e81d90947aa1267fba171a2ab72357f783c652d2

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