Paste code + tests, get a strong/weak verdict with killed/survived mutants. Free API + MCP.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Check the TestLens API is up. Takes no arguments.
This tool takes no arguments.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Check the TestLens API is up. Takes no arguments.
No arguments.
{
"type": "object",
"properties": {}
}Mutation-test Python code: submit the module code and unittest test cases; TestLens generates small mutants (flipped comparisons, swapped operators, inverted booleans), runs the tests against each and reports the mutation score plus every SURVIVOR - behaviour the tests do not check. Free, no key.
| Argument | Type | Description |
|---|---|---|
| code* | string | Python module (saved as solution.py) |
| tests* | string | unittest test cases importing solution |
{
"type": "object",
"required": [
"code",
"tests"
],
"properties": {
"code": {
"type": "string",
"description": "Python module (saved as solution.py)"
},
"tests": {
"type": "string",
"description": "unittest test cases importing solution"
}
}
}