The StaticFrame Model Context Protocol (MCP) server provides AI assistants with access to the StaticFrame API documentation, enabling intelligent code completion and assistance. The MCP server is available at:
https://static-frame.dev/api/mcpSearch StaticFrame API signatures by method name or pattern.
query (string, required): The search query (method name, class name, or pattern)fullSigSearch (boolean, optional): Include parameter names in search (default: false)reSearch (boolean, optional): Use regular expression matching (default: false){
"name": "search",
"arguments": {
"query": "Frame.from_dict"
}
}{
"count": 4,
"signatures": [
"Frame.from_dict()",
"Frame.from_dict_fields()",
"Frame.from_dict_records()",
"Frame.from_dict_records_items()"
]
}Get documentation for a StaticFrame API signature.
sig (string, required): The signature to get documentation for (e.g., 'Frame.from_dict()'){
"name": "get_doc",
"arguments": {
"sig": "Frame.from_dict()"
}
}Create a Frame from a dictionary (or any object that has an items() method) where keys are column labels and values are columns values (either sequence types or Series). Args: mapping: a dictionary or similar mapping interface. index: fill_value: dtypes: Optionally provide an iterable of dtypes, equal in length to the length of each row, or a mapping by column name (where overspecied labels is not an error). If a dtype is given as None, element-wise type determination will be used. name: A hashable object to label the container. index_constructor: columns_constructor: consolidate_blocks: Optionally consolidate adjacent same-typed columns into contiguous arrays.Get code example for a StaticFrame API signature.
sig (string, required): The signature to get example for (e.g., 'Frame.from_dict()'){
"name": "get_example",
"arguments": {
"sig": "Frame.from_dict()"
}
}>>> import static_frame as sf
>>> sf.Frame.from_dict(dict(a=(1,2), b=(3,4)))
<Frame>
<Index> a b <<U1>
<Index>
0 1 3
1 2 4
<int64> <int64> <int64>StaticFrame site v2.0.2. Report issues or feature requests at the static-frame-www GitHub repository.