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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

agent_lsp-0.8.1-py3-none-manylinux2014_x86_64.whl (11.5 MB view details)

Uploaded Python 3

agent_lsp-0.8.1-py3-none-manylinux2014_aarch64.whl (11.0 MB view details)

Uploaded Python 3

agent_lsp-0.8.1-py3-none-macosx_11_0_arm64.whl (11.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.8.1-py3-none-macosx_10_12_x86_64.whl (11.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: agent_lsp-0.8.1-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.8.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 c849395a1010e568430b014fbf882f0cdb9e0114441e9b0023a64bb9e4a27dd1
MD5 0e683fe58c8e014bfe23ae5a161b5319
BLAKE2b-256 bdf8025558979a02f5d2705612ac93552d83376901953d9961d11976f56da770

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.8.1-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.8.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 86e0a21d41bd14e269fecde1894d88322f9e278f1df9b8fed385928c13cf2ae9
MD5 e43b9cfe60057c7dd0211bf03cf0cae4
BLAKE2b-256 13d06485cfdaa84002a5bb7701f9d7904a87723225df6496df1b57bf01584e4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.8.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ecbb4e0d34837b308784b1459791f106100482eeb69525f18c7c76c4b1a5a9a0
MD5 b132742624ad19b7d7f6f37f7602f549
BLAKE2b-256 c3dd8b01bb537596a6dec31af789de5b991ce7e10bf54ec64830e40886f35d87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.8.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0dcd5376c112f532abd6ad1520e21518ed75f321fca570a7826d60d13285dded
MD5 3365186f42b996eed3d7c6ce4f37702c
BLAKE2b-256 fe983a6b7c910f6ec514e219ec880c46422521a0b34c451eb75c9ac958d98788

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.8.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ccf89cdd4da3ae5f60a2c96b6d61f312abac3259c39871169f5d880ea01ad1ac
MD5 c34ca3875c81bdbb03230cb3f031daa8
BLAKE2b-256 8f94d45caef7f6d9be4c3f607262d78efa0658cf3f6d6c4824b5879f1910e7fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.8.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e4bbd9fa56a334dbd5fdd2608b82afb094049bcef04b5b5e9c13399c75795dea
MD5 6fc695c7aeb5be26cc8abed42d3519e7
BLAKE2b-256 cd18d7b1f64a19ef2a1fb654914c71cf9f573fd3a060b4003b129b4d854adc2c

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