Skip to main content
Glama
dmitriiweb

article-scraper-mcp

by dmitriiweb

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

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dmitriiweb/article-scraper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server