Spaces:
Runtime error
title: Hieroglyph Mcp Server
emoji: π
colorFrom: gray
colorTo: yellow
sdk: gradio
sdk_version: 6.0.1
app_file: app.py
pinned: false
short_description: Detect and classify hieroglyphs to its Gardiner code
tags:
- building-mcp-track-creative
- mcp-server
π Egyptian Hieroglyph Detector (MCP Server)
Welcome to our submission for the βMCP Hackathon (Track 1: Building MCP) !
This project bridges the gap between ancient history and modern AI Agents. It provides an MCP Server that allows Ai Agents to "see" and identify Gardiner's Egyptian Hieroglyphs in any image.
π₯ Demo Video
π¨π IMPORTANT NOTICE FOR HACKATHON π€
We are participating in the Creative Track (building-mcp-track-creative) because this tool unlocks new cultural and educational capabilities for AI agents.
π Social Media Post:
[Link to your X/LinkedIn Post Here]
ποΈ Capabilities & Tools
When connected to Claude, this server exposes two powerful tools:
1. detect_hieroglyphs (The AI Eye)
- Purpose: Takes an image input and performs object detection for Egyptian Hieroglyphs.
- Output: Returns an annotated image with bounding boxes drawn around symbols, plus a JSON summary of symbol counts (e.g., "3x Owl", "1x Water").
- Model: Powered by a custom-trained YOLOv8 model specialized on the Gardiner Sign List.
2. upload_file (The Bridge)
- Purpose: Solves the "Local vs. Cloud" problem. Since the server runs in the cloud, it cannot see your
C:drive. - Function: Claude uses this tool to upload a specific local image to the secure temporary storage of the Space, returning a valid URL for the AI Eye to process.
π How to Use (Claude Desktop)
You can connect this tool to your own Claude Desktop right now!
Prerequisites
- Claude Desktop installed.
- Node.js & Python installed.
- Gradio MCP: Run
pip install "gradio[mcp]"β
Configuration
Add this to your %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (Mac):
{
"mcpServers": {
"hieroglyph-ai": {
"command": "npx.cmd",
"args": [
"mcp-remote",
"[https://youkii-xr-hieroglyph-mcp-server.hf.space/gradio_api/mcp/](https://youkii-xr-hieroglyph-mcp-server.hf.space/gradio_api/mcp/)",
"--transport",
"streamable-http"
]
},
"upload_helper": {
"command": "python",
"args": [
"-m",
"gradio",
"upload-mcp",
"[https://youkii-xr-hieroglyph-mcp-server.hf.space/](https://youkii-xr-hieroglyph-mcp-server.hf.space/)",
"C:\\Claude_Work"
]
}
}
}
(Note: Change βC:\\Claude_Workββ to the actual folder where you keep your images)
π§© Technical Architecture
- Framework: Gradio 5.9.0 (with native MCP support)
- Model: Ultralytics YOLOv8 (Private Weights)
- Storage: Hugging Face Hub (Private Repo for Model, Public Space for Inference)
- Protocol: Model Context Protocol (MCP) via SSE (Server-Sent Events)
π₯ Team
- [youkii-xr] β Ai Engineer, did the Ai model part
- [mariam-essam] β XR Developer, did the MCP and gradio part
Built with β€οΈ for the Hugging Face MCP Hackathon 2025