EvalKit MCP Server
Enables testing AI safety classifier robustness against query decomposition, obfuscation, and multi-agent attacks. Provides tools for full evaluation pipelines, query previews, and status checks.
README
EvalKit — Classifier Robustness Evaluation Toolkit
Multi-technique evaluation toolkit for testing AI safety classifier robustness against query decomposition, obfuscation, and multi-agent orchestration attacks. MCP plugin for Claude Code.
Quick Start
uv sync # install everything
claude # MCP tools auto-loaded from .mcp.json
Architecture
User Query → SPLITTER → [Encoder → Wrapper → ApiClient] × N → MERGER → Report
Usage
In Claude Code (MCP)
| Tool | Purpose |
|---|---|
eval_classifier_robustness |
Full eval pipeline |
eval_decompose_query |
Preview query decomposition |
eval_obfuscation_evasion |
Test homoglyph substitution |
eval_status |
Check configuration |
Via CLI
python3 run.py decompose "query" 5 # decompose into sub-queries
python3 run.py eval "query" # full evaluation pipeline
python3 run.py obfuscate "text" # test obfuscation
Benchmark
python3 benchmark.py # dry run (no API key)
python3 benchmark.py --quick # single query smoke test
python3 benchmark.py --json report.json # save JSON results
python3 benchmark.py --html report.html # save HTML report
ANTHROPIC_API_KEY=sk-... python3 benchmark.py # live test
Configuration
| Parameter | Values | Default | Description |
|---|---|---|---|
obfuscation |
none, light, moderate, aggressive | moderate | Homoglyph replacement level |
framing |
fiction, study_guide, academic, documentation, translation, none | study_guide | Narrative framing strategy |
max_pieces |
1–20 | 10 | Max sub-query decompositions |
padding_tokens |
0–10000 | 5000 | Long-context padding per query |
multi_agent |
true, false | true | Multi-agent orchestration |
helper_enabled |
true, false | true | Helper model with filters removed |
Project Structure
evalkit/
├── evalkit/ # Core modules
│ ├── splitter.py # Query → sub-questions
│ ├── encoder.py # Unicode homoglyph engine
│ ├── wrapper.py # Narrative wrapping
│ ├── api_client.py # API client + model routing
│ ├── merger.py # Output stitching + metrics
│ ├── context_builder.py # Multi-turn conversation
│ ├── agent_router.py # Agent pack coordination
│ └── models.py # Data classes + enums
├── evalkit_server.py # MCP server (FastMCP)
├── run.py # CLI wrapper (no MCP needed)
├── benchmark.py # Test matrix runner
├── tests/ # Pytest test suite
├── docs/ # Documentation
├── .mcp.json # Claude Code auto-discovery
└── CLAUDE.md # Claude Code instructions
Research Techniques
See docs/TECHNIQUES.md for detailed documentation of each technique.
References
License
MIT — authorized security research and defense evaluation only.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.