hn-mcp-server
io.github.cyanheads/hn-mcp-server
Serveur MCP OK 4 outils
Browse Hacker News feeds, threads, and user profiles with full-text search.
Fiche technique
- Auteur
- cyanheads (espace de noms du registre)
- Dépôt
- github.com/cyanheads/hn-mcp-server
- Site
- —
- Version
- 0.7.0
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://hn.caseyjhand.com/mcp Streamable HTTP
- Paquets
- @cyanheads/hn-mcp-server 0.7.0 npm stdio
@cyanheads/hn-mcp-server 0.7.0 npm Streamable HTTP - Outils
- 4
- Catégories
- —
- Dernière mise à jour
- 14 nov. 2026
- Publication
- 14 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.cyanheads/hn-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/hn-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/hn-mcp-server.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.cyanheads/hn-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/hn-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/hn-mcp-server.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://hn.caseyjhand.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:38
- Temps de réponse
- 1 365 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- hn-mcp-server 0.7.0
- Outils
- 4
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:38 | OK | 1 365 ms | 4 |
Outils exposés (4, réponse à tools/list, 28 nov. 2026)
hn_get_stories
Hn Get Stories
Fetch stories from an HN feed (top, new, best, ask, show, jobs), with title, URL, score, author, and comment count for each story.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| feed | enum: "top" | "new" | "best" | "ask" | "show" | "jobs" | oui | Which HN feed to fetch. "top" includes jobs. "ask" and "show" are Ask HN / Show HN posts. |
| count | integer | non | Number of stories to return, at most 100 per call. A larger value is served at 100, and the notice names the offset for the next page. Larger counts take longer. |
| offset | integer | non | Number of stories to skip from the start of the feed. Use with count for pagination. |
hn_get_thread
Hn Get Thread
Get an item and its comment tree as a threaded discussion, with child comments resolved recursively. Use depth 0 for an item-only lookup. A long thread comes back in pages: pass the returned nextCursor as cursor to continue.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| itemId | integer | oui | ID of the story, comment, job, poll, or poll option to fetch the thread for. |
| depth | integer | non | How many levels of replies to resolve, at most 10 per call. 0 = just the item, no comments. 1 = direct replies only. A larger value is served at 10. Replies below the depth served are never fetched — to read them, raise depth up to 10, or call again with a comment from the deepest level returned, o… |
| maxComments | integer | non | Maximum comments in one response, across all depth levels, at most 200 per call. A larger value is served at 200, and nextCursor continues from there. Highest-ranked top-level comments resolve first; replies fill in only after the level above is exhausted. When this limit stops the traversal, nextC… |
| cursor | string | non | nextCursor from a previous call, passed with the same itemId, to continue the traversal at the next unseen comment without repeating or skipping any. Omit to start from the top. |
hn_get_user
Hn Get User
Get an HN user profile with karma, about, and optionally their most recent submissions resolved into full items.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| username | string | oui | HN username. Case-sensitive. Trimmed, and one leading @ is dropped, so @pg looks up pg. Blank input is rejected, as is a name with whitespace inside it — a display name such as "Paul Graham", not an account name. |
| includeSubmissions | boolean | non | Resolve the user's most recent submissions into full items. Without this, only the submission count is available. |
| submissionCount | integer | non | Page size — how many submissions to resolve per call, at most 50 per call. A larger value is served at 50, and the notice names the submissionOffset for the next page. Only used when includeSubmissions is true. |
| submissionOffset | integer | non | How many submissions to skip before resolving, counting back from the most recent. Use with submissionCount to page through a long history: request offset 0, then advance by the page size served, and so on. The enrichment block echoes submissionOffset and, when more remain, the offset to send next.… |
hn_search_content
Hn Search Content
Search Hacker News stories, comments, polls, and jobs via Algolia — by keyword, by filters alone, or both. Filterable by content type, author, parent story, date range, minimum points, and minimum comment count.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Search terms. Supports simple keywords — Algolia handles stemming and relevance, and a hit must contain every term. Matching is typo-tolerant and the last term also matches as a prefix (zig matches Zigbee); wrap a term in double quotes to match it exactly ("zig"), or put - before one to exclude it… |
| tags | enum: "story" | "comment" | "poll" | "job" | "ask_hn" | "show_hn" | "front_page" | non | Filter results by content type: "story", "comment", "poll", or "job", or the story subsets "ask_hn", "show_hn", and "front_page". "front_page" is the HN front page right now (about 30 stories); no filter selects stories from past front pages. The nearest proxy is "story" with dateRange and minPoint… |
| author | string | non | Filter results to a specific author — useful for finding a user's posts on a topic. Matches the HN username exactly and is case-sensitive, so a re-cased name finds nothing. Trimmed, and one leading @ is dropped, so "@pg" searches pg; a name that still holds whitespace is rejected as a display name.… |
| storyId | integer | non | Restrict results to one discussion: the id of a story or poll root, combined with the other filters. Pair with tags "comment" to search within a thread. Take it from hits[].storyId, from a poll hit's own id (poll hits carry no storyId), or from hn_get_thread — the root item's id, or its item.storyI… |
| sort | enum: "relevance" | "date" | non | Sort order. "relevance" for best match, "date" for most recent first. |
| dateRange | object | non | Filter to a creation-time window with a start, an end, or both. An empty object is rejected — omit dateRange instead. |
| minPoints | integer | non | Minimum score. Applies to stories and polls, including the ask_hn, show_hn, and front_page subsets. Comments and jobs carry no points in the search index, so any minPoints excludes them — combining it with tags "comment" or "job" is rejected. |
| minComments | integer | non | Minimum comment count. Applies to stories and polls, including the ask_hn, show_hn, and front_page subsets. Any minComments, 0 included, excludes comments, jobs, and poll options, which carry no comment count in the search index, so an untagged search returns only stories and polls — combining it w… |
| count | integer | non | Number of results to return, at most 50 per call. A larger value is served at 50: the search runs at count 50 from the hit where the requested page starts, and the notice names the count and page to pass next. With page above 0, that hit (page × count) must begin a page of 50 hits. |
| page | integer | non | Page number for pagination (0-indexed), counted in pages of count results. |
| view | enum: "full" | "compact" | non | How much of each hit to return. "full" includes every field. "compact" omits the two body-text fields — `text` and `highlights.text` — which together can repeat a long comment twice per hit; everything else (id, title, url, domain, author, points, comment count, timestamp, parent story, parentId, s… |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://hn.caseyjhand.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http hn-mcp-server https://hn.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : hn-mcp-server ; URL : https://hn.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : hn-mcp-server ; Server URL : https://hn.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"hn-mcp-server": {
"url": "https://hn.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"hn-mcp-server": {
"type": "http",
"url": "https://hn.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"hn-mcp-server": {
"url": "https://hn.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"hn-mcp-server": {
"httpUrl": "https://hn.caseyjhand.com/mcp"
}
}
}[mcp_servers.hn-mcp-server]
url = "https://hn.caseyjhand.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
hn-mcp-server · L’Atlas · Test du
[hn-mcp-server — L’Atlas](https://latlas.dev/mcp/io.github.cyanheads/hn-mcp-server)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.