geeknews-mcp-server
GeekNews MCP Server
このプロジェクトは、 GeekNewsから記事をインポートするModel Context Protocol(MCP)サーバーです。 Pythonとして実装されており、BeautifulSoupを使用してWebスクレイピングを実行します。
機能
|
|
|
|
ツール(Tools)
get_articlesツール:GeekNewsから記事をインポートする機能記事の種類(top、new、ask、show)と返す記事の数を指定できます。
各回答には、件名、URL、ポイント、作成者、時間、コメント数、ランキング情報が含まれています
get_weekly_newsツール:GeekNewsから毎週ニュースを取得する機能特定の週間ニュースIDを指定したり、最新の週間ニュースを取得したりできます
週刊ニュースのタイトル、番号、ID、コンテンツ、URL、アイテムリストなどの情報を提供
各アイテムにはタイトル、URL、ランキング情報が含まれています
Related MCP server: Mozilla Readability Parser MCP Server
使い方
Smitheryを使用したインストール
MCP設定ファイルにサーバー情報を追加する
{ "mcpServers": { "geeknews-mcp-server": { "command": "npx", "args": [ "-y", "@smithery/cli@latest", "run", "@the0807/geeknews-mcp-server", "--key", "smithery에서 발급 받은 키" ] } } }
ローカルインストール方法
Git Clone
git clone https://github.com/the0807/GeekNews-MCP-Server cd GeekNews-MCP-Serveruvによる環境設定
uv sync仮想環境の実行
uv venv source .venv/bin/activateMCP Inspectorでサーバーをテストする
uv run mcp mcp dev main.py # 터미널에 나오는 URL(MCP Inspector)로 접속하여 서버 테스트
コード構造
src/models.py:記事情報を格納するデータクラスの定義src/parser.py:GeekNewsウェブサイトのHTMLを解析して記事情報を抽出するsrc/client.py:GeekNewsウェブサイトからデータを取得するHTTPクライアントsrc/config.py:設定と定数の定義src/server.py: MCPサーバーの実装main.py: サーバー実行エントリポイント
[!Note]
このサーバーはGeekNews WebサイトのHTML構造に依存しています。 Webサイトの構造が変更された場合は、解析ロジックを更新する必要があります。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityFmaintenanceA Model Context Protocol (MCP) server that provides tools for searching and fetching information from Hacker News.476MIT
- Alicense-qualityDmaintenanceA Python implementation of an MCP server that extracts webpage content, removes ads and non-essential elements, and transforms it into clean, LLM-optimized Markdown.4MIT
- Alicense-qualityDmaintenanceA Python-based MCP server that aggregates real-time trending topics and news from over 30 sources including social media, technology, and finance platforms. It enables AI applications to retrieve the latest hot searches and news from major services like Weibo, Baidu, and IT Home through a unified interface.31MIT
- Flicense-qualityCmaintenanceA Model Context Protocol server that scrapes static HTML with BeautifulSoup for analysis by MCP clients.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
BGG MCP provides access to the BoardGameGeek API through the Model Context Protocol, enabling retr…
Hacker News MCP — search and retrieve stories from Hacker News
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/the0807/GeekNews-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server



