Skip to main content
Glama

English | 简体中文


✨ Why Negentropy Perceives?

In the vast ecosystem of AI agent projects, the "dirty work" of information perception often degenerates into fragile, unmaintainable chaos over time. Grounded in our core engineering philosophy of Orthogonal Decomposition and Entropy Reduction (Negentropy), we completely quarantine the mess of low-level network communications and format deconstruction. We only inject pure, undisputed certainty into your sandbox:

  • 🕵️ Web Page to Markdown: Facing heavily-rendered SPAs and fortified anti-scraping defenses? The engine comes armed with a built-in 5-tier penetration mechanism (ranging from hyper-concurrency to headless stealth browser rotation). "What You See Is What You Get" — tearing through waterfall setups is a walk in the park.

  • 📑 PDF to Markdown: Stop compromising over misaligned tables and mangled characters. Powered by our proprietary "Engine Arena" mechanism, engaging Smart mode summons an LLM as the ultimate referee. It coordinates 7 specialized engines (including Docling, PyMuPDF, etc.) performing concurrent deconstruction to precisely extract LaTeX formulas, gnarly table matrices, and deep layout structures.

  • 🦾 Heavy-Duty Infrastructure: Abandon toy-grade SDK wrappers. Our core is hardwired with resilient exponential backoffs, multi-layered rate-limiting circuit breakers, and aggressive memory caching mechanisms. Riding on full-duplex asyncio, it maxes out the absolute throughput limit of a single node.

  • 🔌 Native MCP Integration: We firmly embrace the pristine Model Context Protocol specification. Leveraging standard HTTP / STDIO / SSE transports, it abandons redundant glue code for seamless, zero-friction injection into Claude Desktop or Cursor environments.


Related MCP server: scrapy-mcp

Quick Start

1. Millisecond Loading

# We recommend using uv (Python 3.13+ required)
uv add negentropy-perceives

2. Ignite the Engine

uv run negentropy-perceives  # Defaults to listening on localhost:2992, HTTP mode

💡 Advanced Arsenal: Upon first launch, Negentropy Perceives will auto-generate its configuration at ~/.negentropy/perceives.config.yaml. Hidden inside are the switches for high-tier warfare.

3. Witness True Perception

import asyncio
from negentropy.perceives.sdk import NegentropyPerceivesClient

async def perceive_world():
    async with NegentropyPerceivesClient() as client:
        result = await client.parse_webpage_to_markdown(
            url="https://en.wikipedia.org/wiki/Entropy",
        )
        print("====== Pure Nectar Extracted ======")
        print(result.markdown_content[:250], "......\n")
        print(f"📊 Pure words retrieved from the noise: {result.word_count}")

asyncio.run(perceive_world())

4. Connect the MCP Client

Add the following to your claude_desktop_config.json in Claude Desktop:

{
  "mcpServers": {
    "negentropy-perceives": {
      "type": "http",
      "url": "http://localhost:2992/mcp"
    }
  }
}

Supports three transport modes: STDIO (local dev), HTTP (production-recommended), and SSE (compatibility mode). See the User Guide for the comprehensive configuration.


Core Capabilities

Toolkit Overview

Tool

Function

Use Case

discover_links

Discover webpage links, supports domain filtering

Site map discovery, link audits

inspect_page

Inspect page metadata (status code, content type, etc.)

Target page pre-flight check

parse_webpage_to_markdown

Webpage to Markdown

Granular single-page extraction

parse_webpages_to_markdown

Batch Webpages to Markdown

Knowledge base building, site archives

parse_pdf_to_markdown

PDF to Markdown

Academic papers, financial reports

parse_pdfs_to_markdown

Batch PDFs to Markdown

Mass document digitization

WARNING

Please adhere to the targeted website's Terms of Service (TOS) and sensibly restrict request frequencies. This tool is intended exclusively for legal and compliant data acquisition.

Web Scraping Strategies

Method

Description

auto

Smart selection (Recommended)

simple

Standard HTTP request, ideal for static pages

selenium

Browser rendering, seamlessly executes JS

stealth_selenium

Covert Selenium, shatters anti-scraping blocks

stealth_playwright

Stealth Playwright, lightweight anti-detection

PDF Engines

Engine

Specialty

GPU Acceleration

Docling

AI layout analysis, table recognition

CUDA / MPS / XPU

MinerU

Deep learning structure analysis, LaTeX

CUDA / MLX

Marker

Academic documents, Nougat model

CUDA

PyMuPDF

Lightning-fast text extraction

—

PyPDF

Absolute baseline fallback

—

In auto mode, the system cascades through a graceful degradation chain: Docling → MinerU → Marker → PyMuPDF → PyPDF. Activating smart mode enlists an LLM to orchestrate a competitive parallel run across engines, ultimately fusing the optimum output.


Architectural Landscape

graph TD
    A["SDK Layer<br/>NegentropyPerceivesClient"] -.->|"HTTP Transport"| T["MCP Tool Layer<br/>6 Tools · @app.tool()"]
    T --> P["Pipeline Layer<br/>Stage Orchestration · Competition/Fallback"]
    T --> B["Processing Engine Layer<br/>Scraping · PDF · Markdown"]
    P --> B
    B --> C["Infrastructure Layer<br/>RateLimiter · Cache · Metrics · ErrorHandler · Retry"]
    C --> D["Configuration Layer<br/>pydantic-settings · Env Vars"]

    style A fill:#4c1d95,stroke:#a78bfa,color:#ffffff
    style T fill:#1e3a8a,stroke:#3b82f6,color:#ffffff
    style P fill:#b45309,stroke:#f59e0b,color:#ffffff
    style B fill:#166534,stroke:#22c55e,color:#ffffff
    style C fill:#134e4a,stroke:#14b8a6,color:#ffffff
    style D fill:#581c87,stroke:#9333ea,color:#ffffff

