Browse and analyze Hugging Face datasets with features like search, filtering, statistics, and data export
Documentation
Dataset Viewer MCP Server
An MCP server for interacting with the Hugging Face Dataset Viewer API, providing capabilities to browse and analyze datasets hosted on the Hugging Face Hub.
Features# Resources
Uses dataset:// URI scheme for accessing Hugging Face datasets
Supports dataset configurations and splits
Provides paginated access to dataset contents
Handles authentication for private datasets
Supports searching and filtering dataset contents
Provides dataset statistics and analysis
Tools
The server provides the following tools:
validate - Check if a dataset exists and is accessible
git clone https://github.com/privetin/dataset-viewer.git
cd dataset-viewer
Create a virtual environment and install:
# Create virtual environment
uv venv
# Activate virtual environment
# On Unix: source .venv/bin/activate
# On Windows: .venv\Scripts\activate
# Install in development mode
uv add -e .
Configuration# Environment Variables
HUGGINGFACE_TOKEN: Your Hugging Face API token for accessing private datasets
Claude Desktop Integration
Add the following to your Claude Desktop config file:
On Windows: %APPDATA%\Claude\claude_desktop_config.json
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json