Feedback

Basic information

Transport
stdio
Runtime
TypeScript
Version
1.0.0
Category
Author
cyanheads
Quality
10
Views
597

About hn-mcp-server

MCP server for Hacker News with feeds, comments, user profiles, and search. Access HN data through Firebase and Algolia APIs.

hn-mcp-server is a MCP server in the Databases category listed in the AddMCP.net directory, published by cyanheads. It exposes 4 tools, including hn_get_stories, hn_get_thread, hn_get_user, hn_search_content. Supported transport: stdio. Runtime: TypeScript. License: Apache-2.0. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: community, databases.

Connection details

https://hn.caseyjhand.com/mcp

Setup

claude mcp add hn-mcp-server --transport http https://hn.caseyjhand.com/mcp

hn-mcp-server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "hn-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@cyanheads/hn-mcp-server"
            ]
        }
    }
}

hn-mcp-server tools

  • hn_get_stories — Fetch stories from an HN feed (top, new, best, ask, show, jobs) with pagination
  • hn_get_thread — Get an item and its comment tree as a threaded discussion with depth/count controls
  • hn_get_user — Fetch a user profile with karma, about, and optionally their recent submissions
  • hn_search_content — Search stories and comments via Algolia with type, author, date, and score filters

Overview

What is hn-mcp-server?

A TypeScript-based MCP server that implements a simple notes system, demonstrating core MCP concepts by providing resources for text notes, tools for creating notes, and prompts for generating summaries.

How to use hn-mcp-server?

Install dependencies with npm install, build the server with npm run build, then configure it in the Claude Desktop config file (claude_desktop_config.json) by specifying the path to build/index.js. For development with auto-rebuild, use npm run watch.

Key features of hn-mcp-server

  • List and access notes via note:// URIs
  • Each note has title, content, and metadata
  • Create new text notes with the create_note tool
  • Generate a summary of all stored notes with summarize_notes prompt
  • Plain text mime type for simple content access
  • Includes structured prompt for LLM summarization

Use cases of hn-mcp-server

  • Building a simple note-taking assistant with MCP
  • Demonstrating resources, tools, and prompts in MCP
  • Integrating note management into a Claude Desktop workflow
  • Testing and debugging MCP server development

Frequently asked questions

1 What runtime does the server require?

It requires Node.js and npm (implied by npm install and npm run build).

2 Where are notes stored?

Notes are stored in server state (in-memory); no external database is mentioned.

3 How do I debug the server?

Use the MCP Inspector by running npm run inspector, which provides a URL for debugging tools in your browser.

4 How do I configure it with Claude Desktop?

Add the server configuration to claude_desktop_config.json (located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%/Claude/claude_desktop_config.json on Windows), specifying the command to run the built index.js.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