biome-mcp
Provides tools for running Biome's formatting, linting, and assist checks on TypeScript and web projects, with structured, compact diagnostics and a searchable cache of Biome documentation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@biome-mcp Run biome check on src and show me the errors"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: ts-language-mcp
Features
biome_check - Run formatting, linting, and assist checks in one pass
biome_lint - Lint-only diagnostics with an
all/error/warningseverity filterbiome_format - Verify formatting without modifying files
Structured parsing -
json-prettyoutput avoids fragile parsing of human-readable textAdaptive 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-mcpskill into.agents/skillswith 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 |
|
|
|
|
|
|
| Search the cached Biome docs |
| Refresh the cached docs from biomejs.dev |
Usage
To start the server:
uvx biome-mcpOr from a checkout:
uv run biome-mcpConfigure 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 |
|
| Logging level (stderr) |
| server working directory | Project directory to check |
|
| Invocation for Biome; empty string uses binaries from |
| none | Optional per-command timeout in seconds |
|
| Documentation cache location |
Documentation
See the docs for the full picture:
Architecture - components, request flow, and output processing
Configuration - environment variables and client setup
Tools & resources - complete catalog with signatures
Development - layout, tests, and contributing
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 pytestAvailable Tools
5 toolsbiome_checkARead-onlyIdempotent
Run Biome formatting, linting, and assist checks without writing files.
Inputs: paths, changed_only. Returns: Result of a Biome check run. Attributes: output: Token-efficient output for the…
biome_formatBRead-onlyIdempotent
Check Biome formatting without modifying files.
Inputs: paths, changed_only. Returns: Result of a Biome check run. Attributes: output: Token-efficient output for the…
biome_lintCRead-onlyIdempotent
Run Biome lint diagnostics without modifying files.
Inputs: level, paths, changed_only. Returns: Result of a Biome check run. Attributes: output: Token-efficient output for the…
search_documentationB
Search cached Biome documentation.
Inputs: query (required). Returns: result
update_cacheC
Refresh the cached Biome documentation.
Inputs: force. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Tools are mostly distinct: biome_check runs all checks, biome_lint and biome_format focus on specific aspects. The hierarchical overlap (check includes lint/format) is clear from descriptions, so misselection is unlikely. No two tools appear to do the same thing.
Three tools use a biome_ prefix (biome_check, biome_lint, biome_format) while two do not (update_cache, search_documentation). The actions follow a readable verb_noun pattern, but the mixed prefix usage creates inconsistency.
Five tools is well-scoped for a Biome utility server. Each tool serves a clear purpose: three for running checks and two for documentation cache management. No unnecessary bloat or thin coverage.
The server covers the main Biome check categories (format, lint, assist via biome_check) and documentation needs (update and search). Minor gaps exist: no separate assist-only tool or ability to write/fix files, but the read-only design makes this acceptable.
Maintenance
Related MCP Connectors
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Web scraping, Google SERP, Markdown and ChatGPT/Gemini answers as typed tools for AI agents.
A real browser for your agent: screenshots, page checks, Markdown and PDFs.
Web data for agents: YouTube transcripts, screenshots, Google News, WHOIS, jobs, tech stack, more.
Related MCP Servers
- AlicenseBqualityDmaintenanceExposes 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.9246 npm3MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to interact with TypeScript projects through compiler-level code intelligence, providing tools for navigation, type information, diagnostics, refactoring, and semantic search.29333 npm5Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to work with developer tools such as git, npm, Docker, and test runners through structured, schema-validated JSON outputs. Reduces token usage and eliminates fragile terminal text parsing for reliable cross-platform workflows.4 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to invoke common developer tools such as git, npm, Docker, and test runners and receive clean, schema-validated JSON instead of fragile terminal text, reducing token usage and parsing errors.4 npmMIT