Jarvis News MCP
Jarvis News MCP
Локальный сервер Model Context Protocol, который предоставляет Jarvis актуальные новостные сводки с указанием источников на основе официальных RSS-лент BBC News и Sky News.
Серверу не требуется API-ключ. Он получает RSS-данные издателей только тогда, когда Jarvis вызывает инструмент, удаляет дублирующиеся записи лент, группирует похожие сообщения BBC/Sky и ранжирует материалы по свежести, положению в ленте, терминам общественного значения и освещению несколькими издателями.
Что Jarvis может вызывать
Инструмент | Назначение |
| Вернуть ранжированную сводку по одному или обоим издателям. |
| Найти недавние новости о человеке, месте, организации или событии. |
| Показать все настроенные официальные ленты и категории. |
Результаты включают структурированный JSON, а также читаемый Markdown. Каждый материал сохраняет издателя, временную метку и прямую ссылку. Если одна лента недоступна, остальные ленты всё равно возвращаются, а ответ содержит предупреждение.
Related MCP server: MCP News Server
Установка
Требования: Node.js 20 или новее.
git clone https://github.com/soothill/news-mcp.git
cd news-mcp
npm ci
npm run buildТочка входа собранного сервера — dist/index.js. Храните папку проекта в постоянном месте, чтобы Jarvis мог продолжать запускать сервер.
Подключение к Jarvis
Если Jarvis поддерживает распространённый формат конфигурации mcpServers, добавьте эту запись в его MCP-конфигурацию:
{
"mcpServers": {
"news": {
"command": "node",
"args": ["/absolute/path/to/News Feed/dist/index.js"]
}
}
}Замените путь на абсолютный путь к собранному dist/index.js этого проекта. Выполните pwd в каталоге проекта на macOS или Linux, чтобы определить часть этого пути, относящуюся к проекту. Готовая к редактированию версия находится в jarvis.mcp.example.json. Перезапустите Jarvis после изменения конфигурации.
Этот сервер использует MCP через стандартный ввод/вывод; такой режим предназначен для локального ассистента, запускающего сервер как дочерний процесс. Он намеренно не выводит обычные данные в стандартный вывод, поскольку этот канал зарезервирован для MCP-сообщений.
Примеры запросов для Jarvis:
«Дай мне пять самых важных материалов BBC и Sky за последние 12 часов».
«Что сегодня произошло в политике Великобритании? Проверь оба источника».
«Найди в новостях технологий BBC и Sky за последние три дня упоминания квантовых вычислений».
«Обнови ленты и дай мне краткую утреннюю сводку со ссылками на источники».
Для наилучшей общей сводки Jarvis следует вызывать get_news_summary с обоими источниками и категорией top. Для более широкого исследования можно запросить несколько категорий за один вызов.
Обновление существующей установки
Из каталога проекта:
git pull --ff-only
npm ci
npm run buildПосле этого перезапустите Jarvis, чтобы он запускал новую сборку.
Входные параметры инструментов
get_news_summary принимает:
sources:bbc,skyили оба; по умолчанию — оба.categories: одна или несколько изtop,uk,world,us,business,politics,technology,science,healthиentertainment; по умолчанию —top.lookbackHours: 1–168; по умолчанию — 24.maxStories: 1–30; по умолчанию — 10.refresh: обойти кратковременный кэш в памяти; по умолчанию —false.
search_news принимает те же параметры, а также обязательный параметр query.
Sky в настоящее время не предоставляет настроенных RSS-лент science или health. Запросы с такими комбинациями возвращают результат BBC, а также понятное предупреждение.
Параметры времени выполнения
Необязательные переменные окружения:
Переменная | По умолчанию | Допустимый диапазон | Назначение |
|
| 0–3600 | Время жизни кэша в памяти для каждой ленты. |
|
| 1000–30000 | Тайм-аут для каждого запроса к издателю. |
|
| — | HTTP User-Agent, отправляемый лентам. |
Разработка и проверки
npm run check
npm test
npm run test:livetest:live обращается к реальным лентам главных новостей BBC и Sky и выводит пять текущих материалов. Все остальные тесты детерминированы и не требуют интернета.
Устранение неполадок
Если Jarvis не может запустить сервер, убедитесь, что
node --versionпоказывает версию 20 или новее и что путь в его MCP-конфигурации является абсолютным.Если
dist/index.jsотсутствует, выполнитеnpm ci, а затемnpm run build.Если сводка содержит предупреждения о лентах, повторите запрос с
refresh: true. Сервер возвращает рабочие ленты, даже если другая лента недоступна.Выполните
npm run test:live, чтобы проверить, достижимы ли оба издателя с этой машины.MCP-транспорт использует стандартный ввод/вывод. Запуск
node dist/index.jsнапрямую выглядит так, будто ничего не происходит, потому что сервер ожидает MCP-клиента; это нормально.
Как оценивается «важность»
Сервер прозрачен в отношении своего ранжирования. Материал поднимается выше, если он новее, находится ближе к началу ленты издателя, появляется в ленте главных новостей, содержит термины, связанные со значительным общественным влиянием, или независимо освещается обоими издателями. Это автоматическая оценка релевантности, а не редакционное или фактическое суждение.
Возвращаемый текст сводки — это короткая очищенная версия RSS-метаданных, предоставленных издателем. Jarvis может превратить эти результаты с указанием источников в более разговорную сводку, но не должен выдумывать детали, отсутствующие в возвращённых материалах. Текст лент рассматривается как ненадёжные данные и никогда не интерпретируется сервером как инструкция.
Данные и условия издателей
Этот проект использует официальные RSS-эндпоинты издателей и сохраняет атрибуцию и ссылки. Прежде чем распространять или публиковать полученную сводку за пределами личного использования, ознакомьтесь с текущими условиями использования лент BBC и Sky. Ни страницы статей, ни изображения, ни файлы cookie, ни пользовательские данные не извлекаются и не хранятся.
Available Tools
3 toolsget_news_summaryGet BBC and Sky news summaryARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Bypass the short feed cache when true. | |
| sources | No | Publishers to include. Use both for corroboration. | |
| categories | No | News sections to scan. 'top' is the best default briefing. | |
| maxStories | No | Maximum number of ranked story clusters to return. | |
| lookbackHours | No | Only include stories from this many hours ago. |
Output Schema
| Name | Required | Description |
|---|---|---|
| stories | Yes | |
| warnings | Yes | |
| storyCount | Yes | |
| generatedAt | Yes | |
| articleCount | Yes | |
| lookbackHours | Yes | |
| requestedSources | Yes | |
| requestedCategories | Yes |
TDQS
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.
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.
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.
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.
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.
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 feedsARead-onlyIdempotent
List the official BBC News and Sky News RSS endpoints and categories this server can query.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| feeds | Yes |
TDQS
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.
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.
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.
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.
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.
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 newsARead-onlyIdempotent
Search recent BBC News and Sky News RSS stories for a specific person, place, organisation, or event, then return ranked and attributed matches.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Plain-text topic to find in headlines and descriptions. | |
| refresh | No | Bypass the short feed cache when true. | |
| sources | No | Publishers to include. Use both for corroboration. | |
| categories | No | News sections to scan. 'top' is the best default briefing. | |
| maxStories | No | Maximum number of ranked story clusters to return. | |
| lookbackHours | No | Only include stories from this many hours ago. |
Output Schema
| Name | Required | Description |
|---|---|---|
| stories | Yes | |
| warnings | Yes | |
| storyCount | Yes | |
| generatedAt | Yes | |
| articleCount | Yes | |
| lookbackHours | Yes | |
| requestedSources | Yes | |
| requestedCategories | Yes |
TDQS
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.
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.
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.
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.
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.
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.
3 tool updates
v1.0.0- First observed
get_news_summary - First observed
list_news_feeds - First observed
search_news
TDQS
Scored across 3 tools
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.
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.
Three tools is well-scoped for a focused news RSS server. Each tool covers a distinct user need without redundancy or wasted surface area.
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
Related MCP Connectors
Cross-source news (AP, BBC, NPR, HN, Google News) with topic filtering and dedup.
Read Google News across 80 editions and any public Telegram channel, without an API key
Today's headlines and news search from 17 public sources in 7 languages. Free, no key.
Get access to real-time and historical news data including top headlines from global sources
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables searching news, fetching top headlines, listing sources, and generating tech briefings via NewsAPI, with an optional browser frontend.-
- FlicenseNot gradedqualityDmaintenanceFetches news from trusted global sources using NewsAPI and RSS feeds, enabling search, headline retrieval, and source listing.-
- FlicenseNot gradedqualityDmaintenanceEnables fetching top headlines, searching news articles across 150,000+ sources, and listing available news sources via NewsAPI.-
- AlicenseAqualityCmaintenanceEnables news search and headline retrieval using NewsAPI. Supports getting top headlines by country and category, and searching articles across thousands of sources.2MIT