A 5-tier orthogonal architecture: SDK → MCP Tools → Pipeline Orchestration → Processing Engines → Infrastructure, with the Configuration Layer interweaving through everything. Featuring a 10-Stage PDF Pipeline and a 12-Stage WebPage Pipeline that strictly enforce both fallback and competitive execution models.


Documentation Navigator

Document

Content

Who is it for

User Guide

Deep dive into 6 tools, MCP Server setup, SDK interfaces, advanced tweaks

All Users

Architecture Design

5-tier architecture, Pipeline orchestration, engine fallbacks, Smart Mode

Architects / Contributors

Developer Guide

Environment setup, test framework, CI/CD, PR guidelines

Developers

Changelog

Release history and change logs

Everyone


Community & Contributions

Beyond the World Wide Web and massive unstructured texts lies an abyss of noise. Only through relentless code evolution can we forge ahead steadily. If you hold the inspiration to pull chaos back into order, please do not hesitate to share:

  1. Before striking your keyboard, flip through the Developer Guide along the way.

  2. Hurl your paradigm-shifting ideas at our Issues or directly submit a Pull Request armed with game-changing power.


Available Tools

10 tools
check_robots_txtB

Check the robots.txt file for a domain to understand crawling permissions.

This tool helps ensure ethical scraping by checking the robots.txt file of a website to see what crawling rules are in place.

Inputs: url (required). Returns: object

clear_cacheA

Clear the scraping results cache.

This removes all cached scraping results, forcing fresh requests for all subsequent scraping operations.

Inputs: no named parameters. Returns: object

extract_structured_dataC

Extract structured data from a webpage using advanced techniques.

Automatically detects and extracts:

  • Contact information (emails, phone numbers)

  • Social media links

  • Addresses

  • Prices and product information

  • Article content

data_type can be: all, contact, social, content, products, or addresses

Inputs: url (required), data_type. Returns: object

fill_and_submit_formA

Fill and optionally submit a form on a webpage.

This tool can handle various form elements including:

  • Text inputs

  • Checkboxes and radio buttons

  • Dropdown selects

  • File uploads

  • Form submission

Useful for interacting with search forms, contact forms, login forms, etc.

Inputs: request (required). Returns: object

get_page_infoA

Get basic information about a webpage (title, description, status).

This is a lightweight tool for quickly checking page accessibility and getting basic metadata without full content extraction.

Inputs: url (required). Returns: object

get_server_metricsB

Get server performance metrics and statistics.

Returns information about:

  • Request counts and success rates

  • Performance metrics

  • Method usage statistics

  • Error categories

  • Cache statistics

Inputs: no named parameters. Returns: object

scrape_multiple_webpagesB

Scrape multiple webpages concurrently.

This tool allows you to scrape multiple URLs at once, which is much faster than scraping them one by one. All URLs will be processed concurrently.

Inputs: request (required). Returns: object

scrape_webpageA

Scrape a single webpage and extract its content.

This tool can scrape web pages using different methods:

  • auto: Automatically choose the best method

  • simple: Fast HTTP requests (no JavaScript)

  • scrapy: Robust scraping with Scrapy framework

  • selenium: Full browser rendering (supports JavaScript)

You can specify extraction rules to get specific data from the page.

Inputs: request (required). Returns: object

scrape_with_stealthB

Scrape a webpage using advanced stealth techniques to avoid detection.

This tool uses sophisticated anti-detection methods including:

  • Undetected browser automation

  • Randomized behavior patterns

  • Human-like interactions

  • Advanced evasion techniques

Use this for websites with strong anti-bot protection.

Inputs: request (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap between scrape_webpage and scrape_with_stealth, as both scrape single webpages with different methods. The descriptions help clarify the stealth aspect, but an agent might initially confuse them. Other tools like extract_links vs. extract_structured_data are well-differentiated.

    Naming Consistency5/5

    All tool names follow a consistent snake_case pattern with clear verb_noun structures, such as check_robots_txt, clear_cache, and scrape_webpage. There are no deviations in naming conventions, making the set predictable and easy to parse.

    Tool Count5/5

    With 10 tools, the server is well-scoped for web scraping and data extraction tasks. Each tool serves a specific function, from basic scraping to advanced operations like form handling and stealth techniques, without feeling overloaded or sparse.

    Completeness4/5

    The toolset covers a broad range of web scraping operations, including single and multi-page scraping, data extraction, form interaction, and performance metrics. A minor gap is the lack of tools for managing scraping sessions or saving/exporting data, but core workflows are well-supported.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A powerful MCP server that offers web scraping capabilities unrestricted by robots.txt, supports multiple HTTP methods and custom request Settings.
      2
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      A headless web-scraping MCP server built on Scrapy, providing tools for polite fetching, CSS/XPath extraction, link/table extraction, sitemap and robots.txt reading, and bounded asynchronous crawls.
      10
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Secure, agent-driven web data extraction MCP server that extracts structured data from websites using APIs, RSS, and HTML without requiring a browser.
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      Open-source web scraping MCP server with anti-bot bypass, enabling AI models to scrape, crawl, search, and extract data from any website without API keys or limits.
      -