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. 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

  • 56 tools covering navigation, analysis, refactoring, diagnostics, formatting, speculative execution, 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.10.0-py3-none-win_arm64.whl (10.5 MB view details)

Uploaded Python 3Windows ARM64

agent_lsp-0.10.0-py3-none-win_amd64.whl (5.9 MB view details)

Uploaded Python 3Windows x86-64

agent_lsp-0.10.0-py3-none-manylinux2014_x86_64.whl (11.6 MB view details)

Uploaded Python 3

agent_lsp-0.10.0-py3-none-manylinux2014_aarch64.whl (11.1 MB view details)

Uploaded Python 3

agent_lsp-0.10.0-py3-none-macosx_11_0_arm64.whl (11.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.10.0-py3-none-macosx_10_12_x86_64.whl (11.7 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: agent_lsp-0.10.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 10.5 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.10.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 89d65bf9ad500303ee50d3ff3f658f25c96c09224d4f46fa042c850d03209808
MD5 12dcbbb331a94fefaeb8bd1713c0cdc4
BLAKE2b-256 bc3caf84e55869798fb7d867d37febc220701ab9f22aab1c19fdba9e58e2eb6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.10.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.9 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.10.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 57e271a75fbbfa9e19d46528e4fd5b9c851af44123bba6c751df9c3b0023f6f6
MD5 3a25feb038617b4a40a51b1068bd2d02
BLAKE2b-256 a2c5f793828af7233af69fb953693d422d95bb6f13304afef9dd037eb6213e45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.10.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 41bf6c98943930089e5c81c6c910b124773520526eca7593b01223367b25c438
MD5 44125c26ec4ee8e47143ad9d62c15781
BLAKE2b-256 c93a85c24d6d9f0a6f2c7715264f469b90d7118f59a813a2887acf266ab6737b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.10.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aa075119fd67562a30cee066ceca2921078b792b22147069670f69e20279fe6b
MD5 d385baa07c24de1e5f68e8e66635a405
BLAKE2b-256 5018cd9792b239784a9c4570307cc5647969202487c4e229d8c7c12d7468353e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.10.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7a53f64e8b58b3dea74e59dafe8259b3ac9af81bbcd1fa60b32c25577537517b
MD5 4e77b4301351d04619ca0b375df07aa3
BLAKE2b-256 c97061d835f8f91a8554c715486aba25f80b36a176c0aaffba740eb3cffe3ace

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.10.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 962d971e12519e56d1b2fa40be1655d20b05d9d280e4c96a11f5e9b8c996ec1a
MD5 4a99da90e9369ea6259bd9d5bf4c5f46
BLAKE2b-256 86b6733da324637ec531a631bb3abde516e38425169f15c2111152661162105f

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