About Biome MCP Server
Biome MCP Server is an MCP server published by RyuzakiShinji in the Developer Tools category: unofficial MCP server that enables AI agents to lint and format JavaScript/TypeScript code using Biome.
The repository has 5 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/RyuzakiShinji/biome-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Biome MCP Server
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Biome MCP Server
A Model Context Protocol (MCP) server that enables LLMs and AI agents to perform code linting and automatic formatting using Biome. This server exposes Biome's linting and formatting capabilities as MCP tools, allowing AI to programmatically check and format code.
Overview
This MCP server specializes in linting and formatting JavaScript/TypeScript code. Key features include:
- Code Analysis: Detects lint errors and provides detailed diagnostic information
- Auto-formatting: Automatically formats code according to Biome's rules
- AI Integration: Easy access to these features through the MCP protocol
Features
- Exposes Biome's lint and format functionality as MCP tools
- Simple TypeScript implementation that's easy to extend
- Configurable Biome settings support
Prerequisites
- Node.js 22 or higher
Getting Started
1. Clone the Repository
git clone https://github.com/RyuzakiShinji/biome-mcp-server.git
cd biome-mcp-server
2. Install Dependencies
npm install
3. Configure Your MCP Client
Add the following configuration to your MCP client:
{
"mcpServers": {
"biome": {
"command": "npx",
"args": [
"-y",
"tsx",
"/path/to/the/cloned/repo/biome-mcp-server/biome-mcp-server.ts"
],
"env": {},
"autoApprove": [],
"disabled": false
}
}
}
Replace /path/to/the/cloned/repo/biome-mcp-server/biome-mcp-server.ts with the actual path to your cloned repository.
Available Tools
biome-lint
Analyzes JavaScript/TypeScript files and returns Biome lint diagnostics.
Parameters:
paths(string[]): Array of file paths to lintconfigPath(optional string): Path to custom Biome configuration file (e.g.,biome.json). Uses default settings if not specified
Output:
- Returns diagnostic results (errors, warnings, suggestions) in text format
biome-format
Automatically formats JavaScript/TypeScript files according to Biome rules.
Parameters:
paths(string[]): Array of file paths to formatconfigPath(optional string): Path to custom Biome configuration file. Uses default settings if not specified
Output:
- Returns formatted code in text format
Custom Biome Configuration
You can specify a custom Biome configuration file using the configPath parameter. This allows you to tailor linting and formatting rules for different projects, providing flexibility in code style enforcement.
References
License
MIT License
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.