Skip to content
MCP server

Regex Ai MCP

MCP server for building, testing and explaining regular expressions from an AI client

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

Similar MCP servers

About Regex Ai MCP

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

The README describes Regex Ai MCP as a Model Context Protocol server published on PyPI and run over stdio, so it plugs into MCP-capable assistants such as Claude Desktop. It is pitched as an AI-powered automation tool, and the examples name three tools: build_regex, test_regex and explain_regex, which suggest the assistant can draft a pattern, check it against sample text, and describe what an existing pattern does.

Setup is a pip install or a Smithery command, followed by a small JSON entry in the MCP client config that launches the server with uvx. The package is MIT-licensed and can be self-hosted. The README also covers EU AI Act compliance claims and a separate paid consulting offer from the vendor, MEOK AI Labs, which are not part of the server's core function.

The server suits developers and analysts who work with an AI assistant and want regex help inside that conversation rather than in a separate tool.

Install

Run in a terminal

claude mcp add regex-ai-mcp -- uvx regex-ai-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "regex-ai-mcp": {
      "command": "uvx",
      "args": [
        "regex-ai-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "regex-ai-mcp": {
      "command": "uvx",
      "args": [
        "regex-ai-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "regex-ai-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "regex-ai-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "regex-ai-mcp": {
      "command": "uvx",
      "args": [
        "regex-ai-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "regex-ai-mcp": {
      "command": "uvx",
      "args": [
        "regex-ai-mcp"
      ]
    }
  }
}

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

Tools this server provides (3)

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

build_regex
Builds a regular expression from a request (per the README examples).
test_regex
Tests a regular expression (per the README examples).
explain_regex
Explains a regular expression (per the README examples).

What it does

Stdio MCP server
Runs as a local stdio process that MCP clients can launch with uvx or the regex-ai-mcp command.
Regex build and test tools
Exposes build_regex and test_regex tools for creating and checking patterns from an assistant.
Regex explanation tool
Includes an explain_regex tool for describing what an existing pattern does.
Simple installation
Installs from PyPI with pip or via the Smithery CLI.
MIT-licensed source
The repository is MIT-licensed and can be self-hosted at no cost.

Good for

  • Drafting a regex for a validation rule through an AI assistant
  • Checking a pattern against sample strings before using it in code
  • Getting a plain-language explanation of an unfamiliar regular expression

Pricing

Open source

Free and MIT-licensed; self-hosting is free. The vendor describes pay-per-job consulting separately.

Regex Ai MCP FAQ

How do I install it?

The README gives pip install regex_ai_mcp, or npx -y @smithery/cli@latest install regex-ai-mcp --client claude, and a JSON config entry that runs the server with uvx.

What license is it under?

The README states the repository is MIT-licensed.

Which tools does it expose?

The examples mention build_regex, test_regex and explain_regex.

Is Regex Ai MCP free?

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

How do I add Regex Ai MCP to Claude Code?

Run this command in your terminal: claude mcp add regex-ai-mcp -- uvx regex-ai-mcp

What are the best alternatives to Regex Ai MCP?

The closest alternatives to Regex Ai MCP are Regex Test MCP, Regex Lab MCP, Test Case Generator Ai MCP, Regex Tester API and Json Ai MCP.

Where this comes from

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

How AIPoweredBot checks servers