Skip to main content
Glama
Baseline Checker

Baseline Checker

by htshongany

Baseline Checker MCP Server

MCP server to check web feature compatibility with Baseline standards.

Baseline Tooling Hackathon - Accelerate availability of modern web features

Installation

npm install
npm run build

Related MCP server: CSS MCP Server

MCP Configuration

VSCode

{
  "servers": {
    "baseline-checker": {
      "command": "node",
      "args": ["/<absolute path to your project>/dist/index.js"]
    }
  }
}

Cursor / Other editors

{
  "mcpServers": {
    "baseline-checker": {
      "command": "node",
      "args": ["/<absolute path to your project>/dist/index.js"]
    }
  }
}

Test with MCP Inspector

You can test this MCP server with the inspection tool:

npx @mcpjam/inspector@latest

More info: https://github.com/MCPJam/inspector

Available Tools

1. check_baseline

Analyzes complete HTML/CSS/JavaScript code for Baseline compatibility.

Input: Complete code to analyze Output: Detailed compatibility report with:

  • Compatibility percentage

  • Detected web features grouped by status (Baseline, Non-Baseline, Discouraged)

  • Browser support warnings

  • Specific recommendations and alternatives

Usage: "Analyze this code for Baseline compatibility: [paste your code]"

2. check_baseline_from_selection

Automatic code retrieval tool.

Input: Source type (selection, active_file, or clipboard) Output: Instructions for the AI agent to:

  • Use editor tools to access the selected/active code

  • Pass the retrieved code to the check_baseline tool

  • Provides guidance for proper workflow integration

Purpose: Directs AI agents to use proper workflow for code analysis

Usage Examples

  • "Analyze this code for Baseline compatibility: [your code]"

  • "Check if this HTML/CSS/JS is Baseline compatible"

  • Use check_baseline tool with your code for immediate analysis

Resources

Available Tools

2 tools
check_baselineA

Analyzes web code for Baseline compatibility. Pass the complete code to get compatibility percentage and specific issues.

NameRequiredDescriptionDefault
codeYesComplete HTML/CSS/JavaScript code to analyze
check_baseline_from_selectionB

AUTOMATIC CODE RETRIEVAL: Analyzes the currently selected code or active file for Baseline compatibility. No need to copy/paste code - this tool automatically gets the code from the editor. Use this to save tokens and avoid manual code copying.

NameRequiredDescriptionDefault
sourceYesSource of code to analyze: 'selection' for selected text, 'active_file' for current file, or 'clipboard' for clipboard content

Tool Schema Changelog

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

  1. 2 tool updatesv1.0.0
    • First observedcheck_baseline
    • First observedcheck_baseline_from_selection

TDQS

A3.7/5.0

Scored across 2 tools

Disambiguation4/5

Both tools perform Baseline compatibility analysis, but their input mechanisms are clearly distinguished: one takes explicit code, the other auto-retrieves the current selection/file. The descriptions make the intended use cases distinct enough to avoid most misselection.

Naming Consistency5/5

Both tools use a consistent snake_case verb_noun pattern with a shared 'check_baseline' prefix. The suffix clearly denotes the variant.

Tool Count4/5

Two tools is on the low end, but appropriate for a narrow single-purpose checker. One tool handles explicit code and the other handles automatic editor retrieval, so each earns its place without redundancy.

Completeness4/5

The server covers the core workflow of checking Baseline compatibility, both for pasted code and current editor context. Minor gaps like batch or directory-level checks exist, but the primary use cases are well covered.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides intelligent CSS/JS feature compatibility checking with configurable browser targets, polyfill support, and smart project scanning. Enables developers to automatically detect browser compatibility issues and get actionable remediation steps with build tool configurations.
    5
    4 npm
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables automated web accessibility checking and review against Korea's KWCAG 2.2 standard, supporting static HTML/contrast validation, live URL audits, and certification readiness estimation.
    7
    22 npm
    MIT