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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.5.2-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.2-py3-none-win_arm64.whl.

File metadata

  • Download URL: agent_lsp-0.5.2-py3-none-win_arm64.whl
  • Upload date:
  • Size: 6.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.5.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b6f6848de4c6fe443e0573f0981e850f9c97f53f5e16b2ef253cdfb7c8e6c87a
MD5 1da89ff8625b12130f8aaf980ad027aa
BLAKE2b-256 2e08b1fd03384f5046e5446bef7162a776721a875a94473bc3ba3e5b2334409b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.5.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d9b9a18f2cca8401e507f6f740fb43375f3afc60b38eadb4667bd9c466ef57a2
MD5 ee824f5d9dd01710ee010927f3c07713
BLAKE2b-256 c165e0d55d3529c3c732ed1d3b85dc1121b5c50a8173cc2c166a12e4e5b3df1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fa232027eba451baa4455959bc61fa8fb30d3df60094af326139562635eafbfa
MD5 ea09dbde658ab7ceff88752833b7bc35
BLAKE2b-256 81cca13aa0c611534a3315501f477b40e7377f6f86710e89c29aa66aaf224766

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2abcf79d72173f7646a7badc96f6a10b699dc60809fa5602de210558e1cafc6c
MD5 cc6b5194158d704f6173b3f133f73ad4
BLAKE2b-256 23f06f44acf67c94ad1010c5f6f542010de143ce39218784c2d84a024127f543

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce7bb6ef4df0985ad6017fcdf6469c44b9c72c8a1cbb360972134d29b1c37337
MD5 e0ba82f4e99c9b765c25b3bd18ce779a
BLAKE2b-256 72238ac0716facf64acd3dbc65dd02368caba686bc4bd191d08be70784e615ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.5.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1fdfc081ac2f54ebe0a78bc04b70f81e65f1c56b5967a57acf8abe8e4b40763b
MD5 d16b994b83161605f85dcd450d64488d
BLAKE2b-256 414074e7dbb682a3867d91bebc11c616ab7d8ef9e7584d397e249fcc73d6ba77

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