Skip to main content
Glama
soothill

Jarvis News MCP

by soothill

Jarvis News MCP

Un servidor local del Model Context Protocol que ofrece a Jarvis resúmenes de noticias actuales y con atribución de los feeds RSS oficiales de BBC News y Sky News.

El servidor no requiere ninguna clave de API. Solo obtiene los datos RSS de los editores cuando Jarvis llama a una herramienta, elimina las entradas duplicadas de los feeds, agrupa los reportajes similares de BBC/Sky y clasifica las noticias según su actualidad, la prominencia en el feed, los términos de impacto público y la cobertura compartida entre editores.

Qué puede invocar Jarvis

Herramienta

Propósito

get_news_summary

Devuelve un resumen clasificado de uno o ambos editores.

search_news

Encuentra noticias recientes sobre una persona, un lugar, una organización o un acontecimiento.

list_news_feeds

Muestra todos los feeds y categorías oficiales configurados.

Los resultados incluyen JSON estructurado además de Markdown legible. Cada noticia conserva su editor, su marca de tiempo y su enlace directo. Si un feed no está disponible, los demás feeds siguen devolviendo resultados y la respuesta incluye una advertencia.

Related MCP server: MCP News Server

Instalación

Requisitos: Node.js 20 o superior.

git clone https://github.com/soothill/news-mcp.git
cd news-mcp
npm ci
npm run build

El punto de entrada del servidor compilado es dist/index.js. Guarda la carpeta del proyecto en una ubicación permanente para que Jarvis pueda seguir lanzándolo.

Conectarlo a Jarvis

Si Jarvis acepta el formato de configuración habitual mcpServers, añade esta entrada a su configuración de MCP:

{
  "mcpServers": {
    "news": {
      "command": "node",
      "args": ["/absolute/path/to/News Feed/dist/index.js"]
    }
  }
}

Sustituye la ruta por la ruta absoluta del dist/index.js compilado de este proyecto. Ejecuta pwd en el directorio del proyecto en macOS o Linux para averiguar la parte de esa ruta que corresponde al proyecto. Hay una versión lista para editar en jarvis.mcp.example.json. Reinicia Jarvis después de cambiar su configuración.

Este servidor utiliza MCP a través de la entrada/salida estándar, un mecanismo pensado para un asistente local que lanza el servidor como proceso hijo. Deliberadamente no escribe ninguna salida ordinaria en la salida estándar porque ese canal está reservado para los mensajes de MCP.

Ejemplos de peticiones para Jarvis:

  • “Dame las cinco noticias más importantes de BBC y Sky de las últimas 12 horas.”

  • “¿Qué ha pasado hoy en la política del Reino Unido? Consulta ambas fuentes.”

  • “Busca información sobre computación cuántica en los últimos tres días de noticias de tecnología de BBC y Sky.”

  • “Actualiza los feeds y dame un resumen matutino conciso con enlaces a las fuentes.”

Para obtener el mejor resumen general, Jarvis debe llamar a get_news_summary con ambas fuentes y la categoría top. Para una investigación más amplia, puede solicitar varias categorías en una sola llamada.

Actualizar una instalación existente

Desde el directorio del proyecto:

git pull --ff-only
npm ci
npm run build

Reinicia Jarvis a continuación para que lance la nueva compilación.

Entradas de las herramientas

get_news_summary acepta:

  • sources: bbc, sky o ambas; por defecto, ambas.

  • categories: una o más de top, uk, world, us, business, politics, technology, science, health y entertainment; por defecto, top.

  • lookbackHours: 1–168; por defecto, 24.

  • maxStories: 1–30; por defecto, 10.

  • refresh: omite la caché en memoria de corta duración; por defecto, false.

search_news acepta las mismas entradas más un parámetro query obligatorio.

Sky no expone actualmente feeds RSS configurados para science ni health. Las peticiones de esas combinaciones devuelven el resultado de BBC junto con una advertencia clara.

Ajustes de ejecución

Variables de entorno opcionales:

Variable

Valor por defecto

Rango permitido

Significado

NEWS_CACHE_TTL_SECONDS

180

0–3600

Duración de la caché en memoria por feed.

NEWS_HTTP_TIMEOUT_MS

10000

1000–30000

