RSS feed aggregation and article extraction
## RSS Reader MCP Server: Feed Reading and Parsing The **RSS Reader MCP Server** integrates RSS/Atom feed reading into Google Antigravity, enabling feed parsing, content retrieval, and item management directly from your development environment. ### Why RSS Reader MCP? - **Universal Parsing**: Support for RSS 1.0, 2.0, Atom, and JSON Feed formats - **Content Normalization**: Consistent data structure across all feed types - **Enclosure Support**: Handle podcasts, videos, and other media enclosures - **Caching**: Built-in caching with conditional GET support - **Error Handling**: Graceful handling of malformed feeds ### Key Features #### 1. Feed Parsing ```python # Parse a feed feed = await mcp.parse_feed( url="https://blog.example.com/rss" ) print(f"Feed: {feed['title']}") print(f"Description: {feed['description']}") print(f"Items: {len(feed['items'])}") for item in feed["items"]: print(f" - {item['title']} ({item['published']})") ``` #### 2. Item Details ```python # Get detailed item information for item in feed["items"]: print(f"Title: {item['title']}") print(f"Link: {item['link']}") print(f"Author: {item['author']}") print(f"Categories: {item['categories']}") print(f"Content: {item['content'][:200]}...") # Handle enclosures (podcasts, etc) for enclosure in item.get("enclosures", []): print(f" Media: {enclosure['type']} - {enclosure['url']}") ``` #### 3. Feed Validation ```python # Validate feed validation = await mcp.validate_feed( url="https://example.com/feed" ) print(f"Valid: {validation['is_valid']}") print(f"Type: {validation['feed_type']}") if validation["warnings"]: for warning in validation["warnings"]: print(f"Warning: {warning}") ``` #### 4. Batch Operations ```python # Parse multiple feeds feeds = await mcp.parse_feeds([ "https://blog1.example.com/rss", "https://blog2.example.com/atom", "https://blog3.example.com/feed.json" ]) all_items = [] for feed in feeds: all_items.extend(feed["items"]) # Sort by date all_items.sort(key=lambda x: x["published"], reverse=True) ``` ### Configuration ```json { "mcpServers": { "rss-reader": { "command": "npx", "args": ["-y", "@anthropic/mcp-rss-reader"], "env": { "RSS_USER_AGENT": "RSSReader/1.0", "RSS_TIMEOUT": "10000", "RSS_CACHE_TTL": "300" } } } } ``` ### Use Cases **Content Integration**: Integrate external content feeds into applications and dashboards. **Podcast Processing**: Parse podcast feeds to extract episode information and media URLs. **News Aggregation**: Build custom news readers and content aggregation systems. **Data Pipeline**: Feed content into data processing pipelines for analysis. The RSS Reader MCP enables RSS/Atom feed parsing within your development environment.
{
"mcpServers": {
"rss-reader": {
"mcpServers": {
"rss-reader": {
"args": [
"-y",
"@kwp-lab/rss-reader-mcp"
],
"command": "npx"
}
}
}
}
}