regex-toolkit-api
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@regex-toolkit-apiExplain regex ^[a-z]+\d{2,4}$"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
regex-toolkit-api
⭐ Building in public from $0 MRR. Star if you want to follow the journey — lazymac-mcp (42 tools, one MCP install) · lazymac-k-mcp (Korean wedge) · lazymac-sdk (TS client) · api.lazy-mac.com · Pro $29/mo.
🚀 Want all 42 lazymac tools through ONE MCP install?
npx -y @lazymac/mcp· Pro $29/mo for unlimited calls.
Regex testing, explanation, and generation REST API + MCP server. No external APIs required.
Quick Start
npm install
npm start # REST API on http://localhost:4200
npm run mcp # MCP server (stdin/stdout)Related MCP server: ellmos-codecommander-mcp
REST API Endpoints
Method | Endpoint | Description |
GET |
| Health check / API info |
POST |
| Test regex against text (matches, groups, indices) |
POST |
| Replace using regex |
POST |
| Split text with regex |
POST |
| Validate regex syntax |
GET |
| List common regex patterns |
GET |
| Get specific pattern (email, url, phone, ipv4, etc.) |
POST |
| Explain regex in plain English |
POST |
| Escape special regex characters |
POST |
| Benchmark regex performance |
Examples
Test a regex
curl -X POST http://localhost:4200/api/v1/test \
-H 'Content-Type: application/json' \
-d '{"pattern": "(\\d+)", "text": "abc 123 def 456", "flags": "g"}'Explain a regex
curl -X POST http://localhost:4200/api/v1/explain \
-H 'Content-Type: application/json' \
-d '{"pattern": "^[a-z]+\\d{2,4}$", "flags": "i"}'Get a common pattern
curl http://localhost:4200/api/v1/patterns/emailCommon Patterns Library
email, url, phone, ipv4, ipv6, date_iso, date_us, credit_card, hex_color, uuid, mac_address, slug, semver, jwt, html_tag, username, strong_password
MCP Server
Add to your Claude Desktop config:
{
"mcpServers": {
"regex-toolkit": {
"command": "node",
"args": ["/path/to/regex-toolkit-api/src/mcp-server.js"]
}
}
}MCP Tools
regex_test— Test regex with full match detailsregex_replace— Regex replaceregex_split— Split by regexregex_validate— Validate syntaxregex_explain— Plain English explanationregex_escape— Escape special charactersregex_patterns— Common patterns libraryregex_benchmark— Performance benchmark
Docker
docker build -t regex-toolkit-api .
docker run -p 4200:4200 regex-toolkit-apiLicense
MIT
💡 Host your own stack? Get $200 DigitalOcean credit via lazymac referral link.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
MCP server for skill documentation, generated by doc2mcp.
MCP server to assist with JxBrowser development.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA basic educational MCP server that provides simple tools for mathematical calculations, text manipulation, and time retrieval. Designed for learning MCP implementation patterns and development purposes.-
- AlicenseAqualityCmaintenanceDeveloper-focused MCP server for code analysis and local engineering workflows. Provides tools for JSON repair, encoding fixes, import organization, format conversion, diff inspection, and regex testing.222893MIT
- AlicenseBqualityCmaintenanceMCP server that exposes Firegex — a CTF regex/proxy firewall — to LLM tooling like Claude Desktop or Claude Code.49MIT
- AlicenseAqualityBmaintenanceEnables searching the official MCP Registry for servers, inspecting details, and generating install commands directly from within an agent session.4MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lazymac2x/regex-toolkit-api'
If you have feedback or need assistance with the MCP directory API, please join our Discord server