Skip to main content
Glama
ofershap

mcp-server-scraper

by ofershap

mcp-server-scraper

npm version npm downloads CI TypeScript License: MIT Agent Plugins

Extract clean, readable content from any URL. Returns markdown text, links, and metadata. No API keys, no config. A free alternative to Firecrawl for scraping docs, blogs, and articles.

npx mcp-server-scraper

Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. No accounts or API keys needed.

MCP server for web scraping, content extraction, and URL metadata

Demo built with remotion-readme-kit

Why

When you're working with an AI assistant and need to reference a docs page, a blog post, or an API reference, you usually end up copy-pasting content manually. Tools like Firecrawl solve this but require a paid API key. This server does the same thing for free. It fetches a URL, runs it through Mozilla Readability (the same engine behind Firefox Reader View), and returns clean markdown. It works well for server-rendered content like documentation sites, blog posts, and articles. It won't handle JavaScript-heavy SPAs, but for the most common use case of "read this docs page and summarize it," it does the job.

Related MCP server: @hauntapi/mcp-server

Tools

Tool

What it does

scrape_url

Extract clean text content from a URL (Readability-powered)

extract_links

Get all links with href and anchor text

extract_metadata

Get title, description, OG tags, canonical, favicon

search_page

Search for a query string within the page, return matching lines

scrape_multiple

Batch scrape multiple URLs, get title + excerpt per URL

Quick Start

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "scraper": {
      "command": "npx",
      "args": ["-y", "mcp-server-scraper"]
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "scraper": {
      "command": "npx",
      "args": ["-y", "mcp-server-scraper"]
    }
  }
}

VS Code

Add to your MCP settings (e.g. .vscode/mcp.json):

{
  "mcp": {
    "servers": {
      "scraper": {
        "command": "npx",
        "args": ["-y", "mcp-server-scraper"]
      }
    }
  }
}

Examples

  • "Scrape the API docs from https://docs.example.com and summarize them"

  • "Extract all links from this page"

  • "What's the OG image and description for this URL?"

  • "Search this page for mentions of 'authentication'"

  • "Scrape these 5 URLs and give me a summary of each"

How it works

Uses Mozilla Readability (the engine behind Firefox Reader View) plus linkedom for fast HTML parsing in Node. No headless browser needed. Works best with server-rendered pages: docs, blogs, articles, news sites.

Agent Plugins

This repo is an Agent Plugins 1.0.0 package: plugin.json, portable mcp.json, and skills/ ship together with the MCP server.

For Cursor, clone the repo and copy or symlink it to ~/.cursor/plugins/local/mcp-server-scraper, then reload the window. Skills and MCP show up under Customize > Plugins.

The Cursor and VS Code install buttons above still work: they add the same npx -y mcp-server-scraper stdio server as manual JSON.

FAQ

What is mcp-server-scraper?

A free MCP server that turns public web pages into clean markdown using Mozilla Readability. No Firecrawl or other scrape API key.

Does it run JavaScript or SPAs?

No. It fetches HTML and parses it in Node. Use a browser MCP for React dashboards and other client-rendered sites.

How is this different from Firecrawl?

Firecrawl is a hosted scrape API with billing. This server runs locally via npx, costs nothing, and fits doc/blog/article URLs.

Can I install it as an Agent Plugin in Cursor?

Yes. Use the local plugin path under ~/.cursor/plugins/local/mcp-server-scraper so the bundled web-scraping skill loads with the MCP config.

Do I need API keys or env vars?

No. Point your MCP client at npx -y mcp-server-scraper only.

Development

npm install
npm run typecheck
npm run build
npm test

See also

More MCP servers and developer tools on my portfolio.

Author

Made by ofershap

LinkedIn GitHub


README built with README Builder

License

MIT © Ofer Shapira

Available Tools

5 tools
extract_metadataB

Extract page metadata: title, description, Open Graph tags (og:title, og:description, og:image), canonical URL, and favicon.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to extract metadata from

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states what metadata is extracted but doesn't disclose behavioral traits such as error handling, rate limits, authentication needs, or what happens if metadata is missing. This is a significant gap for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the purpose and lists specific metadata types. There is zero waste, and every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and a simple input schema, the description is adequate for a basic extraction tool but lacks completeness. It doesn't explain return values, error cases, or behavioral context, which are needed for full understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents the 'url' parameter. The description adds no additional parameter semantics beyond what the schema provides, such as URL format expectations or examples. Baseline 3 is appropriate when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'extract' and the resource 'page metadata', with specific examples of what metadata is extracted (title, description, Open Graph tags, canonical URL, favicon). It distinguishes from sibling tools like 'extract_links' by focusing on metadata rather than links.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'scrape_url' or 'search_page'. The description implies usage for extracting metadata from a URL but doesn't specify scenarios, prerequisites, or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

scrape_multipleA

