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.

66 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

  • 66 tools covering navigation, analysis, refactoring, diagnostics, formatting, speculative execution, composite exploration, safe editing, 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.11.1-py3-none-win_arm64.whl (10.6 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

agent_lsp-0.11.1-py3-none-manylinux2014_x86_64.whl (11.7 MB view details)

Uploaded Python 3

agent_lsp-0.11.1-py3-none-manylinux2014_aarch64.whl (11.2 MB view details)

Uploaded Python 3

agent_lsp-0.11.1-py3-none-macosx_11_0_arm64.whl (11.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.11.1-py3-none-macosx_10_12_x86_64.whl (11.8 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: agent_lsp-0.11.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 10.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.11.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b5696e446cb26e28b972147384a2f1b9d1c8d030937cb7919b2c399d8aa1fb05
MD5 57092aff9d1e025e44fec6550467c538
BLAKE2b-256 7a4be2dea68a62a5a12b01d8c975c430dfd53156636e981d22c4419ad6da5d05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.11.1-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.11.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b5be2fdea0476e9a61f97bd3534d5bd8b21e00692d32cef1bbd8f0a741ac4e90
MD5 7b38a77368047105e9b82b75e0f2a1a9
BLAKE2b-256 6a14fe93dbb65b5ab4acfabef87f03abc7ef93cc120765bcf11d68b3adc3339c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.11.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1c14e991da7d8ae0dda28551c8f5b0d4ce18876a1a08684cd833e54e7941853d
MD5 85a7ac7697104646294ffd6ad3813d3e
BLAKE2b-256 a5cd35fd6730cb4730336fb6252d0fb96582fda84d6646f133b9bc83c1d7db20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.11.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7f68a871b610af027eebff54b27415b9ebb4deab98137f44d25a13719b785cc1
MD5 a86055f9f59ae0bb6ebf5e084b66a26e
BLAKE2b-256 8a0ada9cd81de11cca93c8c1b6ae0821e598f394ae994184950fe4251edca705

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.11.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b13e88a358e58e4a5e92d24840b32f4bdce7360cfe84278a28569faa2c26d58e
MD5 e243ae553f64abb65a1a507ab1d9c78c
BLAKE2b-256 78e4e774d2a694dfe040808a5b4b3ceaeae986bad7277504140090ef1ff434ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.11.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 65b523621bf683a81bbbed52cc57f04e51e1a3a4e73363650790f123abd4de67
MD5 1d3a5fa7681727addbba4f2fca724f5f
BLAKE2b-256 d4c4be49009ab5cc4b1130bc55132194f63d2fabdf351c422a2663209643b97d

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