Baseline (Web Platform Compatibility) MCP server

Provides real-time browser compatibility status for Web Platform APIs by connecting to the WebStatus API, helping web developers make informed decisions about feature usage
Back to servers
Setup instructions
Provider
yamanoku
Release date
Apr 13, 2025
Language
TypeScript
Stats
32 stars

The Baseline MCP Server provides Web Platform API support status through the Model Context Protocol, allowing AI models to access up-to-date information about browser compatibility.

Installation Options

Using Deno (Recommended)

The recommended way to run the Baseline MCP Server is with Deno, allowing only necessary network permissions.

deno run --allow-net=api.webstatus.dev jsr:@yamanoku/baseline-mcp-server

Using Docker

First, build the Docker image:

docker build -t baseline-mcp-server .

Then you can run the server using Docker as shown in the configuration examples below.

MCP Client Configuration

Claude Desktop Configuration

Add the following to your cline_mcp_settings.json file:

{
  "mcpServers": {
    "baseline-mcp-server": {
      "command": "deno",
      "args": [
        "run",
        "--allow-net=api.webstatus.dev",
        "jsr:@yamanoku/baseline-mcp-server"
      ]
    }
  }
}

If using Docker, your configuration would look like:

{
  "mcpServers": {
    "baseline-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "baseline-mcp-server:latest"
      ]
    }
  }
}

Visual Studio Code Configuration

Add the following to your VS Code settings.json file:

{
  "mcp": {
    "servers": {
      "baseline-mcp-server": {
        "command": "deno",
        "args": [
          "run",
          "--allow-net=api.webstatus.dev",
          "jsr:@yamanoku/baseline-mcp-server"
        ]
      }
    }
  }
}

Features and Capabilities

The server offers the following functionality:

  • Feature searches using the Web Platform Dashboard API
  • Baseline status information (widely, newly, limited, no_data)
  • Browser implementation status including versions and implementation dates
  • Feature usage data
  • Filtered searches that can exclude specific browsers (chrome, edge, firefox, safari)

Understanding Baseline Status

The server provides the following status indicators for web features:

  • widely: Web standard features with broad support that can be safely used in most browsers
  • newly: Recently standardized features that are beginning to be supported in major browsers but not yet widespread
  • limited: Features with limited support that may not work in some browsers or require flags
  • no_data: Features not currently included in Baseline that require individual browser support verification

For more detailed information about Baseline, refer to Baseline (Compatibility) - MDN Web Docs Glossary.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "baseline-mcp-server" '{"command":"deno","args":["run","--allow-net=api.webstatus.dev","jsr:@yamanoku/baseline-mcp-server"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "baseline-mcp-server": {
            "command": "deno",
            "args": [
                "run",
                "--allow-net=api.webstatus.dev",
                "jsr:@yamanoku/baseline-mcp-server"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "baseline-mcp-server": {
            "command": "deno",
            "args": [
                "run",
                "--allow-net=api.webstatus.dev",
                "jsr:@yamanoku/baseline-mcp-server"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later