Access the Hugging Face Dataset Viewer API to query, explore, search, and analyze machine learning datasets from the Hugging Face Hub.
MCP server providing access to the Hugging Face Dataset Viewer API. Query datasets, explore data, search content, and analyze statistics from the Hugging Face Hub's extensive collection of machine learning datasets.
get_dataset_splits
- Dataset splits informationget_dataset_info
- Dataset metadata and featuresget_dataset_first_rows
- Preview first 100 rowsget_dataset_rows
- Paginated data accesssearch_dataset
- Full-text search within datasetsget_dataset_size
- Dataset size informationget_dataset_statistics
- Statistical analysisfilter_dataset
- SQL-like data filteringcheck_dataset_validity
- Dataset validationget_dataset_parquet
- Parquet file informationget_dataset_opt_in_out_urls
- Opt-in/out URLsget_dataset_presidio_entities
- PII entity detectionAdd to your Claude Desktop claude_desktop_config.json
:
{
"mcpServers": {
"huggingface-mcp": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--name", "huggingface-mcp-claude",
"huggingface-mcp:latest"
]
}
}
}
make docker-build
make install # Install dependencies
make test # Run tests (38 tests)
make example # Test all tools
make run # Start server directly
make docker-build # Build image
make docker-run # Run container
make docker-stop # Stop container
Implements all GET endpoints from the Hugging Face Dataset Viewer API:
Endpoint | Tool | Description |
---|---|---|
/splits | get_dataset_splits | Dataset splits information |
/info | get_dataset_info | Dataset metadata and features |
/first-rows | get_dataset_first_rows | Preview first 100 rows |
/rows | get_dataset_rows | Paginated data access |
/search | search_dataset | Full-text search within datasets |
/size | get_dataset_size | Dataset size information |
/statistics | get_dataset_statistics | Statistical analysis |
/filter | filter_dataset | SQL-like data filtering |
/is-valid | check_dataset_validity | Dataset validation |
/parquet | get_dataset_parquet | Parquet file information |
/opt-in-out-urls | get_dataset_opt_in_out_urls | Opt-in/out URLs |
/presidio-entities | get_dataset_presidio_entities | PII entity detection |
Built with FastMCP following all development best practices.
Copy the example environment file and configure as needed:
cp .env.example .env
# Edit .env with your configuration
make run
make test
make example
make docker-build
make docker-run
docker-compose up --build
TODO: Add development guidelines
TODO: Add API documentation
TODO: Add contributing guidelines
TODO: Add license information
Manage ArgoCD applications and resources using natural language through its API integration.
Provides cloud migration services, including asset usage analysis, technology stack evaluation, and migration planning.
Access Axiom logs through an MCP server. Requires an Axiom API token.
Manage Cloudflare DNS records for your domains.
Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform.
Automate Akamai resource actions using a conversational AI client. Requires Akamai API credentials.
Official Hostinger API MCP server for services managment.
Manage Azure Cloud PCs using the Microsoft Graph API.
Interact with Stripe API
Analyze CDK projects to identify AWS services used and get pricing information from AWS pricing webpages and API.