Skip to main content
Glama

SHAP MCP Server(shap-mcp)

CI PyPI version Python 3.11+ License: MIT

SHAP(SHapley Additive exPlanations)によるモデル解釈可能性をエージェントから呼び出し可能なツールとして公開する、軽量で焦点を絞った**Model Context Protocol(MCP)**サーバーです。

AIアシスタント(Claude Desktopなど)と人間のデータサイエンティストが、共有インメモリセッションを通じてシームレスに協力できるように設計されています。


主な機能

  • デュアル同時トランスポート: Claude Desktop用の標準stdioトランスポートと、Web GUIと生成された可視化を提供するポート8765上のStarlette HTTPトランスポート。

  • 統合インメモリセッション: Web GUIで分析を実行してClaudeで質問したり、Claudeに分析をトリガーさせて生成されたプロットをGUIギャラリーで即座に表示したりできます。

  • ユニバーサルモデルサポート:

    • tree: XGBoost、LightGBM、CatBoost、RandomForest、ExtraTrees用の正確なTreeExplainer。

    • linear: ロジスティック回帰、Ridge、Lasso用の高速な閉形式LinearExplainer。

    • deep: PyTorchニューラルネットワーク用のDeepExplainer。

    • kernel: 自動kmeansクラスタリングを備えたモデル非依存のKernelExplainer。

  • 出版品質の可視化: 6種類のプロットタイプ(summary、bar、waterfall、force、dependence、heatmap)を生成・保存し、クリック可能なブラウザリンクとローカルファイルリンクを事前にフォーマットして提供します。

  • URL&ファイル取り込み: ローカルパスまたは公開HTTP/HTTPS URLからモデルとCSVデータセットを取り込み、ストリーミングダウンロード、自動サイズ上限(SHAP_MCP_MAX_DOWNLOAD_MB)、一時ファイルのクリーンアップを備えています。

  • セキュリティ: HTTPエンドポイント向けにSHAP_MCP_API_KEYによるオプションのAPIキー認証。


Related MCP server: my-mcp-server2

インストール

# Standard installation
pip install shap-mcp

# Optional extra for PyTorch DeepExplainer support
pip install shap-mcp[deep]

Claude Desktopの設定

shap-mcpをclaude_desktop_config.jsonに追加します:

ユニバーサル推奨セットアップ(uvx経由)

{
  "mcpServers": {
    "shap-mcp": {
      "command": "uvx",
      "args": ["shap-mcp", "--no-ui"]
    }
  }
}

直接Pip / Pipxセットアップ

{
  "mcpServers": {
    "shap-mcp": {
      "command": "shap-mcp",
      "args": ["--no-ui"]
    }
  }
}

ツールリファレンス

ツール

目的

主な入力

load_model

.joblib/.pklモデルを読み込み、エクスプレイナーを設定

model_pathまたはmodel_url、model_type、background_path

run_analysis

データセット全体でSHAP値を計算

data_pathまたはdata_urlまたはインラインdata、sample_size

get_feature_importance

上位特徴量のグローバルランキング

top_n(デフォルト10)

explain_prediction

単一インスタンスのローカル帰属内訳

indexまたは任意のdataレコード

get_interaction

ペアワイズ特徴量交互作用の強さ(ツリーモデル)

feature_a、feature_b

get_plot

クリック可能なURL付きPNG可視化をレンダリング&保存

plot_type、index、feature_name、color_feature、top_n


ランタイム設定

すべてのランタイム設定は環境変数で管理されます:

変数

デフォルト

説明

SHAP_MCP_PORT

8765

HTTPサーバーポート(ビジー時は自動インクリメント、--portフラグで上書き)

SHAP_MCP_API_KEY

(未設定)

HTTP認証用のBearerトークン。未設定=localhostでは認証不要

SHAP_MCP_OUTPUT_DIR

./outputs/

生成されたプロットPNGを保存するルートディレクトリ

SHAP_MCP_MAX_DOWNLOAD_MB

500

URLベースのモデル/データセットダウンロードに許可される最大サイズ上限

SHAP_MCP_LOG_LEVEL

INFO

構造化JSONログレベル(DEBUG、INFO、WARNING、ERROR)


Web GUI

