material-web-mcp
# Material Web MCP Server
[](https://www.npmjs.com/package/material-web-mcp)
[](https://opensource.org/licenses/MIT)
[](https://nodejs.org/)
[](https://github.com/shantoislamdev/material-web-mcp/actions/workflows/ci.yml)
[](https://codecov.io/gh/shantoislamdev/material-web-mcp)
[](https://github.com/shantoislamdev/material-web-mcp/issues)
An MCP server providing programmatic access to Material Web documentation for AI agents (Claude, Cursor, Cline, Copilot, etc.).
**Requirements:** Node.js >= 18.17
## Quick Start
Connect to AI agents using npx (no installation required):
```json
{
"mcpServers": {
"material-web": {
"command": "npx",
"args": ["-y", "material-web-mcp"]
}
}
}
```
## Tools Overview
- **list_components**: Returns JSON array of available Material Web components.
- **search_docs**: Searches documentation for keywords (input: keyword string), returns matching paths with excerpts.
- **health_check**: Verifies server uptime and documentation accessibility.
- **get_component_doc**: Fetches full documentation for a specific component (input: component name).
- **get_theming_docs**: Returns theming documentation for Material Web.
- **get_installation_docs**: Returns installation and quick-start documentation.
- **generate_template**: Generates basic HTML templates with Material Web components based on prompts (input: prompt string).
- **validate_website**: Validates HTML code for correct Material Web component usage (input: HTML string).
## Links
- [ Contributing Guide](CONTRIBUTING.md) - How to contribute
- [ Changelog](CHANGELOG.md) - Version history
## Development
### Quick Setup
```bash
git clone https://github.com/shantoislamdev/material-web-mcp.git
cd material-web-mcp
npm install
npm test
npm start
```
[MIT License](LICENSE)
TDQS
Scored across 7 tools
Each tool targets a distinct purpose: documentation retrieval for theming, installation, components, plus listing, searching, health checking, and validation. There is no overlap between tool responsibilities.
Most tools follow a clear verb_noun pattern (get_*, list_*, search_*, validate_*), but health_check is a noun phrase rather than check_health. This minor inconsistency is the only deviation from an otherwise uniform convention.
Seven tools provide a focused and well-scoped set for a documentation and validation server. Each tool earns its place, and the count is neither too sparse nor overwhelming.
The domain—Material Web documentation and HTML validation—is fully covered: installation and theming docs, component listing and retrieval, documentation search, and validation. No obvious gaps exist for the intended read-only and analysis purposes.