heardback
# heardback
**Your users already tell your AI what's wrong. heardback makes sure the team hears it, and tells the user when it's fixed.**
Fewer than 1–3% of chat users ever press 👍/👎. But people say things like *"wait, I can't pin projects?"* all the time. heardback is an MCP server that lets any AI agent:
1. **Notice** a frustration or missing feature in the conversation
2. **Ask** the user once: *"Want me to pass this on to the team?"* (nothing is ever sent without a yes)
3. **Clean it up**: short title, summary, the user's own words, what they were trying to do, with emails, phone numbers, card numbers and tokens scrubbed out
4. **Merge duplicates** into votes (works for Japanese/Chinese/Korean text too)
5. **File it** as a GitHub issue (or a local file while you try it out)
6. **Close the loop**: when the issue is closed as completed, the agent tells that user next time: *"The pinning you asked for is live now."*
```
User: wait, I can't pin projects?
Agent: Not yet. You can prefix the name with 📌 for now. Want me to pass this on to the team?
User: yeah
Agent: Done. I'll let you know when it ships.
...two weeks later...
Agent: By the way, project pinning, which you asked for, is live now.
```
## Tools
| Tool | What it does |
|---|---|
| `propose_feedback` | Drafts a ticket. Uses MCP elicitation to ask the user directly when the client supports it; otherwise the agent asks in one line. Max once per conversation. |
| `submit_feedback` | Sends or discards the draft, only after the user answered. Merges duplicates into +1 votes. |
| `check_feedback_updates` | Call at the start of a chat: returns this user's requests that shipped or closed, once each. |
| `list_top_feedback` | For the team: requests ranked by how many users asked. |
## Quick start
```bash
git clone https://github.com/Tsfuture2/heardback && cd heardback
npm install && npm run build
```
Claude Desktop / Claude Code / any MCP client:
```json
{
"mcpServers": {
"heardback": {
"command": "node",
"args": ["/path/to/heardback/dist/index.js"],
"env": {
"GITHUB_REPO": "your-org/your-product",
"GITHUB_TOKEN": "a token with issues:write"
}
}
}
}
```
Without `GITHUB_REPO`/`GITHUB_TOKEN`, feedback is written to `~/.heardback/outbox.jsonl` so you can try it safely.
| Env | Default | |
|---|---|---|
| `GITHUB_REPO`, `GITHUB_TOKEN` | unset | File feedback as GitHub issues |
| `HEARDBACK_DIR` | `~/.heardback` | Where drafts, votes and subscriptions are stored |
| `HEARDBACK_ONE_PER_CONVERSATION` | `true` | Never ask the same user twice in one chat |
## Principles
- **Consent first.** No yes, no ticket.
- **Don't nag.** One ask per conversation; the agent keeps helping with the real task.
- **No personal data.** Users are an opaque `userRef`; obvious PII is scrubbed before it leaves the machine.
- **Close the loop.** Feedback that disappears teaches users to stop giving it.
## Roadmap
- Linear, Jira, Canny and Slack sinks
- Embedding-based dedupe (optional)
- Hosted dashboard with trends per feature
## License
MIT
---
## 日本語
ユーザーはAIとの会話の中で「え、ピン留めできないの?」みたいな不満をよく口にする。heardbackはそれをAIが拾って「運営に送っとく?」と一度だけ聞き、同意があればGitHub Issueにまとめて送る(個人情報は自動で伏せる、同じ要望は票にまとめる)。実装されたら、次の会話で本人に「前言ってた機能、使えるようになったよ」と伝える。MITライセンス。
TDQS
Scored across 4 tools
Each tool has a clearly distinct role: drafting a ticket (propose_feedback), sending it after consent (submit_feedback), retrieving one's own shipped/closed feedback (check_feedback_updates), and surfacing ranked team feedback (list_top_feedback). The propose/submit pair is deliberately coupled, but the descriptions make the boundary (draft vs. explicit consent) unmistakable.
All four names are snake_case with a leading verb, which reads consistently. Minor deviation in noun ordering: 'check_feedback_updates' and 'list_top_feedback' place modifiers before the noun differently than 'propose_feedback'/'submit_feedback', but the pattern remains predictable.
Four tools is a tight, well-scoped surface for a feedback-loop feature, and each tool maps to a distinct step in that loop (draft, send, read own updates, read team ranking). Nothing feels redundant or missing from a count perspective.
The core feedback lifecycle — propose, submit, receive updates, and team prioritization — is covered end to end. Minor gaps remain: there is no way to view one's own full submission history or retract/edit a submitted ticket, but agents can work around these.