We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nicholasglazer/gnosis-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
README.md•744 B
# Search Quality Eval Harness
Measures retrieval quality using query-answer pairs from real usage.
## Metrics
- **Precision@5**: What fraction of top-5 results are relevant?
- **MRR (Mean Reciprocal Rank)**: How high is the first relevant result?
- **Hit Rate@5**: Does at least one relevant doc appear in top 5?
## Running
```bash
pytest tests/eval/ -v # Run eval suite
pytest tests/eval/ -v --tb=short # With failure details
```
## Adding test cases
Edit `tests/eval/cases.json`. Each case needs:
```json
{
"query": "search query text",
"expected_paths": ["path/to/expected-doc.md"],
"category": null
}
```
The `expected_paths` list should contain file paths (or substrings) that a correct search should return.