mcp-news-server
If you are the rightful owner of mcp-news-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP News Server is a clean, minimal MCP wrapper around the Hacker News API, designed to showcase the Modular Contract Protocol (MCP) structure, typed contracts, and LLM-compatible interface.
The MCP News Server is a project that demonstrates how to transform an existing REST API into an MCP-compliant server. It wraps the Hacker News API using modular components such as contracts defined with Zod and Zod-OpenAPI for typed and documented inputs/outputs, resolvers for business logic, handlers for HTTP routing, and OpenAPI integration for LLM function calling. The goal of this wrapper is to learn and demonstrate the full MCP process and prepare APIs for the MCP marketplace, where tools and agents can discover and use them programmatically. The server is built using Node.js, Express, and TypeScript, and is deployed on Render. It provides endpoints for listing top stories and retrieving story details by ID, making it ideal for LLM agents, LangChain tools, and ai-agent-flow pipelines.
Features
- Contract-driven API with Zod
- Composable and self-descriptive
- LLM-ready via OpenAPI and function schemas
- Modular components for easy integration
- Deployed on Render for accessibility