Skip to main content
Glama
material-web-mcp

material-web-mcp

by shanthropic

Material Web MCP Server

npm version License: MIT Node.js Version CI Status codecov GitHub 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):

{
  "mcpServers": {
    "material-web": {
      "command": "npx",
      "args": ["-y", "material-web-mcp"]
    }
  }
}

Related MCP server: MUI MCP Server

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).

Development

Quick Setup

git clone https://github.com/shantoislamdev/material-web-mcp.git
cd material-web-mcp
npm install
npm test
npm start

MIT License

Available Tools

7 tools
get_component_docGet Component DocumentationA

Returns the full documentation for a specific Material Web component

Inputs: component (required). Returns: documentation

get_installation_docsGet Installation DocumentationA

Returns the installation and quick-start documentation for Material Web

Inputs: no named parameters. Returns: documentation

get_theming_docsGet Theming DocumentationA

Returns the theming documentation for Material Web

Inputs: no named parameters. Returns: documentation

health_checkHealth CheckA

Performs a health check on the server, verifying uptime, documentation accessibility, and basic functionality

Inputs: no named parameters. Returns: errors, status, uptime, docsCount, +2 more

list_componentsList ComponentsA

Returns a JSON array of available Material Web component names

Inputs: no named parameters. Returns: components

search_docsSearch DocsA

Searches Material Web documentation for a keyword and returns matching file paths with excerpts

Inputs: keyword (required). Returns: results

validate_websiteValidate WebsiteB

Validates HTML code for correct Material Web component usage

Inputs: html (required). Returns: valid, errors, warnings

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 7 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers