データセットビューア MCP サーバー
Hugging Face Dataset Viewer APIと対話するための MCP サーバー。Hugging Face Hub でホストされているデータセットを参照および分析する機能を提供します。
特徴
リソース
Hugging Faceデータセットにアクセスするために
dataset://
URIスキームを使用しますデータセットの構成と分割をサポート
データセットの内容へのページ区切りのアクセスを提供します
プライベートデータセットの認証を処理する
データセットの内容の検索とフィルタリングをサポート
データセットの統計と分析を提供します
ツール
サーバーは次のツールを提供します。
検証する
データセットが存在し、アクセス可能かどうかを確認する
パラメータ:
dataset
: データセット識別子 (例: 'stanfordnlp/imdb')auth_token
(オプション): プライベートデータセットの場合
情報を取得する
データセットの��細情報を取得する
パラメータ:
dataset
: データセット識別子auth_token
(オプション): プライベートデータセットの場合
行を取得する
データセットのページ分割されたコンテンツを取得する
パラメータ:
dataset
: データセット識別子config
: 設定名split
: 名前を分割page
(オプション): ページ番号 (0 から始まる)auth_token
(オプション): プライベートデータセットの場合
最初の行を取得する
データセット分割から最初の行を取得する
パラメータ:
dataset
: データセット識別子config
: 設定名split
: 名前を分割auth_token
(オプション): プライベートデータセットの場合
統計情報を取得する
データセットの分割に関する統計情報を取得する
パラメータ:
dataset
: データセット識別子config
: 設定名split
: 名前を分割auth_token
(オプション): プライベートデータセットの場合
検索データセット
データセット内のテキストを検索する
パラメータ:
dataset
: データセット識別子config
: 設定名split
: 名前を分割query
: 検索するテキストauth_token
(オプション): プライベートデータセットの場合
フィルター
SQLのような条件を使用して行をフィルタリングする
パラメータ:
dataset
: データセット識別子config
: 設定名split
: 名前を分割where
: SQL WHERE句(例:"score > 0.5")orderby
(オプション): SQL ORDER BY句page
(オプション): ページ番号 (0 から始まる)auth_token
(オプション): プライベートデータセットの場合
get_parquet
データセット全体をParquet形式でダウンロードする
パラメータ:
dataset
: データセット識別子auth_token
(オプション): プライベートデータセットの場合
インストール
前提条件
Python 3.12以上
uv - 高速な Python パッケージインストーラーとリゾルバー
設定
リポジトリをクローンします。
仮想環境を作成してインストールします。
構成
環境変数
HUGGINGFACE_TOKEN
: プライベートデータセットにアクセスするためのHugging Face APIトークン
クロードデスクトップ統合
Claude Desktop 構成ファイルに次の内容を追加します。
Windows の場合: %APPDATA%\Claude\claude_desktop_config.json
MacOSの場合: ~/Library/Application Support/Claude/claude_desktop_config.json
ライセンス
MITライセンス - 詳細はライセンスを参照
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Hugging Face Dataset Viewer API とのやり取りを可能にし、ユーザーは Hugging Face Hub でホストされているデータセットを参照、検索、フィルタリング、分析できるようになります。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityUse HuggingFace Spaces directly from Claude. Use Open Source Image Generation, Chat, Vision tasks and more. Supports Image, Audio and text uploads/downloads.Last updated -3123362MIT License
- -securityAlicense-qualityAn unofficial MCP server that provides semantic search capabilities for Hugging Face models and datasets, enabling Claude and other MCP-compatible clients to search, discover, and explore the Hugging Face ecosystem using natural language queries.Last updated -17MIT License
- -securityAlicense-qualityAn MCP server that provides Hugging Face Hub API and Search endpoints through multiple transport protocols (STDIO, SSE, StreamableHTTP, and StreamableHTTPJson), enabling integration with AI model capabilities.Last updated -101MIT License
- AsecurityAlicenseAqualityProvides tools to interact with the Dash documentation browser API, allowing users to list installed docsets, search across documentation, and enable full-text search.Last updated -346MIT License