Hacker News MCP

Hacker News MCP

Enables AI agents to access Hacker News data including stories, items, users, and comments via MCP tools.

Category
Visit Server

README

Hacker News MCP

An MCP server that exposes Hacker News data as tools for AI agents. Built on Cloudflare Workers with the Agents SDK.

Data comes from the Hacker News Firebase API.

Tools

Tool Description
get-item Get any item by ID (story, comment, job, poll, or poll option)
get-top-stories Top stories (optional limit, default 30)
get-new-stories Newest stories
get-best-stories Best stories
get-ask-stories Ask HN stories
get-show-stories Show HN stories
get-job-stories Job postings
get-user User profile by username
get-comments Top-level comments for a story (id required, optional limit)

Setup

npm install

Development

npm run dev

Starts a local Worker with Wrangler. Point your MCP client at the local endpoint once it's running.

Deploy

npm run deploy

Deploys to Cloudflare Workers. After deploy, connect your MCP client to the Worker URL.

Project structure

src/
  main.ts              # MCP server entrypoint
  tools/               # Individual tool handlers
  utils/registerTools.ts
wrangler.jsonc         # Cloudflare Workers config

Contributing

  1. Fork the repository and create a branch from main.
  2. Install dependencies with npm install.
  3. Make your changes and verify them locally with npm run dev.
  4. Open a pull request describing what you changed and why.

Bug reports and feature ideas are welcome via GitHub Issues.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured