npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

url-content-extractor-mcp

v1.0.5

Published

MCP server for extracting content from URLs with proper citations

Downloads

18

Readme

URL Content Extractor MCP Server

A Model Context Protocol server that extracts content from URLs and provides properly formatted citations. Perfect for AI assistants that need to access and cite web content.

🚀 Quick Start

Install and Run with uvx/npx

# Run directly with uvx (recommended)
uvx url-content-extractor-mcp

# Or with npx
npx url-content-extractor-mcp

Install Globally

npm install -g url-content-extractor-mcp
url-content-extractor-mcp

🔌 MCP Client Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "url-content-extractor": {
      "command": "uvx",
      "args": ["url-content-extractor-mcp"]
    }
  }
}

Continue.dev

Add to your MCP configuration:

{
  "mcpServers": {
    "url-content-extractor": {
      "command": "npx",
      "args": ["url-content-extractor-mcp"]
    }
  }
}

🛠️ Features

  • Multiple URL processing: Extract content from multiple URLs in one call
  • Citation formats: APA, MLA, and Simple citation styles
  • Smart content extraction: Focuses on main content, removes navigation/ads
  • Domain filtering: Allow/block specific domains for security
  • Metadata extraction: Title, author, publication date, description
  • Error handling: Graceful handling of failed URLs
  • TypeScript: Full type safety and modern JavaScript features

📖 Usage

The server provides one tool: extract_url_content

Single URL

Extract content from: https://example.com/article

Multiple URLs

Compare these articles: https://site1.com/news, https://site2.com/blog

Example Output

🌐 Web Content Extraction Results

Processed: 1 successful, 0 failed

## 📄 Extracted Content

**📄 Document 1: Breaking News Article**

**Source:** https://example.com/article
**Domain:** example.com
**Author:** Jane Reporter
**Published:** 2024-07-04
**Citation:** Jane Reporter. Breaking News Article. https://example.com/article

**Content:**
[Full article content here...]

## 📖 Citation Summary

1. Jane Reporter. Breaking News Article. https://example.com/article

⚙️ Configuration

The server includes sensible defaults but can be customized by modifying the source:

  • Max content length: 15,000 characters
  • Min content length: 500 characters
  • Timeout: 15 seconds
  • Max URLs per call: 5
  • Citation style: Simple (configurable to APA/MLA)
  • Blocked domains: localhost, 127.0.0.1, 0.0.0.0

🔒 Security

  • Domain filtering prevents access to local/internal resources
  • Request timeouts prevent hanging
  • Content length limits prevent memory issues
  • No execution of JavaScript from scraped pages

📋 Requirements

  • Node.js 18.0.0 or higher
  • Internet connection for URL fetching

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

📄 License

MIT License - see LICENSE file for details.

🐛 Issues

Report issues on GitHub Issues.

🔗 Links