shap-mcpで直接起動すると、サーバーは自動的にhttp://localhost:8765/ui/でWeb GUIを開きます:

  • 設定フォーム: ローカルパスまたはURLを入力し、モデルアーキテクチャを選択して分析を実行。

  • リアルタイムバッジ: モデル読み込み状態、分析済み行数、アクティブなエクスプレイナータイプをライブ表示。

  • ダイナミックプロットギャラリー: ClaudeまたはGUIが可視化を生成すると、サムネイルが自動的に表示されます。

  • インスタンスエクスプレイナー: 個々の特徴量寄与度のインタラクティブなテーブル。


今後の機能とロードマップ

以下の機能が今後のリリースで計画されています:

  • save_analysis / load_analysis: 計算済みのSHAP値を.npzファイルにシリアライズし、再読み込み時の再計算をスキップしてチーム間で結果を共有。

  • 認証保護されたリモート取り込み: Hugging Faceトークン、プライベートS3/GCSバケット、presigned URLのサポート。

  • タブ型GUIとプログレッシブディスクロージャー: Web GUIをクリーンで焦点を絞ったタブに再設計し、分析の完了に応じて段階的にロックを解除。

  • インタラクティブな可視化: mpld3を介したmatplotlibチャートでのパン、ズーム、ツールチップホバーサポート。

  • プロット固有のガイド付きプロンプト: 6種類の可視化タイプそれぞれに合わせた専用のMCPプロンプト。

  • マルチテナントセッション分離: 共有マルチユーザーサーバーデプロイメント向けの接続分離されたセッション状態。

  • 追加モデルフォーマット: ONNXランタイム、MLflowモデル、Weights & Biasesモデルレジストリのネイティブサポート。

  • 公平性とバイアスの分解: サブグループごとの人口統計的パリティとスライスベースのSHAP分析。

  • MCP-UIインラインキャンバスとローカルドラッグ&ドロップ: MCP-UI / MCP Apps仕様によるチャット内キャンバスの直接レンダリングと、ローカルドラッグ&ドロップによるファイル取り込みで、外部ブラウザタブとクラウド添付の手間を排除。


ライセンス

MITライセンス。詳細はLICENSEを参照してください。

Available Tools

6 tools
explain_predictionC

Return SHAP breakdown for a single instance.

Parameters

index : int | None Row index in the analyzed dataset. data : dict[str, Any] | None Inline feature dictionary for explaining an arbitrary instance.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataNo
indexNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description states the tool returns a SHAP breakdown but does not specify the output format (e.g., list, table), any side effects, or error behavior. Since there are no annotations, the description alone fails to convey what the user can expect beyond a vague 'breakdown'. No information on whether the model is retrained or data is modified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise (one sentence) and well-structured, but it is so brief that it sacrifices necessary information. While there is no fluff, the extreme brevity reduces its utility; a slightly longer description with parameter clarification would be more balanced.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity, the description is still incomplete. It lacks any mention of when to use it relative to siblings, what parameters are required, or what the output looks like. The presence of sibling tools (get_feature_importance, get_interaction, etc.) makes contextual guidance essential, but none is provided.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The parameters 'index' and 'data' are not described at all in the description. The schema provides no annotations, and the description adds no explanation of what these parameters mean, their constraints, or how they interact. A user cannot know whether to provide an index, data, or both, or what format 'data' should take.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a clear verb 'Return' and specifies the resource 'SHAP breakdown for a single instance', distinguishing it from sibling tools like get_feature_importance or get_plot. However, it does not elaborate on what the breakdown contains (e.g., feature contributions), leaving some ambiguity for users unfamiliar with SHAP.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus the siblings, such as get_feature_importance or get_interaction. It does not mention any conditions, prerequisites, or typical scenarios, leaving the user to guess when this is the appropriate choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_feature_importanceA

Return global feature importance from stored SHAP values.

Parameters

top_n : int Number of top features to return (default: 10).

ParametersJSON Schema
NameRequiredDescriptionDefault
top_nNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the behavioral burden. It discloses that the tool reads 'stored SHAP values' and returns global importance, implying a read-only operation. It does not mention ordering, error behavior, or what happens if SHAP values are absent, but 'top_n' implies a ranked result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the core purpose. The parameter documentation is minimal and directly useful, with no filler or redundant restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only tool with one optional parameter and an output schema, the description is largely complete. It covers purpose, source, and parameter semantics. It could add explicit usage guidance relative to siblings, but that gap is minor given the clear purpose and available output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides only the default value for top_n, while the description explains its meaning: 'Number of top features to return'. This adds real semantic value beyond the schema, fully compensating for the 0% schema description coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Return') and a specific resource ('global feature importance from stored SHAP values'). The word 'global' distinguishes it from sibling tools like explain_prediction (local) and get_interaction, and the source ('stored SHAP values') clarifies it is a read of precomputed results.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool: when global feature importance from SHAP values is needed. However, it does not explicitly state when not to use it or name alternatives such as explain_prediction or get_interaction, leaving the routing decision to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_interactionB

Return SHAP interaction values between two features (Tree models only).

Parameters

feature_a : str Name of the first feature. feature_b : str Name of the second feature.

ParametersJSON Schema
NameRequiredDescriptionDefault
feature_aYes
feature_bYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral disclosure burden. It does add a key constraint ('Tree models only') and states that the tool returns SHAP interaction values, but it doesn't disclose prerequisites like having a loaded model, failure behavior for unsupported models, or the exact structure of the returned values.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core description is one short, front-loaded sentence that delivers the main idea. The parameter section is clear but partially redundant with the schema, which keeps it from being a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool appears to have an output schema, so little is needed about return values. However, the description is minimal for a tool with no annotations: it lacks preconditions, error behavior, and sibling distinctions. It is a borderline acceptable definition but could be much more helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but it only restates the obvious: feature_a is the first feature and feature_b is the second. It doesn't explain where these names come from, expected format, or any relationship to model features, leaving the agent with little additional meaning over the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Return' and identifies a distinct resource: SHAP interaction values between two features, with the important 'Tree models only' limitation. This purpose is clear and sufficiently differentiates it from sibling tools like get_feature_importance and explain_prediction, though it doesn't name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no explicit guidance on when to choose this tool over its siblings. 'Tree models only' is a precondition, not a usage selection criterion, and no alternatives or trade-offs are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_plotA

Generate a SHAP visualization, save it as a PNG file, and return file path and URL.

Parameters

plot_type : str One of 'summary', 'bar', 'waterfall', 'force', 'dependence', 'heatmap'. index : int | None Row index in dataset (required for waterfall and force). feature_name : str | None Feature name (required for dependence). top_n : int Max features to show (default: 10). color_feature : str | None Feature to color by for dependence plots. output_path : str | None Override default output directory path.

ParametersJSON Schema
NameRequiredDescriptionDefault
indexNo
top_nNo
plot_typeYes
output_pathNo
feature_nameNo
color_featureNoauto

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the burden. It discloses that the tool saves a PNG file and returns a file path and URL, which is useful. However, it doesn't mention side effects like file system writes, potential overwrites, or any permissions needed. It also doesn't describe the output schema beyond the return of path and URL, though an output schema exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear summary sentence followed by a parameter list. It's front-loaded with the core action and output. The parameter list is concise and informative, though it could be slightly more compact by merging some lines.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 6 parameters, an output schema, and no annotations, the description covers the essential usage details: plot types, conditional parameters, and output format. It doesn't mention error cases or edge conditions, but for a visualization tool, this is reasonably complete. The output schema likely covers return structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It does well by explaining each parameter's purpose, including conditional requirements (index for waterfall/force, feature_name for dependence) and defaults (top_n=10, color_feature='auto'). This adds significant value beyond the raw schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool generates a SHAP visualization, saves it as PNG, and returns file path and URL. It lists the plot types, which helps distinguish it from siblings like get_feature_importance or explain_prediction. However, it doesn't explicitly differentiate from get_interaction, which might also produce plots.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by listing required parameters for certain plot types (e.g., index for waterfall/force, feature_name for dependence), but it doesn't explicitly state when to use this tool versus alternatives like get_feature_importance or explain_prediction. No exclusions or alternative routing is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

load_modelA

Load a model file and instantiate the appropriate SHAP explainer.

Note: Prompt the user to provide local filesystem paths on their machine, public URLs, or upload via http://localhost:8765/ui/. Files attached directly in chat are stored in a cloud container (/mnt/user-data/) that local tools cannot reach.

Parameters

model_path : str | None Path to a local .joblib or .pkl model file. model_url : str | None Public URL to download a model file. model_type : str One of 'tree', 'linear', 'deep', 'kernel'. Default is 'tree'. background_path : str | None Path to background CSV dataset (optional for tree/kernel, required for deep).

