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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.5.3-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.3-py3-none-win_arm64.whl.

File metadata

  • Download URL: agent_lsp-0.5.3-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.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 9da07d59aa4ea6e8cc3e960c3925f675839025e04d7d91e7d210ace22b8ea3ae
MD5 432134b779c8bf482c4ee091821cd05b
BLAKE2b-256 f1ae6be9c7226f82155a4e9a008612d31f50480aaebe13acbba191f09213944f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.5.3-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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e9768190d54fbee6fdfe32f5d38168e26de62fddf8c831aa5be0645eb759c07f
MD5 e6667c88c34c95b58e03f3f2d3304cff
BLAKE2b-256 edb8200b2e378132eaa9cdd49c5c0a5cc5656928a30898a436263767d218cf20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.3-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d31e17a91f5945e915b928ef2815753a8774234a303d9a83892405362ad90bef
MD5 2cfc3c457b5020725aef9333fc3c3a37
BLAKE2b-256 223a5bce9a4745b5039f4aafba99d4734e91e3c50245cd4d4008f065e732cec0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.3-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3b3bad97c4edcd64464d637c4bf823b522a0fd69b43f30b9b926d7c5550ad5ba
MD5 7a055e5695777bcf8ff369e6b9ca9eb2
BLAKE2b-256 2c8be88523ffcc43a8dbe314c61d210a12d3806bc04e780a14650cd5e815bc7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 69d7585af2d8add51d3ed6680ef3b7bc37c3f069f4be142c60f858699c851ab0
MD5 0da39cac33a0fd202387ef9b8c5a62b3
BLAKE2b-256 04cc270ffeb3610c18b09c23a440e7b644a5872ba46590c3ff92fe84695c1b8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2e1c33d1730e9ca695b5ba856bda7f8500ea4f50530a1896c6f40fc6040b5bb3
MD5 4a564bfa77b10ea60a6fc5b42c1adc8a
BLAKE2b-256 8f007c9bc10664698277316dde0232b551a4db46b48ea983f3d333ec67d44011

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