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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

agent_lsp-0.11.0-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.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: agent_lsp-0.11.0-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.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d67cc2b1c10c92a07448c6c9084db92a4e55da6d2d73fa2d41ad0315c5c9e062
MD5 29663eae0db3bcf33bcba0b08f59bfc9
BLAKE2b-256 426f4637f02fdc57ca8a3af332ae8cdad2f3fdbc6cf7159b6d15ca35e2515ea3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_lsp-0.11.0-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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ede08c30f48d1365bb5488e74482a83b03bbf2b33e568f6c8a0df8f22111e73f
MD5 ad543e80cb836d18210716c42ead8359
BLAKE2b-256 21c8717d6f2d5dce0912870f6b0256df6a288104f3fa3da5bffc78fd2927dac0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.11.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3445e95bdc0f9e2cb8c1b0b86025cc580443cdc299a564a892ca2ea89434dcd6
MD5 5a5718b43067689596ec8b96d5e64053
BLAKE2b-256 1d7821f816c2df29a83f47bcdf902df7eb7e06431c63ca567e8ca815594ba882

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.11.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8162605f9a92bdf1cd608a9faec746b52bf5ed476602133eea36aafdf16fe7ca
MD5 160b2e665e8dac39dd171636af9ad509
BLAKE2b-256 c1092ec8b6ff79092202839c4f5b0a1da9d873c88db3ce553af6020adc736085

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.11.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95fbebb0afe7b10cbb5611ee12c263e688598def5ee070b354568504b6b50a11
MD5 d2fa7656ec5981ae5b115d557dcaef78
BLAKE2b-256 d68342825bcaaf6654e345fd62c14d698605701283ce185c00a9b172a6f4c91c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_lsp-0.11.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 22fdbef6b6b002299fff25055bef37fb4f07bd3c28c69a57bcb4a5ffb1d1f2e5
MD5 1d14fe0612a6fb34e3bb156b81b234c4
BLAKE2b-256 4181dfa86e4ffd723a04c111011cb0f93fdd1b0abdb9f9f3829c97726b4ba434

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