Skip to content
@lsp-client

lsp-client

LSP Client Ecosystem 🚀

Please visit our website!

Welcome to the LSP Client ecosystem — a professional-grade toolkit and agent-native ecosystem designed to transform the Language Server Protocol (LSP) into actionable repository intelligence for AI Agents and developers.


🏛 The Architecture: From Protocol to Intelligence

Our ecosystem is built as a layered stack, progressively evolving raw language server capabilities into specialized reasoning "skills" for coding agents.

1. LSP Client (The Base)

The industrial-strength foundation. A modern, async-first Python SDK for fine-grained LSP control.

  • Protocol Native: Full support for LSP specifications with automatic capability negotiation.
  • Robustness: Type-safe, async-first (AnyIO), and production-ready.
  • Container Registry: Pre-built, isolated environments for 20+ language servers, enabling instant, zero-config deployment.

2. LSAP (The Abstraction)

Language Server Agent Protocol. A semantic abstraction layer that transforms granular LSP operations into agent-friendly snapshots.

  • Agent-Centric: Converts raw JSON-RPC data into structured Markdown/JSON optimized for LLM consumption.
  • Semantic Context: Provides high-signal context (e.g., "Summarize this class" instead of just "Get symbols").

3. LSP CLI (The Tool)

A universal command-line interface that brings LSP and LSAP capabilities to any terminal or script.

  • Human & Machine Friendly: Use it for manual exploration or as a backend for automation scripts.
  • Universal Interface: One CLI to rule all language servers.

4. LSP Skill (The Intelligence)

High-level repository analysis capabilities designed specifically for Coding Agents (like Opencode).

  • Deep Understanding: Provides cross-file reference analysis, project-wide symbol mapping, and architectural insights.
  • Plugin for Agents: Acts as a skill that agents can invoke to perform complex repository-wide tasks via LSP.

🛠 Supported Languages & Servers

We provide optimized, pre-built container images for instant, zero-config deployment:

Language Server Container Image
Python Pyright, Ruff ghcr.io/lsp-client/pyright
Rust Rust Analyzer ghcr.io/lsp-client/rust-analyzer
Go Gopls ghcr.io/lsp-client/gopls
TypeScript/JS TS Server ghcr.io/lsp-client/typescript
C/C++ Clangd ghcr.io/lsp-client/clangd
Java JDTLS ghcr.io/lsp-client/jdtls
Swift SourceKit-LSP ghcr.io/lsp-client/sourcekit-lsp
Vue Volar ghcr.io/lsp-client/vue

🚀 Quick Start (SDK)

Integrate language intelligence into your Python projects:

import anyio
from lsp_client.clients.pyright import PyrightClient, PyrightContainerServer
from lsp_client.common import Position

async def main():
    # Run Pyright in an isolated container
    async with PyrightClient(server=PyrightContainerServer()) as client:
        definitions = await client.request_definition_locations(
            file_path="app.py",
            position=Position(line=10, character=5)
        )
        for loc in definitions:
            print(f"Found definition: {loc.uri} at {loc.range}")

anyio.run(main)

🤝 Join the Ecosystem

We are building the future of AI-native software engineering.

  • Contribute: Add new servers to our Container Registry.
  • Extend: Help us evolve LSAP for better agent reasoning.
  • Integrate: Use LSP Skills to empower your own AI coding assistants.

Built with ❤️ by the LSP Client team.

Pinned Loading

  1. lsp-client lsp-client Public

    A full-featured, well-typed, and easy-to-use Python client for the Language Server Protocol (LSP).

    Python 14

  2. LSAP LSAP Public

    LSAP (Language Server Agent Protocol) is an open protocol that defines how AI coding agents interact with Language Servers

    Python 3

  3. lsp-cli lsp-cli Public archive

    CLI interface for the Language Server Agent Protocol (LSAP)

    Python 4

  4. lsp-skill lsp-skill Public

    IntelliSense Designed for Coding Agent

    Python 34 1

Repositories

Showing 9 of 9 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…