50heads
com.50headsv2026.1006.1更新于 Oct 6, 2026
Ask fifty verified real people a five-second question and get the split back.
概览
让助手向五十位经过验证的真实用户提出一个简短问题,并返回答案分布,同时提供定价与结果查询工具。
- 功能
- 该服务器提供工具来为问题估价(estimate)、向五十人小组提问(ask),并在结果产生时读取(get_results、wait_for_results、get_answers)。它还能列出历史问题、取消问题并退还未回答部分的费用、追加人数、标记某个答案以供审核,以及把结果导出为 CSV、PDF 或 PNG。辅助工具涵盖模板、受众、定向选项、余额、图片上传、可分享的提问链接、帮助搜索和反馈。
- 适用场景
- 当你需要真实人群的快速意见或偏好数据,而不是模型的猜测时使用,例如在两个名称之间做选择,或检验一句简短说法是否被接受。它适合需要在对话中发起小型调查并读回分布的助手。
- 运行要求
- 可以使用托管端点 并在浏览器中通过 OAuth 登录,也可以使用 npx 运行的本地 npm 包,后者需要 Node 20 或更高版本。本地方式需要 FIFTYHEADS_API_KEY 中的 API 密钥(密钥以 fh_live_ 开头)或执行一次登录命令;托管方式也可以改用 Authorization bearer 请求头。提问需要 50heads 账户和积分。
安装
在 SourceWeft 中
- 打开 控制台中的 50heads,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://mcp.50heads.com/mcp"
}
}
}README
50heads MCP
Ask fifty verified real people a five-second question from Claude, ChatGPT, Cursor or your own agent, and get the split back. 50 answers at Tier 1: about 10 minutes and 1000 credits, priced in your account's currency.
There are two ways in, with the same tools:
- Hosted (recommended):
https://mcp.50heads.com/mcp. Streamable HTTP, sign in with OAuth in the browser. Nothing to install. - Local:
npx -y @50heads/mcp, a stdio server for hosts that launch a command. Needs Node 20 or later and an API key (or a one-timelogin).
Install
Pick your host below. The hosted server needs nothing installed: add the URL and sign in with OAuth in the browser, which also sets the connection's daily spend cap. The local server (npx -y @50heads/mcp) needs Node 20 or later and an API key.
Make an API key, if you need one, on the Developers page of the dashboard: https://50heads.com/app/developers. Keys start fh_live_ and are shown once. Or run npx -y @50heads/mcp login once and leave the key out.
npx -y @50heads/mcp config [host] prints any of these. The same instructions are on https://50heads.com/en-us/docs/mcp.
Claude (claude.ai and Claude Desktop)
Hosted, sign in with OAuth. Settings, Connectors, Add custom connector. Paste the URL and sign in when asked. On Team and Enterprise plans an owner adds it for the organisation first.
Or with an API key, in claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude).
Claude Code
Hosted, sign in with OAuth. Run in a terminal, then /mcp in Claude Code to sign in.
Or with an API key (CI and scripts):
Cursor
Hosted, sign in with OAuth. ~/.cursor/mcp.json (or .cursor/mcp.json in a project). Cursor opens the sign-in page.
Or with an API key:
ChatGPT
Hosted, sign in with OAuth. Settings, Apps and Connectors, Advanced settings, turn on Developer mode, then Create. Paste the URL and choose OAuth. On Business and Enterprise plans an admin turns on Developer mode first.
VS Code
Hosted, sign in with OAuth. .vscode/mcp.json in the workspace, or MCP: Add Server from the command palette.
Or from a terminal:
Windsurf
Local, with an API key. ~/.codeium/windsurf/mcp_config.json, or Windsurf Settings, Cascade, MCP servers, View raw config.
Or the hosted server with an API key:
Any other host
Local, with an API key. Hosts that launch a local command. Needs Node 20 or later and an API key from the dashboard.
Hosts that speak Streamable HTTP: https://mcp.50heads.com/mcp with the header "Authorization: Bearer fh_live_…", or OAuth.
Check it works
Ask your host to "use 50heads to estimate asking fifty people which of two names they prefer". estimate is free and never spends credits. In Claude Code, /mcp lists the server and its tools; elsewhere, look for 50heads in the host's tools or connectors list.
Signing in on the command line
login uses the OAuth device flow against https://auth.50heads.com. Tokens are kept in the macOS Keychain or the Secret Service on Linux, else in ~/.config/50heads/credentials.json (mode 600). An API key in FIFTYHEADS_API_KEY wins when both are present.
--proxy forwards stdio to the hosted server instead of running the tools locally.
Tools
Every connection has a daily spend cap (default 5,000 credits). Asking past it returns spend_cap_exceeded with what is left and when it resets.
Errors are JSON-RPC errors with error.data.code (validation, not_found, insufficient_credits, spend_cap_exceeded, idempotency_conflict, content_refused, rate_limited, unavailable) and a retryable hint.
Resources: 50heads://guide (the skill), 50heads://templates, 50heads://question-types, 50heads://pricing, 50heads://countries, 50heads://results/{question_id}. Prompts: ask_the_heads, read_results. Hosts that show MCP Apps get the estimate and the results as cards.
The Agent Skill
The package ships the 50heads Agent Skill in skills/50heads (@50heads/mcp/skills/50heads/SKILL.md): when to ask, the eight rules for a good question, how to read results, and references for question types and pricing. Copy the folder into your host's skills directory, or let a host that speaks the com.50heads/skills extension fetch it from the server.
As a library
serveStdioServer(options) runs the whole stdio server, tasks included. configSnippets() returns the install snippets above.
Versions
Releases use calendar versions, YYYY.MDD.N: 2026.924.1 is the first release on 24 September 2026, and a second that day is 2026.924.2. The npm package, the hosted server (serverInfo.version), the registry manifest, --version and the Agent Skill all carry the same number. See CHANGELOG.md.
server.json is ready for the official MCP Registry as com.50heads/mcp. The registry has no listing yet (a search returns no servers). Publishing it needs MCP_REGISTRY_ED25519_KEY on the release workflow. See docs/publishing.md. The npm package itself is published.
Development
This package lives in the 50heads monorepo. The hosted server (apps/mcp) and the stdio server share one module, src/server.ts, so they cannot drift.
Releasing (npm with provenance from the public mirror, the MCP Registry and a GitHub Release) is described in docs/publishing.md.
MIT licence.
来源:README.md,提交 7f8ae79
工具
0版本历史
1- v2026.1006.1最新Oct 6, 2026

