Show HN: Ask-human-mcp – zero-config human-in-loop hatch to stop hallucinations
129 points| echollama | 9 months ago |masonyarbrough.com
ask-human-mcp pauses your agent whenever it’s stuck, logs a question into ask_human.md in your root directory with answer: PENDING, and then resumes as soon as you fill in the correct answer.
the pain:
your agent screams out an endpoint that never existed it makes confident assumptions and you spend hours debugging false leads
the fix:
ask-human-mcp gives your agent an escape hatch. when it’s unsure, it calls ask_human(), writes a question into ask_human.md, and waits. you swap answer: PENDING for the real answer and it keeps going.
some features:
- zero config: pip install ask-human-mcp + one line in .cursor/mcp.json → boom, you’re live - cross-platform: works on macOS, Linux, and Windows—no extra servers or webhooks. - markdown Q\&A: agent calls await ask_human(), question lands in ask_human.md with answer: PENDING. you write the answer, agent picks back up - file locking & rotation: prevents corrupt files, limits pending questions, auto-rotates when ask_human.md hits ~50 MB
the quickstart
pip install ask-human-mcp ask-human-mcp --help
add to .cursor/mcp.json and restart: { "mcpServers": { "ask-human": { "command": "ask-human-mcp" } } }
now any call like:
answer = await ask_human( "which auth endpoint do we use?", "building login form in auth.js" )
creates:
### Q8c4f1e2a ts: 2025-01-15 14:30 q: which auth endpoint do we use? ctx: building login form in auth.js answer: PENDING
just replace answer: PENDING with the real endpoint (e.g., `POST /api/v2/auth/login`) and your agent continues.
link:
github -> https://github.com/Masony817/ask-human-mcp
feedback:
I'm Mason a 19yo solo-founder at Kallro. Happy to hear any bugs, feature requests, or weird edge cases you uncover - drop a comment or open an issue! buy me a coffee -> coff.ee/masonyarbrough
[+] [-] superb_dev|9 months ago|reply
[+] [-] tyzoid|9 months ago|reply
[+] [-] rfl890|9 months ago|reply
[+] [-] kbouck|9 months ago|reply
[+] [-] echollama|9 months ago|reply
[+] [-] lobsterthief|9 months ago|reply
[+] [-] banner520|9 months ago|reply
[+] [-] threeseed|9 months ago|reply
a) It doesn't know when it's hallucinating.
b) It can't provide you with any accurate confidence score for any answer.
c) Your library is still useful but any claim that you can make solutions more robust is a lie. Probably good enough to get into YC / raise VC though.
[+] [-] echollama|9 months ago|reply
this is a streamlined implementation of a interanlly scrapped together tool that i decided to open-source for people to either us or build off of.
[+] [-] loloquwowndueo|9 months ago|reply
[+] [-] lordmauve|9 months ago|reply
[+] [-] olalonde|9 months ago|reply
[+] [-] TZubiri|9 months ago|reply
Not much is stopping you from buying products from a retailer and selling them at a wholesaler, but you'd lose money in doing so.
[+] [-] mgraczyk|9 months ago|reply
"If you don't know the answer to a question and need the answer to continue, ask me before continuing"
Will you have some other person answer the question?
[+] [-] bckr|9 months ago|reply
[+] [-] deadbabe|9 months ago|reply
[+] [-] ramesh31|9 months ago|reply
What you are asking for is AGI. We still need human in the loop for now.
[+] [-] exclipy|9 months ago|reply
[+] [-] spacecadet|9 months ago|reply
[+] [-] kjhughes|9 months ago|reply
[+] [-] aziaziazi|9 months ago|reply
> (problem description) your agent […] makes confident assumptions
> (solution description) when it’s unsure
I read this as a contradiction: in one sentence you describe the problem as an agent being confident while hallucinating and in the next phrase the solution is that the agent can ask you if it’s unsure.
You tool is interesting but you may consider rephrasing that part.
[+] [-] Groxx|9 months ago|reply
So not at all, but that doesn't mean it's not useful.
[+] [-] echollama|9 months ago|reply
[+] [-] throwaway314155|9 months ago|reply
[+] [-] atoav|9 months ago|reply
It is amazing how bad LLMs are when it comes to reasoning about simple dynamics within trivial electronic circuits and how eager they are to insist the opposite of how things work in the real world is the secured truth.
[+] [-] kordlessagain|9 months ago|reply
[+] [-] spacecadet|9 months ago|reply
[+] [-] rgbrenner|9 months ago|reply
[+] [-] ddalex|9 months ago|reply
[+] [-] PSBigBig|9 months ago|reply
[+] [-] conception|9 months ago|reply
[+] [-] kordlessagain|9 months ago|reply
[+] [-] dkkergoog|9 months ago|reply
[deleted]