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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.9.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.9.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: agent_lsp-0.9.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.9.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 a0d06082b350fcbc3ed4c264f9e288d316646d2a20fd16177aa6eda690cc1914
MD5 03f77cdd056dabeb02632cf44db9ef5d
BLAKE2b-256 0745941e72a1573a3cc5b55622787b82f3d7d16a030b8a5ab36983b5154a1acc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.9.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.9.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 713b68842968b790050e8e25a0d4f9b5ec314148d4892a4685c5da936323411a
MD5 aaf2b614a9aacf92cddfab6f10c49552
BLAKE2b-256 fc05204b90e01a2ddbfb7851f2982c06d959abc59aeee9642906cefaa011b491

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.9.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 749a48d8a53b2261dd2b48dbc1b5089c350136659643eb348a3050b121757161
MD5 eac43bbed228c7b9d0415297065eb8be
BLAKE2b-256 3d27331e47aee0d9b5dacf53d718370c47bf278c128ea7fc441a45eaf08f557c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.9.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 632d32be4168abcb192c0e441b1ea55e1cf0a1c02321114f6534c52ecfa6a5ab
MD5 977542036a8345088748e946aeaa56e6
BLAKE2b-256 9222e4175e058117fc31a5a78764830d01d9146b99c50ebb334b614c37722fe2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.9.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6e9737cc22f5e82a43a571e7c1a16ca3a48e348af6499d49a13e74699f91c87a
MD5 f3d33d507a1c46f944aa56b11cf9a2e6
BLAKE2b-256 3a58fbc8975290b3e4381a5559920736494c0907565caff3a5e2d4af5173db28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.9.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bd737718803aaf9136e0592b4f02b2c77e572804295a69b6b074c3c069b6b6a7
MD5 edbdf6e1693da3b8a5c18d0abc857c75
BLAKE2b-256 a31d1ea95847d142c10047c7c5c03a25cd7071f1969589bcf497c68e72cd6115

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