data
Hacker News MCP Gateway for AI Agents
Expose Hacker News tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
5 functions 5 read 0 write No credentials auth
Hacker News MCP Gateway
Expose Hacker News to MCP clients with `kosmokrator mcp:serve --integration=hackernews`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=hackernews --write=deny --json {
"mcpServers": {
"kosmokrator-hackernews": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=hackernews",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=hackernews --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__hackernews__hackernews_get_item | hackernews.hackernews_get_item | Read read |
integration__hackernews__hackernews_get_user | hackernews.hackernews_get_user | Read read |
integration__hackernews__hackernews_list_top_stories | hackernews.hackernews_list_top_stories | Read read |
integration__hackernews__hackernews_list_new_stories | hackernews.hackernews_list_new_stories | Read read |
integration__hackernews__hackernews_list_best_stories | hackernews.hackernews_list_best_stories | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.