📦
Article Scraper MCP
MCP to get an article text from an URL
0 installs
2 stars
Trust: 49 — Fair
Browser
Installation
npx article-scraper-mcpAsk AI about Article Scraper MCP
Powered by Claude · Grounded in docs
I know everything about Article Scraper MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
Article Scraper MCP
A Model Context Protocol (MCP) server that fetches article data from URLs using newspaper3k.
Features
- Extract article title, text, author, and publication date
- Robust error handling and URL validation
- Structured data output
- Built with FastMCP for easy integration
Installation
Install directly from PyPI:
uvx article-scraper-mcp
Usage
Add to your MCP client configuration:
{
"mcpServers": {
"article-scraper": {
"command": "uvx",
"args": ["article-scraper-mcp"]
}
}
}
API
fetch_article(url: str) -> dict[str, Any]
Fetches and parses a news article from the given URL.
Parameters:
url: The URL of the news article to fetch
Returns: A dictionary containing:
title: Article titletext: Article content textauthor: Author name(s) (may be None)date: Publication date in ISO format (may be None)
Raises:
ValueError: If URL is invalid or article cannot be parsedrequests.RequestException: If HTTP request fails
Requirements
- Python 3.11+
- newspaper3k
- requests
- loguru
- mcp[cli]
License
MIT