ParametersJSON Schema
NameRequiredDescriptionDefault
model_urlNo
model_pathNo
model_typeNotree
background_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the weight. It discloses the operational constraint about cloud-container paths, which is a non-obvious behavioral detail. It also implies the tool is a prerequisite for other tools. It doesn't state whether it mutates state or returns the explainer, but the output schema exists, and the description is focused on prerequisites, which is beyond what schema conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-organized: a purpose sentence, a critical usage note, then parameter definitions. The warning about cloud paths is space-efficient and high-value. Slightly repetitive in noting upload methods, but overall concise and front-loaded with the most important behavioral caveat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter tool with zero schema descriptions and no annotations, the description covers the key decision points: which parameter to set, required vs optional, and the path accessibility warning. It doesn't describe return values, but an output schema exists, so that's not required. The description is sufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description explains each parameter's purpose and optionality (model_path vs model_url as alternatives, background_path required for deep, optional for tree/kernel). It adds meaningful semantics beyond raw schema types, which is essential given zero coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool loads a model file and instantiates a SHAP explainer, specifying the model types (tree, linear, deep, kernel) and the input sources (local path, URL, or upload). This distinguishes it from sibling tools that focus on analysis/explanation, not loading.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides explicit guidance on when to use this tool (before running analyses) and, crucially, what not to do: it warns that files attached in chat are stored in a cloud container that local tools cannot reach, so the user must provide accessible paths. It doesn't explicitly mention alternatives (sibling tools are analysis tools, not load alternatives), but the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

run_analysisB

Run SHAP explainer against a dataset.

Note: Ask the user for local file paths, public URLs (data_url), or use the Web GUI at http://localhost:8765/ui/. For small CSVs (< 500 rows), you may read the table from chat and pass the rows directly in data.

Parameters

data_path : str | None Path to a local CSV file. data_url : str | None Public URL to download a CSV dataset file. data : list[dict] | None Inline dataset passed as a JSON array. sample_size : int | None Override default auto-cap for dataset row sampling.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataNo
data_urlNo
data_pathNo
sample_sizeNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool runs a SHAP explainer, but does not mention whether it is read-only, whether it modifies state, whether a model must be loaded first, or what side effects occur. The sample_size parameter hints at auto-sampling, but the overall behavioral profile is opaque.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-organized with a clear purpose statement, a practical note, and a parameter list. Each section is necessary, particularly because the schema lacks parameter descriptions. It is not excessively verbose and is easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although an output schema exists, the description lacks important context. It does not mention whether a model must be loaded first (sibling load_model suggests so), what the default sampling behavior is, or how the tool behaves when conflicting data inputs are provided. These are critical for correct usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description's parameter block is essential. It clearly explains each parameter: data_path, data_url, data, and sample_size. The guidance about small CSVs and using data directly in chat adds practical semantics. However, it does not explain mutual exclusivity or precedence when multiple data sources are supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Run SHAP explainer against a dataset', which is a specific verb and resource. It clearly distinguishes this from sibling tools like get_feature_importance or explain_prediction, which have different purposes. The intent is immediately understandable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to choose this tool over sibling tools like explain_prediction or get_interaction. The note about sourcing data (local paths, URLs, inline data) is about how to provide input, not which tool to select. No alternatives or exclusions are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv0.1.0
    • First observedexplain_prediction
    • First observedget_feature_importance
    • First observedget_interaction
    • First observedget_plot
    • First observedload_model
    • First observedrun_analysis

TDQS

A3.5/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: model loading, SHAP computation, global importance, local explanation, interaction values, and plotting. There is no overlap or ambiguity in what each tool does, so an agent can reliably select the correct one for a given task.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with lowercase and underscores (load_model, run_analysis, get_feature_importance, etc.). The verbs vary but are semantically appropriate, and the naming style is uniform across the set, making the API predictable.

Tool Count5/5

Six tools provide a well-scoped surface for SHAP analysis. This is an appropriate size that covers the core workflow (load, analyze, query results, plot) without redundancy or unnecessary bloat. Each tool earns its place in the server.

Completeness5/5

The tool surface covers the full lifecycle of a SHAP analysis: loading a model, running the explainer, retrieving global and local explanations, getting interactions, and generating visualizations. There are no obvious gaps that would block an agent from completing typical analysis tasks.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server built with FastMCP that features dynamic tool loading and modular management via a dedicated tool directory. It supports both stdio and HTTP transport modes, enabling efficient development and deployment of custom MCP tools.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A robust, lightweight Model Context Protocol (MCP) server designed to empower your AI Agents with context-awareness, safe execution sandboxes, and dedicated thought logs.
    -