Compares exact and approximate membership filters through shared MCP tools for accuracy, memory, and query behavior.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Filter MCP Server.
The chohyerinn/filter-mcp-server MCP server provides several independently selectable data-structure implementations behind a shared MCP interface. It includes an exact hash-set baseline plus approximate filters: Bloom, Counting Bloom, Cuckoo, and a simplified SuRF implementation.
The project is intended for comparing behavior under the same workload. Its example scenario is keyword dictionary management, including autocomplete, keyword lookup, blocked-word checks, and dictionary membership tests. The comparison considers membership accuracy, false positives, estimated memory use, local query latency, mutation support, and prefix or range queries.
The SuRF implementation is explicitly simplified and educational. The repository describes the project as an experimentation and comparison tool, not as a production optimization package.
An MCP client sends a tool request to the selected server. The MCP layer exposes a common ADT-style interface, a registry chooses the filter implementation, and the selected class processes the request before returning the result.
Available operations are:
build(items) to initialize a filter from a datasetinsert(x) to add a keycontains(x) to test membershipdelete(x) to remove a key when supportedrange_query(lo, hi) for range lookups where supportedprefix_query(prefix) for prefix lookups where supportedmemory_usage() for estimated memory consumptionfalse_positive_rate() for false-positive measurementThe structures do not provide identical behavior. Bloom filters support approximate membership but not deletion, while Counting Bloom and Cuckoo filters support deletion. The simplified SuRF supports prefix and range queries but not deletion. The exact-set baseline avoids false positives and supports the full query and mutation behavior described by the project.
The repository provides separate Python entry points for each implementation. Claude Desktop can be configured with one or more MCP servers using these scripts:
Run the benchmark from the repository with PYTHONPATH=src python -m membership_filters.benchmark. The test suite can be run with PYTHONPATH=src python -m unittest discover -s tests. PowerShell equivalents are included in the README.
The chohyerinn/filter-mcp-server MCP server keeps the tool names consistent across implementations, allowing the same dataset and queries to be sent to different structures. This supports side-by-side experiments with approximate membership, deletion behavior, prefix and range support, estimated memory, and false-positive measurements.
Benchmark results use fixed synthetic workloads and absent-query probes. Reported values include estimated memory from memory_usage(), measured false-positive rates from false_positive_rate(), and average local contains() latency. The repository distinguishes these measured benchmark outputs from its qualitative structure comparison.
Approximate filters trade reduced memory use for possible false positives or restricted operations. The README does not present the qualitative comparison table as a measured benchmark result. The simplified SuRF server should not be treated as a complete LOUDS-based production SuRF implementation.
The chohyerinn/filter-mcp-server MCP server is therefore best suited to controlled comparison, teaching, and local experimentation. Choose the exact-set server when false positives are unacceptable, and select an approximate implementation only when its operation and accuracy trade-offs fit the workload.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/chohyerinn-filter-mcp-server)<a href="https://allmcps.com/mcp/chohyerinn-filter-mcp-server"><img src="https://allmcps.com/api/badge/chohyerinn-filter-mcp-server?style=directory" alt="Filter MCP Server on AllMCPs" /></a>