Tiempo de espera máximo para cada petición al editor.

NEWS_USER_AGENT

JarvisNewsMCP/1.0...

—

User-Agent HTTP enviado a los feeds.

Desarrollo y comprobaciones

npm run check
npm test
npm run test:live

test:live se conecta a los feeds reales de noticias principales de BBC y Sky e imprime cinco noticias actuales. Todas las demás pruebas son deterministas y no requieren internet.

Solución de problemas

  • Si Jarvis no puede iniciar el servidor, comprueba que node --version indica la versión 20 o superior y que la ruta en su configuración de MCP es absoluta.

  • Si falta dist/index.js, ejecuta npm ci seguido de npm run build.

  • Si un resumen contiene advertencias de feeds, reinténtalo con refresh: true. El servidor devuelve los feeds operativos aunque otro feed no esté disponible.

  • Ejecuta npm run test:live para comprobar si esta máquina puede acceder a ambos editores.

  • El transporte de MCP utiliza la entrada/salida estándar. Ejecutar node dist/index.js directamente parece no hacer nada porque está esperando a un cliente de MCP; este comportamiento es el esperado.

Cómo se estima la “importancia”

El servidor es transparente en cuanto a su clasificación. Una noticia sube en la clasificación cuando es más reciente, aparece más cerca del principio del feed de un editor, aparece en un feed de noticias principales, contiene términos asociados a un gran impacto público o está cubierta de forma independiente por ambos editores. Esto es una estimación automatizada de relevancia, no un veredicto editorial ni fáctico.

El texto del resumen devuelto es una versión breve y depurada de los metadatos RSS proporcionados por el editor. Jarvis puede convertir esos resultados con atribución en un resumen más conversacional, pero no debe inventar detalles que no aparezcan en las noticias devueltas. El texto de los feeds se trata como datos no fiables y el servidor nunca lo interpreta como una instrucción.

Datos y términos del editor

Este proyecto utiliza los endpoints RSS oficiales de los editores y conserva la atribución y los enlaces. Antes de redistribuir o publicar el resumen resultante fuera del uso personal, revisa los términos actuales de los feeds de BBC y Sky. No se extraen ni se almacenan páginas de artículos, imágenes, cookies ni datos de usuario.

Available Tools

3 tools
get_news_summaryGet BBC and Sky news summaryA
Read-onlyIdempotent

Fetch and rank important recent events from official BBC News and Sky News RSS feeds. Returns short publisher-supplied summaries, links, timestamps, source corroboration, and partial-feed warnings.

NameRequiredDescriptionDefault
refreshNoBypass the short feed cache when true.
sourcesNoPublishers to include. Use both for corroboration.
categoriesNoNews sections to scan. 'top' is the best default briefing.
maxStoriesNoMaximum number of ranked story clusters to return.
lookbackHoursNoOnly include stories from this many hours ago.

Output Schema

NameRequiredDescription
storiesYes
warningsYes
storyCountYes
generatedAtYes
articleCountYes
lookbackHoursYes
requestedSourcesYes
requestedCategoriesYes

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds meaningful behavioral detail: it ranks events, relies on publisher-supplied summaries, provides source corroboration, and may return partial-feed warnings. This goes beyond the structured hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no fluff. The core action is front-loaded, and the return payload is listed concisely. Every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the rich input schema, full parameter descriptions, an output schema, and a complete set of safety annotations, the description covers the essential behaviors including rankings, source corroboration, and partial-feed warnings. Nothing critical is missing for a correct call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the parameters are fully self-documenting. The description does not add significant meaning beyond the schema; it only mentions corroboration and ranking, which loosely relate to the sources and maxStories parameters. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Fetch and rank') and a clear resource ('important recent events from official BBC News and Sky News RSS feeds'). It also states what is returned, which distinguishes it from siblings like search_news and list_news_feeds.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this tool is for getting ranked news summaries from BBC and Sky, but it does not explicitly contrast with search_news or list_news_feeds. There is no when-to-use or when-not-to-use guidance, leaving the agent to infer usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_news_feedsList configured news feedsA
Read-onlyIdempotent

List the official BBC News and Sky News RSS endpoints and categories this server can query.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription
feedsYes

TDQS

A4.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare the operation read-only, idempotent, and non-destructive, so the description carries less burden. It adds useful context by specifying the feeds are official BBC/Sky News endpoints and that the list is limited to what 'this server can query,' but does not describe other behaviors such as output format or ordering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, focused sentence with no redundant wording. It states the action and scope immediately and earns its place without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only listing tool with an output schema and comprehensive annotations, the description is complete. It tells the agent exactly what the tool returns and is sufficient to invoke correctly without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are no parameters, so the input schema carries no semantics to clarify. The description provides the relevant context about what will be listed, making parameter documentation unnecessary. A baseline of 4 is appropriate for a zero-parameter tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('List') and the exact resource ('official BBC News and Sky News RSS endpoints and categories this server can query'). This differentiates it from sibling tools like search_news and get_news_summary, which operate on news content rather than enumerating available feeds.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this tool is the discovery mechanism for available endpoints and categories before querying news. However, it does not explicitly name sibling tools or state when to use this tool instead of them, so the guidance is clear but not fully spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_newsSearch BBC and Sky newsA
Read-onlyIdempotent

Search recent BBC News and Sky News RSS stories for a specific person, place, organisation, or event, then return ranked and attributed matches.

NameRequiredDescriptionDefault
queryYesPlain-text topic to find in headlines and descriptions.
refreshNoBypass the short feed cache when true.
sourcesNoPublishers to include. Use both for corroboration.
categoriesNoNews sections to scan. 'top' is the best default briefing.
maxStoriesNoMaximum number of ranked story clusters to return.
lookbackHoursNoOnly include stories from this many hours ago.

Output Schema

NameRequiredDescription
storiesYes
warningsYes
storyCountYes
generatedAtYes
articleCountYes
lookbackHoursYes
requestedSourcesYes
requestedCategoriesYes

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish that this is a read-only, idempotent, non-destructive operation. The description adds useful behavioral context beyond that: it searches recent RSS stories, returns 'ranked and attributed matches,' and covers multiple news sources. No contradictions with the annotations are present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence with no wasted words. It front-loads the core purpose, names the sources, describes the query type, and states the output nature all in one pass.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only search tool with a rich input schema, full parameter documentation, and an output schema present, this description is complete enough. It communicates the domain, freshness, output format, and ranking behavior, while the schema and annotations cover the remaining operational details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already fully documents every parameter, including defaults, constraints, and meanings. The description itself adds no parameter-level detail beyond implying topical search, but it doesn't need to because the schema carries that weight.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific action ('Search'), the resource ('BBC News and Sky News RSS stories'), and the intended use case ('for a specific person, place, organisation, or event'). It also describes the output as 'ranked and attributed matches,' making it distinct from the sibling tools, which seem to summarize feeds or list them rather than perform targeted searches.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for when to use the tool: when you need recent news stories about a specific topic or entity. It doesn't explicitly mention the sibling tools or state when not to use them, but the phrasing implies a search-oriented use case that is different from listing or summarizing feeds.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv1.0.0
    • First observedget_news_summary
    • First observedlist_news_feeds
    • First observedsearch_news

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: fetching top stories, searching by query, and listing available feeds/categories. There is no realistic confusion between broad summaries, targeted search, or feed metadata.

Naming Consistency5/5

All tool names follow a consistent lowercase snake_case verb_noun pattern: get_news_summary, search_news, and list_news_feeds. The naming is predictable and easy to pattern-match.

Tool Count5/5

Three tools is well-scoped for a focused news RSS server. Each tool covers a distinct user need without redundancy or wasted surface area.

Completeness4/5

The core news workflows—listing available sources, getting a ranked summary, and searching stories—are covered. The main minor gap is that list_news_feeds advertises categories/endpoints but there is no explicit tool to fetch news from a specific category directly.

Maintenance

ActivityStale
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables searching news, fetching top headlines, listing sources, and generating tech briefings via NewsAPI, with an optional browser frontend.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Fetches news from trusted global sources using NewsAPI and RSS feeds, enabling search, headline retrieval, and source listing.
    -
  • A
    license
    A
    quality
    C
    maintenance
    Enables news search and headline retrieval using NewsAPI. Supports getting top headlines by country and category, and searching articles across thousands of sources.
    2
    MIT