geeknews-mcp-server
Servidor MCP de GeekNews
Este proyecto es un servidor de Protocolo de Contexto de Modelo (MCP) que obtiene artículos de GeekNews . Se implementa en Python y utiliza BeautifulSoup para realizar web scraping.
función
|
|
|
|
Herramientas
Herramienta
get_articles: Capacidad para obtener artículos de GeekNewsPuede especificar el tipo de artículo (superior, nuevo, preguntar, mostrar) y la cantidad de artículos que desea devolver.
Cada respuesta contiene título, URL, puntos, autor, hora, número de comentarios e información de clasificación.
Herramienta
get_weekly_news: Capacidad para obtener noticias semanales de GeekNewsPuede especificar un ID de noticias semanales específico o recuperar las noticias semanales más recientes.
Proporciona información como el título, número, ID, contenido, URL y lista de elementos de noticias semanales.
Cada elemento contiene un título, una URL y información de clasificación.
Related MCP server: Mozilla Readability Parser MCP Server
Cómo utilizar
Instalación mediante herrería
Agregar información del servidor al archivo de configuración de MCP
{ "mcpServers": { "geeknews-mcp-server": { "command": "npx", "args": [ "-y", "@smithery/cli@latest", "run", "@the0807/geeknews-mcp-server", "--key", "smithery에서 발급 받은 키" ] } } }
Cómo instalar localmente
Clon de Git
git clone https://github.com/the0807/GeekNews-MCP-Server cd GeekNews-MCP-ServerConfiguración del ambiente con uv
uv syncEjecución de un entorno virtual
uv venv source .venv/bin/activateProbar su servidor con MCP Inspector
uv run mcp mcp dev main.py # 터미널에 나오는 URL(MCP Inspector)로 접속하여 서버 테스트
Estructura del código
src/models.py: Define una clase de datos que almacena información del artículo.src/parser.py: analiza HTML del sitio web GeekNews para extraer información del artículo.src/client.py: cliente HTTP que obtiene datos del sitio web GeekNews.src/config.py: Define configuraciones y constantessrc/server.py: Implementación del servidor MCPmain.py: punto de entrada de ejecución del servidor
[!Nota]
Este servidor se basa en la estructura HTML del sitio web GeekNews. Si la estructura de su sitio web cambia, es posible que necesite actualizar su lógica de análisis.
Available Tools
2 toolsget_articlesA
GeekNews에서 아티클을 가져오는 도구
Args:
type: 아티클 유형 (top, new, ask, show)
limit: 반환할 아티클 수 (최대 30)
Returns:
List[Dict[str, Any]]: 아티클 목록
Raises:
ValueError: 유효하지 않은 아티클 유형이 지정된 경우
Inputs: type, limit.
get_weekly_newsB
GeekNews에서 주간 뉴스를 가져오는 도구
Args:
weekly_id: 주간 뉴스 ID (빈 문자열인 경우 가장 최근 주간 뉴스를 가져옴)
Returns:
Dict[str, Any]: 주간 뉴스 정보
Inputs: weekly_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: get_articles retrieves articles by type (top, new, ask, show) with a limit parameter, while get_weekly_news fetches weekly news by ID or the most recent one. There is no overlap in functionality or ambiguity between them.
Both tools follow a consistent verb_noun naming pattern (get_articles and get_weekly_news), using snake_case throughout. The naming is predictable and readable without any deviations or mixed conventions.
With only 2 tools, the server feels thin and under-scoped for a news domain. While the tools cover basic retrieval, there are likely missing operations (e.g., searching, filtering, or interacting with articles) that would enhance functionality, making the count too low for comprehensive coverage.
The tool surface is severely incomplete for a news server. It only provides read operations (get_articles and get_weekly_news) with no support for creating, updating, deleting, or searching articles. This lack of CRUD/lifecycle coverage will limit agent capabilities and cause failures in more complex workflows.
Maintenance
Related MCP Connectors
Real-time Google News headlines, breaking publisher articles & topic search remote MCP server.
One MCP server for Zapi's scraper endpoints: social media, news and Indonesian stock data.
Dive into the latest and greatest from the tech world with our Hacker News MCP server.
Programmatic web-scraping MCP server powered by x402 micro-transactions on Base.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server that provides tools for searching and fetching information from Hacker News.476MIT
- AlicenseNot gradedqualityDmaintenanceA 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
- AlicenseNot gradedqualityDmaintenanceA 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.33MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that scrapes static HTML with BeautifulSoup for analysis by MCP clients.-



