mcp-claude-hackernews
An integration that allows Claude Desktop to interact with Hacker News using the Model Context Protocol (MCP).
claude mcp add --transport stdio mpress001-mcp-claude-hackernews node server.js
How to use
This MCP server enables Claude Desktop to interact with Hacker News through the MCP (Model Context Protocol) interface. It exposes a lightweight integration that fetches the latest Hacker News stories, allows keyword search across articles, and retrieves comments for specific posts. The available capabilities map to common Claude workflows: you can fetch the latest articles to surface trending items, search for articles by topic or keyword, and drill into article details and user comments directly from Claude.
To use it, start the server with the standard Node.js startup (for example, npm install followed by npm start if you are using the repository’s package.json scripts). Once running, instruct Claude with commands like “fetch latest articles”, “search for [keyword]”, or “view comments for article [ID]” to retrieve data from Hacker News. The integration relies on the Hacker News API endpoints to pull article IDs, details, and user comments, and then formats that data for easy consumption inside Claude.
How to install
Prerequisites:
- Node.js and npm installed on your system
- Access to the repository containing the MCP Claude Hacker News integration
Step-by-step installation:
-
Install Node.js and npm if you don’t already have them. You can download from https://nodejs.org/
-
Clone the repository (replace with the actual repo URL): git clone https://github.com/mpress001/mcp-claude-hackernews.git cd mcp-claude-hackernews
-
Install dependencies: npm install
-
Start the MCP server: npm start
-
Verify the server is running by checking the console output or by making a test request via your MCP client.
Notes:
- If the project uses a different start script or a custom runner, adjust the start command accordingly (e.g., npm run start-server or node server.js).
- The README references a zipped release URL for distribution in some setups; ensure you’re using the local repository or a properly hosted package if applicable.
Additional notes
Tips and caveats:
- The integration depends on the Hacker News API endpoints (e.g., /v0/item/[ID].json and /v0/user/[username].json). Rate limiting or API changes can affect data availability; implement appropriate error handling in your client.
- If you customize endpoints or host endpoints behind a proxy, ensure the MCP server has network access to those URLs.
- If you plan to deploy, consider environment-specific configurations (e.g., API keys or auth if you extend functionality). The current integration typically does not require authentication for public Hacker News endpoints.
- Ensure your Claude Desktop configuration points to the MCP server’s hostname and port, and that any firewall rules allow traffic between Claude and the MCP server.
- The provided npm_package is null since this appears to be an internal integration not published as a standalone npm package.
Related MCP Servers
aci
ACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unified MCP server. The birthplace of VibeOps.
This MCP server allows Claude and other AI assistants to access your LinkedIn. Scrape LinkedIn profiles, companies and jobs, and perform job searches.
wcgw
Shell and coding agent on mcp clients
claude-vigil
🏺 An MCP server for checkpointing and file recovery in Claude Code
mcp-client-gen
Turn any MCP server into a type-safe TypeScript SDK in seconds - with OAuth 2.1 and multi-provider support
automagik-tools
From API to AI in 30 Seconds - Transform any API into an intelligent MCP agent that learns, adapts, and speaks human