Hacker News MCP Server
Uses Algolia's search API to enable searching through Hacker News stories with customizable query parameters and result limits.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hacker News MCP Servershow me the top 5 stories"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hacker News MCP Server
A FastMCP server that provides access to Hacker News data for Poke integration.
🚀 Features
get_top_stories: Fetch top stories from Hacker News
get_story: Get details of a specific story by ID
get_new_stories: Fetch newest stories
search_stories: Search for stories using Algolia API
Related MCP server: HN Pulse
🛠️ Local Development
# Install dependencies
pip install -r requirements.txt
# Run the server
python src/server.py🚢 Deployment
Deploy to Render
Steps:
Click the "Deploy to Render" button above or go to render.com
Connect your GitHub account to Render (if you haven't already)
Create a new Web Service:
Connect this repository
Name:
hackernews-mcpEnvironment:
Python 3Plan:
FreeBuild Command:
pip install -r requirements.txtStart Command:
python src/server.py
Deploy! (No additional environment variables needed - uses public Hacker News API)
Note: On Render's free tier, services go idle after ~15 minutes of inactivity and may require a manual "Deploy" to wake or to pick up the latest commit. Unlike Vercel, pushes do not auto-deploy by default.
Your server will be available at https://hackernews-mcp.onrender.com/mcp
🎯 Poke Integration
Add the MCP URL:
https://hackernews-mcp.onrender.com/mcpGive it a name like "Hacker News"
Try: "Can you use the Hacker News MCP to get top stories?"
References
Based on the Interaction MCP server template: MCP Server Template
Discovered via Interaction’s HackMIT challenge: Interaction HackMIT Challenge
🔧 Available Tools
get_top_stories(limit=10): Get top stories (max 30)get_story(story_id): Get specific story detailsget_new_stories(limit=10): Get newest stories (max 30)search_stories(query, limit=10): Search stories (max 20)
📝 Example Usage
# Get top 5 stories
get_top_stories(limit=5)
# Get story details
get_story(story_id=12345)
# Search for Python stories
search_stories(query="python", limit=5)This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides programmatic access to Hacker News content via the HN Algolia API. It enables AI assistants to search stories, retrieve comments, access user profiles, and explore the front page in real-time.Last updated946MIT
- FlicenseAqualityDmaintenanceEnables AI assistants to read and search Hacker News for top stories, comments, user profiles, and job listings using the Firebase and Algolia APIs. It facilitates natural language research into community discussions and technological trends across the HN platform.Last updated8
- Flicense-qualityDmaintenanceEnables AI assistants to fetch top, new, best, Ask HN, Show HN, and job stories, as well as specific posts, comments, and user information from Hacker News through the Model Context Protocol.Last updated1
- Alicense-qualityBmaintenanceEnables Claude Desktop to interact with Hacker News, fetching articles, searching, and viewing comments.Last updated2Mozilla Public 2.0
Related MCP Connectors
Browse Hacker News feeds, threads, and user profiles with full-text search.
Hacker News MCP — search and retrieve stories from Hacker News
HN front-page, Algolia full-text search, and Show HN launch tracker.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/akarnik23/mcp-hackernews'
If you have feedback or need assistance with the MCP directory API, please join our Discord server