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. 20 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
  • 20 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.5.4-py3-none-win_arm64.whl (6.6 MB view details)

Uploaded Python 3Windows ARM64

agent_lsp-0.5.4-py3-none-win_amd64.whl (3.7 MB view details)

Uploaded Python 3Windows x86-64

agent_lsp-0.5.4-py3-none-manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded Python 3

agent_lsp-0.5.4-py3-none-manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded Python 3

agent_lsp-0.5.4-py3-none-macosx_11_0_arm64.whl (7.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.5.4-py3-none-macosx_10_12_x86_64.whl (7.4 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: agent_lsp-0.5.4-py3-none-win_arm64.whl
  • Upload date:
  • Size: 6.6 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.5.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 229f99818fb27172add9ccdfb7a9d9e5ec2336a3f7f0c67331b47c7610bf1263
MD5 6595e65e08e04959726964824bdc1bf9
BLAKE2b-256 39e9b0c19cf6a0dfa741175070b73276c8d55fd7bc2f2ac8e8ad9335d30c41d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.5.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.7 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.5.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 16ec0ff57db03f09901ede563a205d2afd5f10cd5ca4a930bf746b9571dcd54a
MD5 225785e6329546d9ba65d740c9fa4255
BLAKE2b-256 760175b5a4da04f3f8e224cbf734ec2eb7514bc336824320cb4667baf6255472

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.4-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8bd26f37667390c5226c35950cddbe134f9b8bccfee7eb2df9ffe03b96516eac
MD5 eede03691776b0edb6d779a0b047b553
BLAKE2b-256 d00995f3aa56f7ac09c85a5a37e9e8923d8f92105a8b79cd000a4cd5506377fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.4-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4afc33afc1b4db578939ba8b78456eb9f21a645700c38596538e6d48edc52191
MD5 87016a41d7c80676f08a8e0517a08285
BLAKE2b-256 ea70077a34dd79ec274de8083ff9d179558ef5b03cbbdde5cd8d870a2da862ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82c158590c68a94dcad9828c2963e317380e53c5126df47e6e8bf59217535dbf
MD5 b29ea26ad7f3aaf998a60740aa9f12d2
BLAKE2b-256 28e194aab863cfe3c3e9d1dcc1e67b10f201dcd2badacf7687e0cef5c2ce64c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 189a052ebc98eb6a4eef176bb9b656f36a4c11af90a3370322ece7a6bdde7ae8
MD5 b632270089784464b43af36ae73d3c34
BLAKE2b-256 0b86947d82555421cee2e7a125a5a40baca5c25e63ee6290ac18c93e6bd092be

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