Home / Companies / CircleCI / Blog / Post Details
Content Deep Dive

How to build a Language Server Protocol (LSP) plugin for Claude Code

Blog post from CircleCI

Post Details
Company
Date Published
Author
Roger Winter
Word Count
2,152
Company Posts That Month
2
Language
English
Hacker News Points
-
Post removed?
No
Summary

CircleCI demonstrates how to wrap its open-source YAML language server as a Claude Code plugin, giving Claude real-time diagnostics, best-practice hints, and schema hover documentation while editing `.circleci/config.yml` files. The plugin uses a verified launcher that downloads and checksum-validates a pinned server binary, plus a JSON-RPC proxy that limits the CircleCI-specific server to appropriate configuration paths so unrelated YAML files are not incorrectly analyzed. A separate hover proxy supplies documentation generated from CircleCI’s configuration schema, while a maintenance pipeline monitors upstream releases, refreshes binary hashes and schema data, runs tests, and opens reviewable update pull requests. In an 84-run benchmark across Claude Opus 4.8 and Sonnet 5, all generated configurations compiled successfully with or without the plugin, but models instructed to act on LSP guidance more often adopted nonrequired best practices, including storing test results and using current orb versions. The example is open source and is presented as a reusable pattern for connecting other domain-specific language servers to Claude Code, though it is not an officially supported CircleCI product.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 649 155 80 -85%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.