nexus_similarity_search_api_estimate_corpus_entropy_profile
ActiveTool of io.github.nexus-mcp-infra/similarity-search-api-sdk
Computes the aggregate entropy-calibrated alpha for a corpus without running a full search -- useful to inspect before committing to a large rank_items_by_nmi_cosine_fusion call. Returns a single aggregate corpus_entropy value, NOT a per-dimension breakdown -- the real logic only exposes the mean marginal entropy across dimensions, not H(X_d) per individual dimension. Do NOT use expecting per-dimension granularity. Requires a valid api_key (same as X-API-Key) and an x402 payment.
Parameters schema
{
"type": "object",
"title": "estimate_corpus_entropy_profileArguments",
"required": [
"corpus_vectors",
"api_key"
],
"properties": {
"n_bins": {
"type": "number",
"title": "N Bins",
"default": 16,
"maximum": 50,
"minimum": 3,
"description": "Number of histogram bins for entropy discretization. Must be between 3 and 50; should match the n_bins used in rank_items_by_nmi_cosine_fusion for the profile to be consistent."
},
"api_key": {
"type": "string",
"title": "Api Key",
"description": "API key required for this paid operation -- same secret configured as X-API-Key on the REST endpoints (SIMILARITY_API_KEY). Payment (x402) alone is not sufficient; both gates must pass."
},
"corpus_vectors": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"title": "Corpus Vectors",
"maxItems": 500000,
"minItems": 1,
"description": "List of dense numeric vectors for which to compute the aggregate entropy and calibrated alpha. Each inner array must be the same length. Maximum 500000 entries."
}
}
}Parent server
io.github.nexus-mcp-infra/similarity-search-api-sdk
https://github.com/nexus-mcp-infra/similarity-search-api-sdk
1/7 registries