Sponsored by Deepsite.site

Humanrail

Created By
Erik Anderson2 days ago
Route tasks requiring human judgment to a vetted worker pool from any AI agent. Content moderation, refund decisions, data verification, quality assessments — when AI hits its limit, HumanRail routes to humans, verifies results, and pays workers via Lightning Network. 7 tools: create_task, get_task, wait_for_task, cancel_task, list_tasks, get_usage, health_check.
Overview

HumanRail MCP Server

Route tasks requiring human judgment to a vetted worker pool — directly from any AI agent.

When your AI agent hits something it can't handle — content moderation, refund decisions, subjective quality assessments, data verification — HumanRail routes it to a human worker, verifies the result, pays the worker via Lightning Network, and returns structured output.

Think "Stripe for human judgment."

Quick Start

Install

pip install humanrail-mcp-server

Or run directly:

uvx humanrail-mcp-server

Configure

Add to your Claude Code config (~/.claude.json):

{
  "mcpServers": {
    "humanrail": {
      "command": "uvx",
      "args": ["humanrail-mcp-server"],
      "env": {
        "HUMANRAIL_API_KEY": "ek_live_your_key_here"
      }
    }
  }
}

Or for Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "humanrail": {
      "command": "uvx",
      "args": ["humanrail-mcp-server"],
      "env": {
        "HUMANRAIL_API_KEY": "ek_live_your_key_here"
      }
    }
  }
}

Get an API Key

Sign up at humanrail.dev to get your API key.

Available Tools

ToolDescription
create_taskRoute a task to a human worker for review/judgment
get_taskCheck the status and result of a task
wait_for_taskPoll until a task completes (blocking)
cancel_taskCancel a pending task
list_tasksList tasks with filters (status, type, date range)
get_usageView usage stats and billing summary
health_checkCheck if the HumanRail API is reachable

Example Usage

Once connected, Claude can use HumanRail naturally:

User: "Review this customer's refund request — order #12345, they say the item arrived damaged."

Claude: I'll route this to a human reviewer for a refund eligibility decision. (calls create_task with task_type="refund_eligibility")

The human reviewer has verified: Refund approved. The item shows visible damage in the photos and the customer's account is in good standing.

Task Types

You can create any task type. Common examples:

  • content_moderation — Is this content appropriate?
  • refund_eligibility — Should we approve this refund?
  • data_verification — Is this information accurate?
  • quality_assessment — Rate this output 1-10
  • document_review — Extract/verify information from a document
  • sentiment_analysis — What's the tone/intent of this message?

Output Schema

Define exactly what you need back using JSON Schema:

# Boolean decision
{"type": "object", "required": ["approved"], "properties": {"approved": {"type": "boolean"}}}

# Rating with explanation
{"type": "object", "required": ["score", "reason"],
 "properties": {"score": {"type": "integer", "minimum": 1, "maximum": 10},
                "reason": {"type": "string"}}}

Environment Variables

VariableRequiredDefaultDescription
HUMANRAIL_API_KEYYesYour API key (ek_live_... or ek_test_...)
HUMANRAIL_BASE_URLNohttps://api.humanrail.dev/v1API base URL

How It Works

AI Agent → create_task() → HumanRail API → Worker Pool
AI Agent ← get_task()  ← Verified Result ← Verification Pipeline
  1. Create: Agent sends task with context and output schema
  2. Route: HumanRail's routing engine assigns the best-matched worker
  3. Execute: Worker reviews the context and submits their judgment
  4. Verify: 6-stage verification pipeline validates the result
  5. Pay: Worker is paid via Lightning Network (instant)
  6. Return: Verified result is available via get_task or wait_for_task

Pricing

Pay per task. No subscriptions. Workers are paid from your task budget.

  • Low risk: $0.10–$0.50 per task
  • Medium risk: $0.25–$1.00 per task
  • High/Critical: $1.00–$5.00 per task

Pricing depends on task complexity, SLA requirements, and risk tier.

License

MIT — see LICENSE.

Server Config

{
  "mcpServers": {
    "humanrail": {
      "command": "uvx",
      "args": [
        "humanrail-mcp-server"
      ],
      "env": {
        "HUMANRAIL_API_KEY": "your-api-key"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Amap Maps高德地图官方 MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Tavily Mcp
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
ChatWiseThe second fastest AI chatbot™
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。