GenPark Aho-Corasick Multi-Pattern Matcher
LocalAbout GenPark Aho-Corasick Multi-Pattern Matcher
GenPark Aho-Corasick Multi-Pattern Matcher is a Python implementation for simultaneous dictionary matching and content filtering in LLM prompts. It is intended for AI Agent workflows that need deterministic in-memory matching without external Python dependencies.
Key features
- 01Simultaneous multi-keyword matching
- 02LLM prompt content filtering
- 03Pure in-memory deterministic algorithm
- 04Python standard library only
Use cases
- 01Check prompts for multiple dictionary keywords
- 02Filter content in AI Agent workflows
MCP support
It runs as a native MCP server, making its matching capabilities available to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEGenPark Aho-Corasick Multi-Pattern Matcher
High-throughput Aho-Corasick automaton for simultaneous multi-keyword dictionary matching and content filtering in LLM prompts.
Features
- 100% Python Standard Library: Zero external pip dependencies. Completely self-contained and portable.
- Enterprise Grade: Designed for mission-critical AI Agent workflows and LLM tool calling.
- Dual MCP Protocol Compliance: Native Model Context Protocol (MCP) server implementation.
- Microsecond Latency: Pure in-memory deterministic algorithms.
Installation & Usage
As a Python Module
from client import *
Run MCP Server
python mcp_server.py
Community & Verification
- Organization: alphaparkinc
- Homepage: https://www.genpark.ai
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.