Huggingface MCP Server

MCP server providing access to the [Hugging Face Dataset Viewer API](https://huggingface.co/docs/dataset-viewer). Query datasets, explore data

Local serverstdioPython

What is the Huggingface MCP Server?

Huggingface MCP connects Huggingface MCP to AI assistants that speak the Model Context Protocol. 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.

What Huggingface MCP does

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.

Key capabilities

  • 12 MCP Tools — covering all API endpoints:
  • get_dataset_splits - Dataset splits information
  • get_dataset_info - Dataset metadata and features
  • get_dataset_first_rows - Preview first 100 rows
  • get_dataset_rows - Paginated data access
  • search_dataset - Full-text search within datasets
  • get_dataset_size - Dataset size information
  • get_dataset_statistics - Statistical analysis

Requirements

  • Python 3.12+ - uv

Practical notes

  • Maintained by Talos-Data-Consulting, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Huggingface MCP Server

{
  "mcpServers": {
    "huggingface-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "--name",
        "huggingface-mcp-claude",
        "huggingface-mcp:latest"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Python 3.12+ - uv

Example prompts to try

  • “Use Huggingface MCP to Endpoint.”
  • “Use Huggingface MCP to Prerequisites.”
  • “Use Huggingface MCP to Setup.”

Frequently asked questions

MCP server providing access to the [Hugging Face Dataset Viewer API](https://huggingface.co/docs/dataset-viewer). Query datasets, explore data, search content, and Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.