HuggingMCP

ProCreations-Official/HuggingMCP

3.3

If you are the rightful owner of HuggingMCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

HuggingMCP is an advanced Model Context Protocol server designed for comprehensive Hugging Face Hub operations.

HuggingMCP is a powerful and versatile Model Context Protocol (MCP) server tailored for Hugging Face Hub operations. It offers a wide array of features and tools to streamline machine learning workflows, enhance model evaluation, and manage datasets effectively. With over 18 specialized commands, HuggingMCP provides robust error handling, backward compatibility, and advanced analytics capabilities. It supports automated license management, community interactions, and complete control over Hugging Face Spaces. The server is designed to optimize command structures, facilitate debugging, and ensure safe execution of operations. HuggingMCP is ideal for developers and researchers looking to leverage the full potential of the Hugging Face ecosystem, offering tools for model testing, inference, and workflow automation. Its comprehensive feature set makes it a valuable asset for managing repositories, performing batch operations, and gaining insights into trending models and datasets.

Features

  • Optimized Command Structure: 18+ specialized commands covering all aspects of ML workflows.
  • Enhanced Debugging: Comprehensive stderr output and logging for troubleshooting.
  • Robust Error Handling: Safe execution wrappers with detailed error reporting and helpful guidance.
  • Model Evaluation & Testing: Comprehensive model analysis, validation, and comparison tools.
  • Dataset Processing: Advanced dataset analysis, validation, and management.

Usages

usage with claude desktop

{
  "mcpServers": {
    "huggingmcp": {
      "command": "python3",
      "args": ["/Users/sshpro/Documents/hugmcp.py"],
      "env": {
        "HF_TOKEN": "your_hugging_face_token_here",
        "HF_ADMIN_MODE": "true",
        "HF_READ_ONLY": "false",
        "HF_WRITE_ONLY": "false",
        "HF_MAX_FILE_SIZE": "100000000"
      }
    }
  }
}

Tools

  1. hf_system_info

    Get comprehensive system information, configuration, and test connectivity.

  2. hf_repository_manager

    Comprehensive repository management with actions like create, delete, and info.

  3. hf_file_operations

    Enhanced file operations with advanced capabilities like read, write, edit, and delete.

  4. hf_search_hub

    Search Hugging Face Hub for models, datasets, or spaces.

  5. hf_collections

    Manage Hugging Face Collections with actions like create and add_item.