Skip to main content
Glama
yriveiro
by yriveiro

biome-mcp

A Model Context Protocol (MCP) server for running Biome on TypeScript and web projects with token-efficient output.

Overview

biome-mcp gives LLMs direct access to Biome's formatting, linting, and assist checks without shelling out to the CLI. Diagnostic output is parsed structurally and reduced to compact, grouped results before it reaches the model, so long check runs stay readable and cheap.

The server also caches the Biome CLI, configuration, and JavaScript linter documentation and exposes it as searchable resources.

Related MCP server: Code Search MCP

Features

  • biome_check - Run formatting, linting, and assist checks in one pass

  • biome_lint - Lint-only diagnostics with an all / error / warning severity filter

  • biome_format - Verify formatting without modifying files

  • Structured parsing - json-pretty output avoids fragile parsing of human-readable text

  • Adaptive aggregation - large result sets include rule/file rollups before flat diagnostics

  • changed_only - Check only staged, unstaged, and untracked web files (*.ts, *.tsx, *.js, ...)

  • Documentation cache - Searchable, version-aware cache of Biome docs

  • Bundled Agent Skill - Install biome-mcp skill into .agents/skills with one command

How It Works

biome-mcp implements the Model Context Protocol to expose Biome through read-only tools. Every check tool returns a CheckResult with compact output text and the underlying exit_code; it never writes to source files.

Tool

What it runs

biome_check(paths?, changed_only?)

biome check (format + lint + assist)

biome_lint(paths?, level?, changed_only?)

biome lint, filtered by severity

biome_format(paths?, changed_only?)

biome check with linter and assist disabled

search_documentation(query)

Search the cached Biome docs

update_cache(force?)

Refresh the cached docs from biomejs.dev

Usage

To start the server:

uvx biome-mcp

Or from a checkout:

uv run biome-mcp

Configure an MCP client to launch the server in the project directory to check, e.g. for opencode:

{
  "mcp": {
    "biome-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": ["biome-mcp"]
    }
  }
}

The server checks the project in its working directory. To target another directory, set BIOME_MCP_PROJECT_DIR.

Biome is invoked through bunx @biomejs/biome by default. Set BIOME_MCP_COMMAND_PREFIX to use another project-local invocation (see docs/configuration.md).

Agent Skill

Install the bundled biome skill in a project when the agent client discovers skills from .agents/skills:

uvx biome-mcp skill install biome --target .

The skill directs agents to the server's read-only tools and the cached documentation resources.

Configuration

Environment variables, all optional:

Variable

Default

Purpose

BIOME_MCP_LOG_LEVEL

INFO

Logging level (stderr)

BIOME_MCP_PROJECT_DIR

server working directory

Project directory to check

BIOME_MCP_COMMAND_PREFIX

bunx @biomejs/biome

Invocation for Biome; empty string uses binaries from PATH

BIOME_MCP_COMMAND_TIMEOUT

none

Optional per-command timeout in seconds

BIOME_MCP_CACHE_DIR

~/.cache/biome-mcp/docs

Documentation cache location

Documentation

See the docs for the full picture:

Development

This project is built with FastMCP and uv.

uv sync --extra dev
uv run ruff check
uv run ruff format --check
uv run ty check
uv run pytest
Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Exposes TypeScript Language Server Protocol functionality to AI agents, enabling them to query types at specific positions, find definitions and references, get diagnostics, run type tests, and type-check inline code just like in an IDE.
    9
    158
    3
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Enables LLMs to perform high-performance code search and analysis across multiple languages using symbol indexing, regex text search, and structural AST pattern matching. It also provides tools for technology stack detection and dependency analysis with persistent caching for optimized performance.
    6
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI coding agents to interact with TypeScript projects through compiler-level code intelligence, providing tools for navigation, type information, diagnostics, refactoring, and semantic search.
    189
    3
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…

  • Lints + auto-fixes how AI coding agents discover any new product. 24 rules, 6 tools, score 0-100.

  • Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yriveiro/biome-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server