Developer Tools
Free, standalone tools for _hyperscript development. No HyperFixi or LokaScript dependencies required — these work with original _hyperscript out of the box.
VSCode Extension
Full language support for _hyperscript in Visual Studio Code.
Features
- Syntax highlighting for
_="..."attributes,<script type="text/hyperscript">, and.hsfiles - Completions for 36 commands, events, selectors, and keywords
- Hover documentation for commands and expressions
- Diagnostics with real-time error detection
- Document symbols showing event handlers, behaviors, and functions
- Code actions and quick fixes for common mistakes
- Go to definition and find references for behaviors and functions
- Formatting with consistent indentation
- HTML injection — works inside HTML, Vue, and Svelte templates
Install
Download the extension and install from the command line:
Download hyperscript-vscode-2.2.0.vsix
code --install-extension hyperscript-vscode-2.2.0.vsix
Or install from within VS Code: open the Command Palette (Cmd+Shift+P), choose Extensions: Install from VSIX..., and select the downloaded file.
Supported file types
| Context | How it works |
|---|---|
| HTML files | Highlights and analyzes _="..." attributes |
| Script tags | <script type="text/hyperscript"> blocks |
.hs files |
Standalone hyperscript files |
| Vue / Svelte | Injection grammar for templates |
MCP Server
AI-powered development tools for _hyperscript, exposed via the Model Context Protocol. Works with Claude, Cursor, Windsurf, and any MCP-compatible editor.
Install
npx @hyperscript-tools/mcp-server
Or add to your Claude Desktop / Claude Code config:
{
"mcpServers": {
"hyperscript": {
"command": "npx",
"args": ["@hyperscript-tools/mcp-server"]
}
}
}
Tools (14)
Validation
validate_hyperscript— syntax checking with error positionssuggest_command— suggest the right command for a taskget_code_fixes— fixes for common errors
Editor integration
get_diagnostics— LSP-compatible diagnosticsget_completions— context-aware keyword completionsget_hover_info— hover documentation for any keywordget_document_symbols— document outline (handlers, behaviors, functions)
Documentation
get_command_docs— full docs for any commandget_expression_docs— docs for expressions and referencessearch_language_elements— search all commands, expressions, symbolssuggest_best_practices— code improvement suggestions
Analysis
analyze_complexity— cyclomatic and cognitive complexity metricsexplain_code— natural language explanation at configurable detail levelrecognize_intent— classify code purpose (DOM manipulation, events, etc.)
Resources
The server also exposes 4 MCP resources for documentation:
hyperscript://docs/commandshyperscript://docs/expressionshyperscript://docs/eventshyperscript://examples/common