Connect to Hacker News to fetch stories, user profiles, and analyze technology news through AI agents.
API
UI
Open Source
1
Install the SDKs (optional)
pip install klavis
2
Create a Strata MCP Server with Hacker News
from klavis import Klavisfrom klavis.types import McpServerNameklavis_client = Klavis(api_key="YOUR_API_KEY")# Create a Strata MCP server with Hacker Newsresponse = klavis_client.mcp_server.create_strata_server( servers=[McpServerName.HACKER_NEWS], user_id="user123")
userId specifies whose connected accounts and data you are accessing in Klavis. It should be a unique id for yourself, your team, or your organization.
API Reference
Full Strata API endpoints
🎉 Your Hacker News MCP Server is ready! You can now use your MCP server URL with any MCP-compatible client.
# Pull the Docker imagedocker pull ghcr.io/klavis-ai/hacker-news-mcp-server:latest# Run the server (no API key required for Hacker News)docker run -p 5000:5000 \ ghcr.io/klavis-ai/hacker-news-mcp-server:latest
With our progressive discovery approach, Klavis System is capable of enabling all tools for Hacker News. Please use the get_tools API for more details. If you find any tool that is missing, please reach out to contact@klavis.ai.