scikitplot.mcp#
Composable documentation retrieval for Model Context Protocol servers.
The default import surface remains independent of the MCP SDK and optional
corpus/vector dependencies. Call create_server only when the stable mcp>=2,<3
server dependency is installed. No models, indexes, files, or network connections are
opened at import time.
User guide. See the Model Context Protocol (MCP) section for further details.
MCP: Model Context Protocol#
User guide. See the Model Context Protocol (MCP) section for further details.
Class inheritance

|
Structural contract every retrieval backend must satisfy. |
|
One retrieved passage with the metadata needed to cite it. |
|
A compact BM25 implementation suitable for demos and small corpora. |
|
Lexical retriever (FTS/BM25) leg backed by a full-text search seam. |
|
Docs dense retriever backed by an embedder + a vector index + a document lookup. |
|
Fuse several retrievers into one via Reciprocal Rank Fusion. |
|
Format retrieval results as an MCP |
|
Return a tiny corpus that explains the sample's own mechanism. |
|
Lazily import and create the MCP SDK v2 server. |
|
Fuse weighted ranked lists into a single |