PatzEdi/MCPGex
If you are the rightful owner of MCPGex and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCPGex is an MCP server designed to assist in the development, testing, and refinement of regex patterns using LLMs.
MCPGex is a specialized MCP server that facilitates the creation and validation of regex patterns by leveraging the capabilities of large language models (LLMs). It provides a structured approach to regex development by allowing users to define expected outcomes and iteratively test patterns against a variety of test cases. This server is particularly useful for developers and data scientists who frequently work with text data and require precise pattern matching. By automating the testing process, MCPGex reduces the time and effort needed to develop robust regex patterns, ensuring they meet all specified requirements. The server is still in its early stages, but it offers a promising solution for regex pattern development, providing tools for adding test cases, testing patterns, and refining them until they meet all criteria. MCPGex is open source and can be easily integrated into various platforms, making it a versatile tool for regex development.
Features
- Automated regex testing and validation
- Iterative pattern refinement
- Comprehensive test case management
- Integration with various platforms
- Open source and customizable
Usages
usage with claude desktop
{ "mcpServers": { "mcpgex": { "command": "python3", "args": ["-m", "mcpgex"] } } }
Tools
add_test_case
Add a new test case with an input string and expected match.
test_regex
Test a regex pattern against all current test cases.
get_test_cases
View all currently defined test cases.
clear_test_cases
Remove all test cases to start fresh.