hf-dataset-mcp
Verified Safeby cfahlgren1
Overview
Access and query Hugging Face datasets programmatically for AI and machine learning workflows.
Installation
npx @cfahlgren1/hf-dataset-mcpEnvironment Variables
- HF_TOKEN
- HUGGINGFACE_HUB_TOKEN
- HF_DATASETS_SERVER
Security Notes
The server acts as a proxy to the Hugging Face Hub and Dataset Viewer APIs. It uses environment variables (`HF_TOKEN`) for authentication, which is a secure practice. Input validation is performed using Zod schemas for all tool arguments. There are no direct usages of `eval` or `child_process.exec` (or similar dangerous functions) in the provided source code that would indicate arbitrary code execution vulnerabilities. The 'SQL-like' WHERE conditions for filtering are passed to an upstream Hugging Face API, relying on that service for secure interpretation rather than executing SQL directly within this server.
Similar Servers
hf-mcp-server
The Hugging Face MCP Server acts as a universal adapter, allowing various LLM clients (like Claude, Gemini, VSCode, Cursor) to interact with the Hugging Face Hub, Gradio applications, and other Hugging Face services through a standardized Model Context Protocol (MCP) interface.
academia_mcp
An MCP server providing tools for searching, fetching, analyzing, and reporting on scientific papers and datasets, often powered by LLMs.
datagouv-mcp
An MCP server enabling AI chatbots to search, explore, and analyze datasets from data.gouv.fr, the French national Open Data platform.
data-commons-search
Provides a natural language search interface over open-access scientific datasets and tools, assisted by a Large Language Model (LLM) through the Model Context Protocol (MCP).