Skip to content
MCP server

Megalinter

Runs MegaLinter from an assistant, then parses SARIF and JSON reports into summaries

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
4.0.0
Listing updated
today

Similar MCP servers

About Megalinter

Megalinter is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

This community-maintained server wraps MegaLinter through mega-linter-runner and says it is sanctioned by Ox Security as a complement to the official tools. It needs Docker or a compatible container runtime, and works locally or inside CI systems such as GitHub Actions, GitLab CI, Azure DevOps, CircleCI and Jenkins.

The README counts 15 tools: 10 core and 5 short aliases. Short prompts go through megalinter_quick_action, where a quick scan runs the ci_light flavour on changed files, a full scan runs the all flavour, and a security scan runs the security flavour. Discovery tools list flavours, filter linters by language, security focus or auto-fix support, group security linters by SAST, secrets, container and IaC, and list report formats.

After a run, megalinter_parse_reports reads JSON or SARIF artefacts, megalinter_get_issue_summary totals issues by linter and severity, and megalinter_get_security_recommendations produces shift-left remediation guidance. megalinter_write_config creates a minimal .mega-linter.yml. Default scans time out after 20 minutes.

Install

Run in a terminal

claude mcp add megalinter -- npx -y @downatthebottomofthemolehole/megalinter-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "megalinter": {
      "command": "npx",
      "args": [
        "-y",
        "@downatthebottomofthemolehole/megalinter-mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "megalinter": {
      "command": "npx",
      "args": [
        "-y",
        "@downatthebottomofthemolehole/megalinter-mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "megalinter": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@downatthebottomofthemolehole/megalinter-mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "megalinter": {
      "command": "npx",
      "args": [
        "-y",
        "@downatthebottomofthemolehole/megalinter-mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "megalinter": {
      "command": "npx",
      "args": [
        "-y",
        "@downatthebottomofthemolehole/megalinter-mcp-server"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (15)

Taken from the project documentation; the running server may differ.

megalinter_quick_action
Route a short request to a scan, config, summary or discovery workflow.
scan
Alias for a quick scan.
summary
Alias for summarising errors from the last run.
parse
Alias for parsing a report.
help_quick
Alias for context-aware help.
megalinter_help_quick
Suggest commands based on the current repository.
megalinter_run
Run MegaLinter with configurable runtime options.
megalinter_write_config
Generate a baseline .mega-linter.yml.
megalinter_list_flavors
List common MegaLinter flavours.
megalinter_get_linters
Discover linters by language, security focus and auto-fix.
megalinter_get_security_info
Group security linters by category.
megalinter_get_reporters
List report output formats and CI reporters.
megalinter_parse_reports
Parse JSON or SARIF report artefacts.
megalinter_get_issue_summary
Aggregate issues by linter and severity.
megalinter_get_security_recommendations
Produce security remediation guidance.

What it does

Quick actions
One tool turns short requests into scan, config or summary workflows.
Scan presets
Quick, full, security and fix modes map to MegaLinter flavours.
Linter discovery
Filter linters by language, security focus and auto-fix support.
Report parsing
Reads JSON and SARIF report artefacts.
Issue summaries
Totals issues by linter and severity.
Security guidance
Generates remediation steps from security findings.

Good for

  • Run a quick lint of changed files from an assistant
  • Run a security-only scan
  • Summarise errors from the last run
  • Generate a baseline MegaLinter config
  • Find auto-fixable linters for a language

Pricing

Open source

Free to run; needs Docker

Megalinter FAQ

What does it need?

Docker or a compatible container runtime, plus Node.js.

Is it official?

The README says it is community-maintained and sanctioned by Ox Security.

How many tools does it expose?

15: 10 core tools and 5 convenience aliases.

Which report formats can it parse?

JSON and SARIF.

Is Megalinter free?

Yes. Megalinter is open source, so you can use and self-host it for free.

How do I add Megalinter to Claude Code?

Run this command in your terminal: claude mcp add megalinter -- npx -y @downatthebottomofthemolehole/megalinter-mcp-server

What are the best alternatives to Megalinter?

The closest alternatives to Megalinter are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers