Skip to main content
Glama
the0807

geeknews-mcp-server

by the0807

Servidor MCP de GeekNews

insignia de herrería

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

herramienta1

herramienta2

ejemplo

ejemplo

Herramientas

  • Herramienta get_articles : Capacidad para obtener artículos de GeekNews

    • Puede 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 GeekNews

    • Puede 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

    🚀 geeknews-mcp-server

  • 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

  1. Clon de Git

    git clone https://github.com/the0807/GeekNews-MCP-Server
    cd GeekNews-MCP-Server
  2. Configuración del ambiente con uv

    uv sync
  3. Ejecución de un entorno virtual

    uv venv
    source .venv/bin/activate
  4. Probar 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 constantes

  • src/server.py : Implementación del servidor MCP

  • main.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.

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    F
    maintenance
    A Model Context Protocol (MCP) server that provides tools for searching and fetching information from Hacker News.
    4
    76
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A Python implementation of an MCP server that extracts webpage content, removes ads and non-essential elements, and transforms it into clean, LLM-optimized Markdown.
    4
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A 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.
    31
    MIT

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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