# Regex Ai MCP

> Regex Ai MCP is an open-source MCP server for developer tools. MCP server for building, testing and explaining regular expressions from an AI client. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Repository:** https://github.com/csoai-org/regex-ai-mcp
- **MCP Registry name:** io.github.CSOAI-ORG/regex-ai-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add regex-ai-mcp -- uvx regex-ai-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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).

## 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.

## Alternatives

- [Regex Test MCP](https://ai-powered.com/mcp/regex-test-mcp): Regex Test MCP is an open-source MCP server for developer tools.
- [Regex Lab MCP](https://ai-powered.com/mcp/regex-lab-mcp): Regex Lab MCP is an open-source MCP server for developer tools.
- [Test Case Generator Ai MCP](https://ai-powered.com/mcp/test-case-generator-ai-mcp): Test Case Generator Ai MCP is an open-source MCP server for developer tools.
- [Regex Tester API](https://ai-powered.com/mcp/regex-tester-api): Regex Tester API is a paid MCP server for developer tools.
- [Json Ai MCP](https://ai-powered.com/mcp/json-ai-mcp): Json Ai MCP is an open-source MCP server for developer tools.
- [Qr Code Ai MCP](https://ai-powered.com/mcp/qr-code-ai-mcp): Qr Code Ai MCP is an open-source MCP server for developer tools.
- [Jwt Ai MCP](https://ai-powered.com/mcp/jwt-ai-mcp): Jwt Ai MCP is an open-source MCP server for developer tools.
- [Api Test MCP](https://ai-powered.com/mcp/api-test-mcp): Api Test MCP is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/regex-ai-mcp
