guardian-mcp-server
Connects to The Guardian's archives dating back to 1999, providing access to over 1.9 million articles. Enables searching the archive, retrieving full article text, exploring tags, finding related content, analyzing publication trends over time, and getting journalist profiles. Supports queries by date, length, author, and section.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@guardian-mcp-server search for articles about AI regulation from the last year"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Guardian MCP Server
An MCP server that connects an LLM to the archives (since 1999) of The Guardian, including the full text of all articles — more than 1.9 million of them. Useful for real-time headlines, journalism analysis, and historical research.
Installation
A Guardian Open Platform API key is required. You can get one here: https://open-platform.theguardian.com/access/
The Guardian offers generous API access for non-commercial use of the archives, including up to 1 call/second and 500 calls/day. (See the full Terms & Conditions. Commercial use requires a different license.)
To install:
npx guardian-mcp-serverSample MCP client configuration:
{
"mcpServers": {
"guardian": {
"command": "npx",
"args": ["guardian-mcp-server"],
"env": {
"GUARDIAN_API_KEY": "your-key-here"
}
}
}
}Related MCP server: NYTimes MCP
Tool reference
guardian_search: search the archive for articles
Use thedetail_level parameter to determine the size of the API response and optimize performance: minimal (headlines only), standard (headlines, summaries, and metadata), or full (all content, including full article text).
{
"query": "climate change",
"section": "environment",
"detail_level": "minimal",
"from_date": "2024-01-01",
"order_by": "newest"
}guardian_get_article: retrieve individual articles
{
"article_id": "https://www.theguardian.com/politics/2024/dec/01/example",
"truncate": false // full content by default
}guardian_search_tags: search through The Guardian's 50,000-plus hand-assigned tags
guardian_find_related: find articles similar to an article (via shared tags)
guardian_get_article_tags: returns tags assigned to any article
{
"article_id": "politics/2024/example"
}guardian_lookback: historical search by date
guardian_content_timeline: analyze Guardian content on a particular topic over a defined period
{
"query": "artificial intelligence",
"from_date": "2024-01-01",
"to_date": "2024-06-30",
"interval": "month"
}guardian_top_stories_by_date: estimates editorial importance; The Guardian's API doesn't natively return data to differentiate between Page 1 stories and inside briefs, and this tries to hack a ranking together
{
"date": "2016-06-24", // Brexit referendum day
"story_count": 5
}guardian_topic_trends: compare multiple topics over time with correlation analysis and competitive rankings
{
"topics": ["artificial intelligence", "climate change", "brexit"],
"from_date": "2023-01-01",
"to_date": "2024-12-31",
"interval": "quarter"
}guardian_author_profile: generate profiles of Guardian journalists and what they cover
{
"author": "George Monbiot",
"analysis_period": "2024"
}guardian_longread: search The Long Read series, the paper's home for longform features
guardian_browse_section: browse recent articles from specific sections
guardian_get_sections: fetch all available Guardian sections
guardian_search_by_length: filter articles by word count
guardian_search_by_author: search articles by byline
guardian_recommend_longreads: get personalized Long Read recommendations based on interest
{
"count": 3,
"context": "I'm researching technology, especially AI",
"topic_preference": "digital culture"
}License
MIT license.
Available Tools
16 toolsguardian_author_profileC
Generate comprehensive profile analysis for a Guardian journalist
Inputs: author (required), analysis_period, from_date, to_date.
guardian_browse_sectionB
Browse recent articles from a specific Guardian section
Inputs: section (required), days_back, page_size.
guardian_content_timelineC
Analyze content timeline for a topic over time showing trends and peaks
Inputs: query (required), from_date (required), to_date (required), interval, +1 more.
guardian_get_articleB
Retrieve full content of a specific Guardian article
Inputs: article_id (required), show_fields, truncate.
guardian_get_article_tagsC
Get detailed tag information for a specific Guardian article
Inputs: article_id (required).
guardian_get_sectionsB
Get all available Guardian sections
Inputs: no named parameters.
guardian_longreadC
Search specifically for articles from The Long Read series
Inputs: query, from_date, to_date, page_size, +1 more.
guardian_lookbackC
Find top stories from a specific date or date range
Inputs: date (required), end_date, section, page_size.
guardian_recommend_longreadsC
Get personalized Long Read recommendations based on context and preferences
Inputs: count, context, from_date, topic_preference.
guardian_searchC
Search Guardian articles with flexible filtering options
Inputs: query, section, tag, from_date, +7 more.
guardian_search_by_authorC
Search Guardian articles by specific author/journalist
Inputs: author (required), query, section, from_date, +4 more.
guardian_search_by_lengthB
Search Guardian articles filtered by word count range
Inputs: query, min_words, max_words, section, +4 more.
guardian_search_tagsC
Search through Guardian's 50,000+ tags to find relevant ones
Inputs: query (required), page_size, page.
guardian_topic_trendsC
Compare trends of multiple topics over time with correlation analysis
Inputs: topics (required), from_date (required), to_date (required), interval.
guardian_top_stories_by_dateB
Get intelligently ranked top stories for a specific date using editorial prioritization
Inputs: date (required), story_count, section.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Most tools have distinct purposes, but there is some overlap between search-related tools (e.g., guardian_search, guardian_search_by_author, guardian_search_by_length) that could cause minor confusion, though their descriptions help differentiate them. Tools like guardian_get_article and guardian_get_article_tags are clearly separate, and others like guardian_content_timeline and guardian_topic_trends serve unique analytical functions.
All tool names follow a consistent snake_case pattern with a 'guardian_' prefix, using clear verb_noun combinations (e.g., guardian_browse_section, guardian_search_tags). This uniformity makes the tool set predictable and easy to navigate, with no deviations in naming style or structure.
With 16 tools, the count is slightly high but reasonable for a server focused on Guardian content access and analysis, covering browsing, searching, and trend analysis. It might feel a bit heavy, but each tool appears to serve a specific function without obvious redundancy, fitting the domain's scope.
The tool set provides comprehensive coverage for interacting with Guardian content, including retrieval (get_article), browsing (browse_section, get_sections), searching (search, search_by_author, search_by_length), analysis (content_timeline, topic_trends), and specialized features (longread, recommend_longreads). There are no apparent gaps for the stated purpose, enabling agents to perform a wide range of tasks without dead ends.
Maintenance
Related MCP Connectors
Search extracted newspaper articles from the Library of Congress, 1736-1963. Subscription required.
Search news in any language, track coverage over time, and research companies and events.
Search worldwide online news, track mention volume and tone over time, and watch saved queries.
Give your AI assistant access to the world’s news. Search articles in any language, track coverage over time, and research companies and events.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables users to search for the latest news articles from The Guardian using keywords and check service status. Provides access to Guardian's news content through their API with configurable result limits.1-
- AlicenseAqualityDmaintenanceEnables access to New York Times content through 5 specialized tools including article search, real-time news wire, most popular articles, monthly archives, and bestseller lists.51MIT
- AlicenseNot gradedqualityCmaintenanceEnables searching and retrieving articles, sections, and tags from The Guardian via the Guardian Open Platform API.83 npmMIT
- AlicenseNot gradedqualityBmaintenanceSearch, browse, and retrieve full article text from The Guardian's journalism archive (1999–present) via MCP with three tools.86 npm2Apache 2.0