# rawfy

> Convert any URL, PDF, or JavaScript-heavy site into clean, structured Markdown and JSON for AI agents.

rawfy is a free AI agent skill on Agensi by Rishii, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Rishii](https://www.agensi.io/creators/rishii)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/rawfy
- Tags: api, scraping, markdown, mcp-server, node-js, python

## About this skill

Web scraping for LLMs often results in noisy HTML, broken layouts, or empty responses from JavaScript-heavy sites. This skill provides a clean extraction layer that converts any URL into structured, machine-readable Markdown or JSON.

### What it does
- **Content extraction** converts messy web pages into clean Markdown, JSON, or plain text.
- **Multi-format support** handles standard HTML, JavaScript-rendered SPAs, and PDF files natively.
- **Structured output** returns a consistent object containing the page title, body content, metadata, and a link map.
- **Interface flexibility** provides access via CLI, MCP server, REST API, Node.js SDK, or Python wrapper.
- **Agentic pipeline integration** enables research loops by fetching content and passing structured data to downstream summarizers or analyzers.

### How it works
1. **Selection** Choose the interface that matches your environment, such as the CLI for terminal work or MCP for agentic tool calls.
2. **Extraction** Run the fetch command with the target URL and optional flags for format or JavaScript waiting.
3. **Processing** The tool parses the DOM, extracts core content, and strips out noise like ads or navigation.
4. **Integration** Use the resulting structured JSON or Markdown directly in your LLM context or database.

### Frameworks & tools
Built for Node.js environments and Python wrappers. It integrates with MCP-compatible agents (like Claude Desktop) and provides a REST API for microservice architectures.

### Why this beats prompting it yourself
Writing custom scrapers for every site is brittle and time-consuming. This skill handles the edge cases of modern web tech, like SPAs and PDFs, delivering pre-cleaned data that saves token costs and prevents model hallucinations caused by HTML noise.

### Use cases
- **Research agents** fetching web documentation to generate technical summaries.
- **Link crawlers** extracting link arrays to map out website architectures.
- **Data extraction** turning product pages into structured JSON for price tracking.
- **Knowledge retrieval** converting PDFs and articles into Markdown for RAG systems.

### Known limitations
Does not support local file paths or direct API endpoints that already return JSON. JS-heavy sites may require specific wait flags to ensure full content rendering.

## Requires

- rawfy
- Node.js
- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the rawfy skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does rawfy improve the quality of data fed into my AI agents?

rawfy converts complex URLs, JavaScript-heavy SPAs, and PDFs into clean Markdown or JSON, removing ads and navigation noise to reduce LLM token costs and prevent hallucinations.

### Which AI agents and frameworks can I use this skill with?

It is fully compatible with MCP-enabled agents like Claude Desktop, and can be integrated into any environment via its REST API, Node.js SDK, or Python wrapper.

### What exactly is included in the rawfy package?

Your purchase includes the core extraction engine, the CLI tool, the MCP server for agentic tool calling, and full access to the Node.js and Python integration libraries.

### Can rawfy handle websites that require JavaScript to render their content?

Yes, for sites that load content dynamically, you can use specific 'wait' flags to ensure the tool captures the fully rendered page before processing the content.

### Are there any specific types of content or files that rawfy cannot process?

While rawfy excels at public web pages and PDFs, it does not currently support local file path ingestion or sites that already serve raw JSON data.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