Batch scrape multiple URLs. Returns title and excerpt for each. Failures are reported per URL without failing the whole batch.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlsYesArray of URLs to scrape

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden and does well by disclosing key behavioral traits: it's a batch operation, returns specific data (title and excerpt), and has fault-tolerant error handling. It doesn't mention rate limits, authentication needs, or performance characteristics, but covers the essential behavior adequately for a read-only scraping tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise with two sentences that each earn their place: the first states the core functionality and output, the second explains the error handling behavior. No wasted words, front-loaded with the most important information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (batch scraping with partial failure tolerance), no annotations, and no output schema, the description provides good context about what the tool does and how it behaves. It could be more complete by specifying output format details or limitations, but covers the essential aspects well for an agent to use it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100% with the 'urls' parameter fully documented as 'Array of URLs to scrape'. The description adds no additional parameter semantics beyond what the schema provides, but doesn't need to since the schema is complete. This meets the baseline of 3 for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Batch scrape multiple URLs') and the resource ('URLs'), distinguishing it from siblings like 'scrape_url' (single URL) and 'extract_links'/'extract_metadata' (different extraction types). It explicitly mentions what it returns ('title and excerpt for each'), making the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool: for batch processing of URLs where partial failures are acceptable ('Failures are reported per URL without failing the whole batch'). However, it doesn't explicitly mention when NOT to use it or name alternatives like 'scrape_url' for single URLs, which would have earned a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

scrape_urlA

Extract clean, readable text content from a URL using Mozilla Readability. Returns title, excerpt, and main content. Best for articles, docs, and blog posts.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to scrape

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the extraction method ('using Mozilla Readability') and return format, but lacks details on error handling, rate limits, authentication needs, or performance characteristics. It adequately describes the core behavior but misses deeper operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, followed by return values and usage context in just two sentences. Every sentence adds value without redundancy, making it highly efficient and well-structured for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (single parameter, no output schema, no annotations), the description is fairly complete: it covers purpose, method, returns, and usage context. However, it could improve by addressing potential limitations (e.g., handling non-article pages) or output structure details, slightly reducing completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the 'url' parameter fully documented in the schema itself. The description doesn't add any parameter-specific details beyond what the schema provides, such as URL format constraints or examples. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('Extract clean, readable text content') and resources ('from a URL using Mozilla Readability'), distinguishing it from siblings like extract_links (which extracts links) and extract_metadata (which extracts metadata). It also specifies the return values (title, excerpt, main content) and ideal use cases (articles, docs, blog posts).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on when to use this tool ('Best for articles, docs, and blog posts'), which helps differentiate it from siblings like scrape_multiple (for multiple URLs) or search_page (which might involve searching). However, it doesn't explicitly state when NOT to use it or name specific alternatives, keeping it from a perfect score.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_pageA

Search for a query string within the page text. Returns matching lines (one per line). Use for finding mentions of a term.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to search
queryYesThe search query

TDQS

A3.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. While it mentions the return format ('matching lines (one per line)'), it doesn't address important behavioral aspects like whether this is a read-only operation, potential rate limits, authentication requirements, error conditions, or how it handles large pages. For a search tool with zero annotation coverage, this leaves significant gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise with two sentences that each earn their place. The first sentence states the core functionality, and the second provides usage context and return format. There's zero wasted text, and the information is front-loaded appropriately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (search operation with 2 parameters), no annotations, and no output schema, the description provides basic but incomplete coverage. It explains what the tool does and the return format, but lacks details about behavioral constraints, error handling, and output structure that would be important for an AI agent to use it effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already documents both parameters (url and query) with their types and requirements. The description doesn't add any parameter-specific information beyond what's in the schema, such as query syntax, URL validation rules, or search scope details. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('search for', 'returns matching lines') and resource ('within the page text'). It distinguishes from sibling tools like extract_links, extract_metadata, scrape_multiple, and scrape_url by focusing specifically on text search rather than extraction or scraping operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool ('for finding mentions of a term'), which implicitly differentiates it from siblings that handle link extraction, metadata extraction, or general scraping. However, it doesn't explicitly state when NOT to use this tool or name specific alternatives among the siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 5 tool updatesv1.0.0
    • First observedextract_links
    • First observedextract_metadata
    • First observedscrape_multiple
    • First observedscrape_url
    • First observedsearch_page

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: extract_links focuses on hyperlinks, extract_metadata on page metadata, scrape_multiple on batch title/excerpt extraction, scrape_url on full content extraction, and search_page on text search. The descriptions make it easy to differentiate them, preventing misselection.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case (e.g., extract_links, scrape_url, search_page). The naming is predictable and readable throughout, with no deviations in style or convention.

Tool Count5/5

With 5 tools, this server is well-scoped for web scraping purposes. Each tool earns its place by covering distinct aspects of scraping (links, metadata, batch processing, content extraction, and search), avoiding bloat while providing comprehensive functionality.

Completeness4/5

The tool set covers core web scraping workflows effectively, including extraction, metadata, batch operations, and search. A minor gap exists in lacking explicit update or delete operations, but these are not typical for scraping tasks, and agents can work around this with the provided tools.

Maintenance

ActivityMaintained
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Web scraping MCP server for Al agents. 6 tools: extract clean text/markdown from any URL, structured scraping with CSS selectors, full-page screenshots via Playwright, link extraction with regex filtering, metadata extraction (OG tags, Twitter cards), and Google search. Free tier: 50 requests/IP/day.
    8
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Lightweight MCP server for web scraping, search, and crawling. Uses local trafilatura/DuckDuckGo by default with optional Firecrawl fallback for transport-blocked pages.
    4
    15
    MIT

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/ofershap/mcp-server-scraper'

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