mcpField
A
Article Scraper Mcp

Article Scraper Mcp

Local
github.com/dmitriiwebBrowser Automation2Updated 61w ago

About Article Scraper Mcp

Article Scraper Mcp is an MCP server that fetches and parses news articles from URLs. It returns article metadata and text in structured data.

Key features

  1. 01Extract article title and text
  2. 02Extract author and publication date
  3. 03Validate URLs and handle errors
  4. 04Return structured article data

Use cases

  1. 01Retrieve article text from a URL
  2. 02Collect article metadata for processing

MCP support

The server exposes a fetch_article tool to MCP clients for retrieving and parsing articles by URL.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"article-scraper": {
"command": "uvx",
"args": [
"article-scraper-mcp"
]
}
}
}
Run commanduvx article-scraper-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypiarticle-scraper-mcp

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
urlstringYes

Details

From the project README

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 title
  • text: Article content text
  • author: 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 parsed
  • requests.RequestException: If HTTP request fails

Requirements

  • Python 3.11+
  • newspaper3k
  • requests
  • loguru
  • mcp[cli]

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.