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.

53 tools. 21 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

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

Uploaded Python 3Windows ARM64

agent_lsp-0.7.0-py3-none-win_amd64.whl (3.8 MB view details)

Uploaded Python 3Windows x86-64

agent_lsp-0.7.0-py3-none-manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded Python 3

agent_lsp-0.7.0-py3-none-manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded Python 3

agent_lsp-0.7.0-py3-none-macosx_11_0_arm64.whl (7.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.7.0-py3-none-macosx_10_12_x86_64.whl (7.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: agent_lsp-0.7.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 6.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.7.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 7b4b0e09071362ac364bec0141dec04698951256b24c618b12bbb114ecbb0826
MD5 08156a4272f493bc45f8937b7a41d99d
BLAKE2b-256 0710d45782da1caa8acbfc375c7ecc75e93132c8da616cbba41eb8c427d9920c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.7.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.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.7.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 069b55efecef32ec6bf6da90f0d09d30a1c9e9b034d11007929c22cc59e90695
MD5 790613fd4f028b082c08837f42263cca
BLAKE2b-256 76f8f3898e30fdf54491b07a45d3b27483eb4ff83433186f348217da14d1f574

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.7.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9fb1d23df994ae311b7b027023768c6073f92f3a89583074188ecf583d586d6a
MD5 f72044edf53fa325099cacdda3e4cb2d
BLAKE2b-256 1c44b2c5b424a7006055fd391ad0e122533c1d331d54390751c429f7bfd3a4e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.7.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 df6aeb89788a7a1bb519fb5adedc951e43792e02025923b8abdb5dbc7c01f8d6
MD5 a5916e20f703fcddb2241e3e8811ce8d
BLAKE2b-256 8c7777c6204cc77c18e0da845d1d96d92f180c464cf8968a1dad2d6bc8474c32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.7.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ddfcef4810e5aac8dd8e953ddacdb23be1925f3b655738fdb4dd73bb207038cb
MD5 2322e6774d882e01b793139ea68dd9c2
BLAKE2b-256 ed499a9e50fbd3ed62c1ab4f697b14a84501e55289af201eec3242d77a392171

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.7.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 145f3022ba4382721481918fc5c572e567ca5fab6e93e6e668221843a853f91d
MD5 bb063b70d7f0168fbcf9a83e64d8e104
BLAKE2b-256 0df21a79ee297ce4789fc53cfbbc2f8a59dacb11887f10a5a2367bf7ef368692

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