NeedYourHands MCP Server - AI agents hire and pay humans for real-world tasks via MCP
Project description
NeedYourHands MCP Server
MCP (Model Context Protocol) server that allows AI agents to interact with the NeedYourHands.com marketplace -- searching for, booking and managing human workers for real-world tasks.
Prerequisites
- Python 3.11+
- A running NeedYourHands backend API (default:
http://localhost:8000) - A valid API key obtained from the platform
Installation
From source
cd mcp-server
pip install -e .
Using uv
cd mcp-server
uv pip install -e .
Configuration
The server reads two environment variables:
| Variable | Default | Description |
|---|---|---|
NEEDYOURHANDS_API_URL |
http://localhost:8000 |
Base URL of the backend API |
NEEDYOURHANDS_API_KEY |
(empty) | API key for agent authentication |
Running
# Direct
needyourhands-mcp
# Or via Python
python -m needyourhands_mcp.server
Claude Desktop Configuration
Add the following to your Claude Desktop claude_desktop_config.json:
{
"mcpServers": {
"needyourhands": {
"command": "needyourhands-mcp",
"env": {
"NEEDYOURHANDS_API_URL": "https://api.needyourhands.com",
"NEEDYOURHANDS_API_KEY": "nyh_your_api_key_here"
}
}
}
}
Or if running from source with uv:
{
"mcpServers": {
"needyourhands": {
"command": "uv",
"args": ["run", "--directory", "/path/to/mcp-server", "needyourhands-mcp"],
"env": {
"NEEDYOURHANDS_API_URL": "https://api.needyourhands.com",
"NEEDYOURHANDS_API_KEY": "nyh_your_api_key_here"
}
}
}
}
Available Tools
search_humans
Search for available human workers filtered by skills, location, budget and urgency.
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
skills |
string[] |
Yes | - | Skills to search for |
location |
string |
Yes | - | City or address to search around |
radius_km |
integer |
No | 25 | Search radius in km (1-500) |
budget_max_eur |
number |
No | 100.0 | Max budget in EUR |
urgency |
string |
No | "normal" | "normal" or "urgent" |
Returns: List of matching workers with ratings, skills, city and availability.
book_human
Book a specific worker for a task. Creates a mission and sets up escrow payment.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
human_id |
string |
Yes | ID of the worker to book |
task_title |
string |
Yes | Title of the task |
task_description |
string |
Yes | Detailed task description |
location |
string |
Yes | Where the task is performed |
deadline |
string |
Yes | ISO 8601 deadline |
budget_eur |
number |
Yes | Budget in EUR |
Returns: Mission ID, status, estimated start time and worker name.
get_availability
Check a worker's availability for a specific date.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
human_id |
string |
Yes | ID of the worker |
date |
string |
Yes | ISO date (YYYY-MM-DD) |
time_range |
string |
No | Time range like "09:00-18:00" |
Returns: Whether the worker is available, time slots, and next available date.
submit_task
Submit a task to the marketplace without pre-selecting a worker. The platform matches it with the best available candidates.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
title |
string |
Yes | Title of the task |
description |
string |
Yes | Detailed description |
required_skills |
string[] |
Yes | Skills needed |
location |
string |
Yes | Where the task is performed |
budget_eur |
number |
Yes | Budget in EUR |
deadline |
string |
Yes | ISO 8601 deadline |
Returns: Task ID, number of matching workers, and status.
get_task_status
Get the current status of a mission including proofs, timeline and ETA.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
mission_id |
string |
Yes | ID of the mission |
Returns: Status, proofs, worker name, ETA and full event timeline.
rate_human
Rate a worker after a completed mission.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
mission_id |
string |
Yes | ID of the completed mission |
rating |
integer |
Yes | Rating 1-5 |
comment |
string |
No | Optional feedback |
Returns: Success status and the worker's new average rating.
Development
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/
License
Proprietary - NeedYourHands.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file needyourhands_mcp-0.1.0.tar.gz.
File metadata
- Download URL: needyourhands_mcp-0.1.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2a6f0db2c3550f15b446a199e8ae98c994d1db32708751378334db7946e617a
|
|
| MD5 |
360d20072795b63c50f92b41f9dbc01a
|
|
| BLAKE2b-256 |
f0619e6d287b89ae892d105b36fb65aadb3b5ab38363b40c5a42e13e48adda71
|
File details
Details for the file needyourhands_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: needyourhands_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19399b5af473b57b6d9d39da2994dca7df8359fe0cc87579850cd062447f6a24
|
|
| MD5 |
f453cf424641a88245094566794e212b
|
|
| BLAKE2b-256 |
d6f906aac9aae329586e544a5edbe0882721de678519ad0c9ce9c1ebcca31c03
|