Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By zircote
GraphQL language server plugin for Claude Code with graphql-lsp integration and automated hooks for validation and formatting
npx claudepluginhub zircote/lsp-marketplace --plugin graphql-lspA Claude Code plugin providing comprehensive GraphQL development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# Install graphql-lsp server
npm install -g graphql-language-service-cli
# Install development tools
npm install -g prettier @graphql-eslint/eslint-plugin
The plugin configures graphql-lsp for Claude Code via .lsp.json:
{
"graphql": {
"command": "graphql-lsp",
"args": ["server", "-m", "stream"],
"extensionToLanguage": {
".graphql": "graphql",
".gql": "graphql"
},
"transport": "stdio"
}
}
Capabilities:
All hooks run afterWrite and are configured in hooks/hooks.json.
| Hook | Trigger | Description |
|---|---|---|
graphql-format-on-edit | **/*.graphql,*.gql | Auto-format with Prettier |
graphql-validate | **/*.graphql,*.gql | Validate queries against schema |
graphql-lint | **/*.graphql,*.gql | Lint with graphql-eslint |
| Hook | Trigger | Description |
|---|---|---|
graphql-security-check | **/*.graphql,*.gql | Detect deep nesting and complexity issues |
graphql-todo-fixme | **/*.graphql,*.gql | Surface TODO/FIXME comments |
| Hook | Trigger | Description |
|---|---|---|
graphql-schema-check | **/schema.graphql | Validate schema syntax |
json-validate | **/*.json | Validate GraphQL config files |
| Tool | Installation | Purpose |
|---|---|---|
graphql-lsp | npm install -g graphql-language-service-cli | LSP server |
graphql | npm install -g graphql | GraphQL runtime |
| Tool | Installation | Purpose |
|---|---|---|
prettier | npm install -g prettier | Formatting |
@graphql-eslint/eslint-plugin | npm install -g @graphql-eslint/eslint-plugin | Linting |
| Tool | Installation | Purpose |
|---|---|---|
@graphql-codegen/cli | npm install -g @graphql-codegen/cli | Code generation |
graphql-inspector | npm install -g @graphql-inspector/cli | Schema diff and validation |
graphql-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # graphql-lsp configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ ├── hooks.json # Hook definitions
│ └── scripts/
│ └── graphql-hooks.sh
├── tests/
│ └── sample.graphql # Sample schema
├── CLAUDE.md # Project instructions
└── README.md # This file
.graphqlrc or graphql.config.js exists in project rootgraphql-lsp --versioncat .lsp.json.graphqlrcgraphql-inspector validateMIT
Share bugs, ideas, or general feedback.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Advanced GraphQL skills for schema design, resolvers, and query optimization.
Agent skills for AI coding agents working with Apollo GraphQL tools and technologies
GraphQL API design, optimization, and implementation expert for scalable API architectures
Build GraphQL servers with schema-first design, resolvers, and subscriptions
Builds GraphQL APIs with schema design, resolvers, error handling, and performance optimization using Apollo or Graphene. Use when creating flexible query APIs, migrating from REST, or implementing real-time subscriptions.
Commands for designing and documenting REST and GraphQL APIs
Persistent memory system for AI coding assistants. Captures decisions, learnings, and context from coding sessions and surfaces them when relevant.
Pure filesystem-based memory system for Claude Code with custom ontology support
Rust language server
Comprehensive agent library featuring 115+ specialized Opus 4.5 agents organized by domain
Detect AI-generated writing patterns and build authentic voice profiles through adaptive interviews and computational stylistics
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim