MCP Server for Hacker News
Project description
Hacker News MCP Server
A Model Context Protocol (MCP) server that provides tools for fetching information from Hacker News.
Tools
get_storiesFetching (top, new, ask_hn, show_hn) storiesget_story_infoFetching comments associated with a storysearch_storiesSearching for stories by queryget_user_infoFetching user info
Example Usage
Use prompts like the following:
- Get the top stories of today (will use `get_stories` tool`)
- What does the details of the story today that talks about the future of AI (will use `get_story_info` tool` based on the results of the previous tool)
- What has the user `pg` been up to? (will use `get_user_info` tool)
- What does hackernews say about careers in AI? (will use `search_stories` tool)
Quickstart
Claude Desktop:
Update the following:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
With the following for development:
{
"mcpServers": {
"mcp-hn": {
"command": "uv",
"args": [
"--directory",
"<dir_to>/mcp-hn",
"run",
"mcp-hn"
]
}
}
}
Or with the following for production:
{
"mcpServers": {
"mcp-hn": {
"command": "uvx",
"args": ["mcp-hn"]
}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_hn-0.1.0.tar.gz.
File metadata
- Download URL: mcp_hn-0.1.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3721b833b7fb217f2a6faf11244db79705e132dc26e1dd55ec1195041fac8e5
|
|
| MD5 |
e445ab39c896c91c100e87d2a0b8f7af
|
|
| BLAKE2b-256 |
eb53910b1163af786cb6280ae5eca466d28fea403633932d59b21d4d5b41fa5c
|
File details
Details for the file mcp_hn-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_hn-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6785943821104481d2b2ab5b22eb4b48fcb3eb236b4e0422690078e09c08de57
|
|
| MD5 |
25db9e1f8039865dd6a64ab2f34192be
|
|
| BLAKE2b-256 |
09de39efda67b5a676869e09ed297e1db24ab2be69cba92ccd350446a0d2f53f
|