
Article Scraper Mcp
@dmitriiweb
About Article Scraper Mcp
MCP to get an article text from an URL
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"article-scraper": {
"command": "uvx",
"args": [
"article-scraper-mcp"
]
}
}
}Tools
1Fetch a news article by URL and return structured data. Args: url: The URL of the news article. Returns: A dict with keys: title, text, author, date. Raises: ValueError: If URL is invalid or article cannot be parsed. requests.RequestException: If HTTP request fails.
Overview
What is Article Scraper Mcp?
Article Scraper Mcp is a Model Context Protocol (MCP) server that fetches article data from URLs using the newspaper3k library. It extracts title, text, author, and publication date, providing structured output for use with MCP clients.
How to use Article Scraper Mcp?
Install the package from PyPI with uvx article-scraper-mcp. Add it to your MCP client’s configuration by including a server entry with the command uvx and arguments ["article-scraper-mcp"]. After configuration, invoke the fetch_article tool by passing a URL.
Key features of Article Scraper Mcp
- Extracts article title, text, author, and publication date
- Robust error handling with URL validation
- Returns structured dictionary output
- Built with FastMCP for easy MCP integration
- Raises clear exceptions for invalid URLs or HTTP failures
Use cases of Article Scraper Mcp
—
FAQ from Article Scraper Mcp
How do I install Article Scraper Mcp?
Install directly from PyPI by running uvx article-scraper-mcp in your terminal.
What data does the fetch_article function return?
It returns a dictionary containing the article’s title, full text, author (may be None), and publication date (may be None, in ISO format).
What happens if the URL is invalid or the article cannot be parsed?
If the URL is invalid or parsing fails, the server raises a ValueError. If the HTTP request itself fails, it raises a requests.RequestException.
What are the system requirements for running Article Scraper Mcp?
Python 3.11 or higher is required, along with the packages newspaper3k, requests, loguru, and mcp[cli].
Frequently asked questions
How do I install Article Scraper Mcp?
Install directly from PyPI by running `uvx article-scraper-mcp` in your terminal.
What data does the `fetch_article` function return?
It returns a dictionary containing the article’s `title`, full `text`, `author` (may be None), and publication `date` (may be None, in ISO format).
What happens if the URL is invalid or the article cannot be parsed?
If the URL is invalid or parsing fails, the server raises a `ValueError`. If the HTTP request itself fails, it raises a `requests.RequestException`.
What are the system requirements for running Article Scraper Mcp?
Python 3.11 or higher is required, along with the packages newspaper3k, requests, loguru, and mcp[cli].
Basic information
More Browser Automation MCP servers
browser-use-mcp-server
co-browserBrowse the web, directly from Cursor etc.
BrowserTools MCP
AgentDeskAIMonitor browser logs directly from Cursor and other MCP compatible IDEs.
Puppeteer MCP Server
merajmehrabiThis MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows.
Firecrawl Mcp Server
mendableai🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
MCP Browser Kit
ndthanhdevAn MCP Server that enables AI assistants to interact with your local browsers.
Comments