Developer Tools

Regex Tester MCP Server

Chat with AI and run tools instantly — no API key or third-party login needed.

Test and execute regular expressions against text. Find matches, extract groups, and perform replacements. Supports all standard regex flags. Pure computation — no external calls.

Managed
2 tools
Agent guide included

No API key or third-party login needed. Chat with AI and run tools instantly.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for Regex Tester — workflow patterns, data models, and gotchas for your AI agent.

Regex Tester

Run Python re-style regular expressions on arbitrary text entirely on-platform: compile with optional flags, see whether and where a pattern matches, inspect capturing and named groups, enumerate every occurrence with spans, and optionally apply a replacement across the full string.

Capabilities

  • Single-match modes: Try a pattern at the beginning of the string, require the pattern to cover the entire string, or locate the first match anywhere in the text. The response states clearly whether there was a match and returns the matched substring, start and end indices, every capturing group (including empty or non-participating groups as null in the list), and named group values as a dictionary.
  • Find every occurrence: Walk the whole input in order, returning up to a configurable number of match records while still reporting the true total count of matches in the input. Each record includes the matched text, span, groups, and named groups—useful for parsing, tokenizing, or validating structured text.
  • Replacement preview: Optionally supply a replacement template (including backreferences such as \1) to receive the full string after substitution, alongside the match listing, without calling any external service.
  • Flags: Enable case-insensitive matching, multiline ^/$ behavior, dot-all mode so . includes newlines, and verbose patterns with inline comments and ignored whitespace—using either long names or the usual single-letter aliases.

Gotchas

  • Input size and time limits: Very large inputs and pathological patterns can be slow; oversized text is rejected and long-running evaluation times out to keep the hub responsive.
  • Python regex dialect: Patterns follow the Python re module (similar to PCRE in many cases but not identical). Lookbehind and other features match Python’s rules.
  • Replacement: When using substitution, the replacement string follows re.sub semantics (including group references and \\ escaping).

Tools in this Server (2)

Regex Tester Find All

Find all occurrences of a regex pattern in text. Returns all matches with positions, groups, and an optional replacement result.

Regex Tester Match

Test a regular expression against a string. Returns whether the pattern matches, all match groups, named groups, and match positions. Supports common ...

Frequently Asked Questions

What is the Regex Tester MCP server?

Test and execute regular expressions against text. Find matches, extract groups, and perform replacements. Supports all standard regex flags. Pure computation — no external calls. It provides 2 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect Regex Tester to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/regex-tester. Authentication is handled automatically.

How many tools does Regex Tester provide?

Regex Tester provides 2 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does Regex Tester require?

Regex Tester uses open data APIs — no authentication required.

Setup Instructions

Connect Regex Tester to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/regex-tester

One-click install:

The link prefills the Add custom connector dialog — you still review the values and click Add, then Connect to complete OAuth.

Or add manually

  1. Open claude.ai → Settings → Connectors.
  2. Click the + button and choose Add custom connector.
  3. Set Name to Regex Tester and paste the MCP URL into Remote MCP server URL.
  4. Click Add. Regex Tester will appear under Not connected — select it and click Connect to complete OAuth.
Name: Regex Tester
Remote MCP server URL: https://mcp.mcpbundles.com/bundle/regex-tester
Authentication: OAuth

Custom connectors at claude.ai require a paid Claude plan (Pro, Max, Team, or Enterprise).

Try Regex Tester now

No API key or third-party login required. Chat with AI and run tools instantly.

Regex Tester MCP Server & Skill — 2 Tools