Provides tools to list and retrieve CSS property definitions, values, and specifications from official W3C web standards.
Enables discovery and detailed information retrieval for Progressive Web App (PWA) related specifications like Service Worker and Web App Manifest.
Provides access to SVG element definitions and specification metadata from official web standards.
W3C MCP Server
MCP Server for accessing W3C/WHATWG/IETF web specifications. Provides AI assistants with access to official web standards data including specifications, WebIDL definitions, CSS properties, and HTML elements.
Installation
Or use directly with npx:
Configuration
Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Cursor
Add to your Cursor MCP settings (.cursor/mcp.json in your project or global settings):
Available Tools
Specification Discovery
list_w3c_specs
List W3C/WHATWG/IETF web specifications with optional filtering.
Parameters:
organization(optional): Filter by organization -"W3C","WHATWG","IETF", or"all"keyword(optional): Filter by keyword in title or shortnamecategory(optional): Filter by categorylimit(optional): Maximum number of results (default: 50)
get_w3c_spec
Get detailed information about a specific web specification.
Parameters:
shortname(required): Specification shortname (e.g.,"service-workers","appmanifest","fetch")
search_w3c_specs
Search web specifications by query string.
Parameters:
query(required): Search query (e.g.,"service worker","manifest","storage")limit(optional): Maximum number of results (default: 20)
WebIDL
get_webidl
Get WebIDL interface definitions for a specification. WebIDL defines the JavaScript APIs.
Parameters:
shortname(required): Specification shortname (e.g.,"service-workers","fetch","dom")
list_webidl_specs
List all specifications that have WebIDL definitions available.
CSS
get_css_properties
Get CSS property definitions from a specific spec or all specs.
Parameters:
spec(optional): Specification shortname (e.g.,"css-grid-1","css-flexbox-1")property(optional): Search for a specific CSS property by name
list_css_specs
List all CSS specifications that have property definitions available.
HTML Elements
get_html_elements
Get HTML element definitions from a specific spec or all specs.
Parameters:
spec(optional): Specification shortname (e.g.,"html","svg")element(optional): Search for a specific element by name (e.g.,"video","canvas")
list_element_specs
List all specifications that have HTML element definitions available.
PWA
get_pwa_specs
Get all Progressive Web App (PWA) related specifications.
Parameters:
coreOnly(optional): If true, return only the core PWA specs (Service Worker, Manifest, Push, Notifications)
get_spec_dependencies
Get dependency information for a specification.
Parameters:
shortname(required): Specification shortname
Usage Examples
Find Service Worker APIs
Explore PWA Technologies
Look up CSS Grid Properties
Search for Storage APIs
Data Sources
This MCP server uses the following W3C/webref data packages:
Package | Description |
Metadata for all web specifications | |
WebIDL interface definitions | |
CSS properties and values | |
HTML element definitions |
These packages are maintained by the W3C and provide machine-readable data extracted from official specifications.
GitHub Repositories:
Debug Mode
Enable debug logging with environment variables:
Debug output includes:
Tool call arguments
Execution timing
Data loading performance
Architecture
Performance
Startup: ~70ms parallel preloading of all data
Spec Lookup: O(1) using Map-based index
Search: Optimized with early termination on exact matches
Development
License
MIT