This repository provides an MCP server that interacts with the Hugging Face Dataset Viewer API, enabling users to browse, analyze, search, and access datasets hosted on the Hugging Face Hub.
This MCP server facilitates interaction with the Hugging Face Dataset Viewer API, enabling users to browse and analyze datasets hosted on the Hugging Face Hub. It uses the dataset://
URI scheme for accessing datasets, supporting configurations, splits, and paginated access. Authentication is handled for private datasets.
dataset://
URIs.The server offers tools like:
Requires Python 3.12+ and uv. Clone the repository, create a virtual environment, activate it, and install in development mode using uv add -e .
.
Set the HUGGINGFACE_TOKEN
environment variable for private dataset access. Integrate with Claude Desktop by adding a configuration block to the claude_desktop_config.json
file.
Examples are provided for validating datasets, getting information, searching, filtering, and retrieving statistics.
privetin/dataset-viewer
January 2, 2025
March 25, 2025
Python