Provides access to HackerNews content through the Algolia HackerNews API, enabling search of posts and comments, retrieval of front page stories, latest posts, item details with nested comment trees, and user profile information
A Model Context Protocol server that provides AI assistants with structured access to HackerNews content via the Algolia API.
Features
✅ Search Posts - Search HackerNews for stories, comments, and discussions by keyword
✅ Front Page - Get currently trending HackerNews posts
✅ Latest Posts - Monitor newest content sorted by date
✅ Item Details - Retrieve complete posts with nested comment trees
✅ User Profiles - View author information, karma, and bios
Prerequisites
Node.js 18.0.0 or higher
npm 9.0.0 or higher
MCP Client - Claude Desktop, Continue.dev, or any MCP-compatible client
Installation
From npm (Coming Soon)
From Source
Configuration
For Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Or if installed globally:
Available Tools
1. search-posts
Search HackerNews by keyword with optional filters.
2. get-front-page
Get current HackerNews front page posts.
3. get-latest-posts
Get most recent posts sorted by date.
4. get-item
Retrieve complete item details with nested comments.
5. get-user
Get user profile information.
Development
Install Dependencies
Build
Testing
Linting & Formatting
Documentation
API Reference - Detailed API documentation
Architecture - System design and architecture
Contributing - How to contribute
Quick Start - Quick start guide
Examples
See the Quick Start Guide for comprehensive usage examples.
License
MIT License - See LICENSE for details
Resources
HackerNews API: https://hn.algolia.com/api
MCP Documentation: https://modelcontextprotocol.io
GitHub Repository: https://github.com/yourusername/hn-mcp-server
Report Issues: https://github.com/yourusername/hn-mcp-server/issues
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables AI assistants to access HackerNews content through structured search, front page retrieval, latest posts monitoring, detailed item fetching with comment trees, and user profile viewing via the Algolia API.