Back to Home
cfahlgren1 icon

hf-dataset-mcp

Verified Safe

by cfahlgren1

Overview

Access and query Hugging Face datasets programmatically for AI and machine learning workflows.

Installation

Run Command
npx @cfahlgren1/hf-dataset-mcp

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens5000
Stars0
Forks0
Last Update2026-01-19

Tags

Hugging FaceDatasetsAPIMLData Access