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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

agent_lsp-0.13.0-py3-none-manylinux2014_aarch64.whl (11.3 MB view details)

Uploaded Python 3

agent_lsp-0.13.0-py3-none-macosx_11_0_arm64.whl (11.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.13.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.13.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: agent_lsp-0.13.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 10.7 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.13.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 51e25f8a89519416ce8e5a20d3e7416b2409f0c3f2896698b969f41740df6fbc
MD5 4ddf9290adcd4f93ef9fa98ec7daa053
BLAKE2b-256 efe9355b8ac43044a83862a73764d6b205f125d52edcccfa13d58529c6d88004

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.13.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.13.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8f15d5529283dc2367b7425a4bac78b68631bbfff82370fa401aacd85bf90358
MD5 7ea21475ba675f708a13ed1f07158f51
BLAKE2b-256 d752f55603742198a8f75075327e6d549f1e76d426d8d708eb913d1c9fdd0a5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.13.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ccef4c0cd8d028fab36095afce6a9813c697e87760042b90645205a1dbfcbfe7
MD5 a7f3f63020cfa174c9429c7b12f36bd8
BLAKE2b-256 d3521a769662ac361654bf64595019be1967244871a36f117d6282b97cdc2f50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.13.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bb681080e8c95ebc22601764ca198f3f7aeaaff697bb3c5f878957d6a1308987
MD5 15f548940ad17546e0ab85d86a937218
BLAKE2b-256 af8f7b40c758efb4d8a9d4b18e332144fbf1c0914f3eff4b675d520a554ddb6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.13.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1ba07469594fd9ba84b751c893f2cb8dd8adb81377544dd53f28c6d18b45ebf3
MD5 2d3aaf587224f91d3606e4330fb44008
BLAKE2b-256 d571728f7e312acf9ae2b6b54c4106767bfaca116242ba033f50d79f55c5061a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.13.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5d276d549a1fc74a7183c4486d7cc49d827b658171e9fad09ced969864ee9c75
MD5 65d4cba8256849b11a17eb34b8087198
BLAKE2b-256 eee06e89db63147e4231d9972fa08cf8ab3a48545a8e79cf749ed9c7a8d3d189

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