Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Regex

FreeNot checked

MCP server: test a regex against text and return matches with positions and capture groups.

GitHubEmbed

About

MCP server: test a regex against text and return matches with positions and capture groups.

README

npm mcp license

MCP server: test a JavaScript regex pattern against text and get back structured matches with positions, numbered groups, and named groups. The g flag is forced on so you always get every match.

Tool

regex

{ "pattern": "(?<key>\\w+)=(?<val>\\d+)", "text": "x=1 y=22" }

→

{
  "pattern": "(?<key>\\w+)=(?<val>\\d+)",
  "flags": "g",
  "match_count": 2,
  "matches": [
    { "match": "x=1",  "start": 0, "end": 3, "groups": ["x","1"],  "named_groups": { "key": "x", "val": "1" } },
    { "match": "y=22", "start": 4, "end": 8, "groups": ["y","22"], "named_groups": { "key": "y", "val": "22" } }
  ]
}

Allowed flags: g/i/m/s/u/y. max_matches caps output at 1000 by default. Zero-width matches advance safely (no infinite loop).

Configure

{ "mcpServers": { "regex": { "command": "npx", "args": ["-y", "@mukundakatta/regex-mcp"] } } }

License

MIT.

from github.com/MukundaKatta/regex-mcp

Installing Regex

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/MukundaKatta/regex-mcp

FAQ

Is Regex MCP free?

Yes, Regex MCP is free — one-click install via Unyly at no cost.

Does Regex need an API key?

No, Regex runs without API keys or environment variables.

Is Regex hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Regex in Claude Desktop, Claude Code or Cursor?

Open Regex on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Regex with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs