Pullmd

Data and AIContent and CMS

Self-hosted URL- and file-to-Markdown service for humans and AI agents - web pages, documents, images, audio, YouTube. PWA + REST + MCP + Claude Code skill, Reddit-aware, refreshable share links.

Your AI app calls the Pullmd MCP server, which does the data and AI and content and CMS work and sends the result back to the chat.

About Pullmd

Pullmd is a community MCP server from AeternaLabsHQ, filed in our directory under data and ai and content and cms. Self-hosted URL- and file-to-Markdown service for humans and AI agents - web pages, documents, images, audio, YouTube. PWA + REST + MCP + Claude Code skill, Reddit-aware, refreshable share links.

At a glance

Publisher
AeternaLabsHQ (community)
Runs
See the README for setup
Written in
JavaScript
License
AGPL-3.0
GitHub stars
530

How to set up Pullmd

  1. Follow the install steps in the Pullmd README; it is written in JavaScript, so have that toolchain ready.
  2. Check the Pullmd README for keys or settings; the registry lists none that Pullmd requires.
  3. Add Pullmd to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Pullmd tools to confirm the connection.
  5. Run one read-only task with Pullmd first, and keep your app asking before each tool call until the results look right.

Pullmd compared with similar servers

  • Zero by xfey has fewer GitHub stars than Pullmd (518 against 530); both are community servers, and both run locally.
  • WireMCP by 0xKoda has more GitHub stars than Pullmd (609 against 530); both are community servers, and both run locally.
  • Notebooklm Skill by claude-world has fewer GitHub stars than Pullmd (507 against 530); both are community servers, and both run locally.

Before you connect Pullmd

  • Give Pullmd its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Pullmd tool call until you trust what it does with them.
  • Treat text that Pullmd fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Pullmd on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Pullmd

How marketing and sales teams put Pullmd to work, by company size. Pick the size closest to yours and start Pullmd on one use case.

Small business

  • A small team can use Pullmd to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Owners can ask Pullmd to sort feedback, reviews or survey answers into themes and see what customers mention most.
  • A small business can use Pullmd to draft, update and publish site pages from a chat, keeping the site fresh without an agency.
  • Pullmd runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect Pullmd to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Content and research teams can use Pullmd to analyze transcripts and surveys at scale and pull the quotes worth using.
  • Content teams can connect Pullmd to move drafts into the CMS with fields, tags and metadata filled in, ready for an editor.
  • Start Pullmd on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Pullmd inside their own cloud and data boundary, so models and data stay where governance requires.
  • Large teams can use Pullmd in batch pipelines with evaluation and logging, so AI output is measured before it reaches customers.
  • Enterprises can give Pullmd draft-only rights, so agents prepare content while publishing stays with approved editors.
  • Pullmd is a community server, so have security review the code and pin a version before Pullmd touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Pullmd README

From AeternaLabsHQ/pullmd on GitHub, shared under its AGPL-3.0 license. Images are left out; the original has them.

README.md

PullMD

Anything in, clean Markdown out. Self-hosted conversion of web pages, documents, images, audio and YouTube videos into token-lean Markdown, for you and for your AI agents.

Documentation: aeternalabshq.github.io/pullmd, with installation, configuration, guides, the API reference and the changelog.

Quick start · Use with AI agents · Docs (aeternalabshq.github.io/pullmd) · API reference · Configuration · Changelog

Why PullMD

Agents are bad at reading the web. Raw HTML burns context on navigation, cookie banners and scripts, and built-in fetch tools often stumble on JavaScript-heavy pages, PDFs and comment threads. PullMD sits in between: one URL or file in, clean Markdown out, with source and metadata in YAML frontmatter instead of the body.

curl "https://pullmd.example.com/api?url=https://example.com/article"

What that saves, measured on three public pages (tokens counted with the cl100k_base tokenizer, 2026-10-16):

Page Plain curl PullMD PullMD with ?query=
Encyclopedia article (long-form) 99,458 12,549 662
Developer documentation page 48,611 6,591 454
Reddit thread with comments, using Reddit API credentials blocked (bot check), no thread content 6,381 644

The curl column is what a naive fetch tool hands an agent. The last column is query-scoped extraction: only the sections relevant to a question.

Highlights

Reads almost anything

  • Web pages through a fallback chain: Cloudflare's native Markdown, then Readability + Trafilatura (best result wins), then headless Chromium for JavaScript-heavy sites
  • Raw text files served as text/plain (Markdown, code, data) read like an upload of the same file
  • Reddit and Hacker News threads with their comment trees (depth and count configurable; Reddit needs API credentials)
  • Documents: PDF, Word, PowerPoint, Excel, EPUB, by URL or upload, plus an optional OCR tier for table-grade PDFs that can describe their figures or host them as images (pdf_images). A long upload can run in the background (POST /api/file?async=1), so the web app can be left and the result picked up later. The uploaded file is never stored; the result is held in memory for up to 60 minutes, until you delete it. With store=true the result (never the file) is kept like a URL conversion, with a share link and a history entry that, on an instance without sign-in and with public history, everyone who can reach the instance sees
  • YouTube title, description and transcript with clickable timecodes, no API key needed
  • Images and audio via any OpenAI-compatible or local model (captions, transcripts)

Built for agents

  • MCP server for Claude Code and other MCP clients, with OAuth 2.1 for claude.ai and Claude Desktop
  • Query-scoped extraction: ?query= returns only the sections relevant to a question, typically 70-95% fewer tokens on long pages
  • Lean output: clean body, metadata in frontmatter, unpadded tables, configurable field allowlist
  • Live share links: /s/:id re-fetches when the cached copy is older than an hour and serves the last good snapshot if the source dies. PDF OCR conversions and stored uploads are served as stored

Comfortable to self-host

  • One docker compose up, zero config, multi-arch images (amd64/arm64) on Docker Hub and GHCR
  • Every sidecar is optional, and PullMD degrades gracefully without it
  • Auth modes from open homelab to multi-user, SSRF protection, rate limits, a health endpoint for Uptime Kuma
  • Per-site extraction recipes as declarative JSON

Four ways in: PWA · REST API · MCP server · Claude Code skill

Quick start

mkdir pullmd && cd pullmd
curl -O https://raw.githubusercontent.com/AeternaLabsHQ/pullmd/main/docker-compose.yml
docker compose up -d
# -> http://localhost:3000

No .env needed: every variable has a default. Add a .env next to the compose file to override anything. This starts PullMD and its three optional sidecars (Trafilatura, Playwright, MarkItDown); the Playwright sidecar alone adds about 3.7 GB of browser binaries. Images are on Docker Hub and on GHCR (ghcr.io/aeternalabshq/pullmd, -trafilatura, -playwright, -markitdown).

More in the docs:

Use with AI agents

Once your instance runs, /help on it shows every install path with your URL filled in. Replace ${PULLMD_URL} below with your instance's address.

MCP server (Claude Code, Cursor, other MCP clients; tools read_url, get_share, list_recent, plus get_image when image hosting is on):

claude mcp add --transport http pullmd ${PULLMD_URL}/mcp

Claude Code skill:

curl -O ${PULLMD_URL}/pullmd.zip
mkdir -p ~/.claude/skills && unzip pullmd.zip -d ~/.claude/skills/

Any chat agent: paste the prompt from /help or from the docs.

Details: MCP server · claude.ai and Claude Desktop (OAuth) · Claude Code skill · Prompt for any agent · MCP tools reference

Reddit access

PullMD reads Reddit through Reddit's Data API, using REDDIT_CLIENT_ID and REDDIT_CLIENT_SECRET from an existing app. Without them Reddit blocks the requests and /api answers 502.

Reddit stopped accepting new requests for API access on 2026-10-31. It says it will start removing access for apps and users that have not registered on 2027-01-12, and close public access for all remaining apps in March 2027 (announcement). PullMD's Reddit support ends with that access. PullMD has no login or session cookie option, and none is planned.

More: Reddit and Hacker News guide.

Documentation

Topic Page
How the extraction pipeline works How it works
REST endpoints and parameters API reference (OpenAPI spec)
Output, frontmatter, X-Source and status codes Output format
PDF, Office, e-mail and other documents Documents
Images and audio Images and audio
YouTube YouTube
Answer only what you asked (?query=) Query-scoped extraction
Share links and the cache Share links
Per-site extraction rules Site recipes and SITE-RECIPES.md
SSRF protection SSRF protection and SECURITY.md
Health checks and stats Monitoring
Something doesn't work Troubleshooting

AI tools can read the whole site as llms.txt. The docs live in website/; pages are Markdown, and pull requests are welcome.

Architecture

  • server.js - Express app factory (createApp) with dependency injection for tests. Exposes /api and /api/stream (SSE).
  • lib/reddit.js - Reddit URL normalization, redirect resolution, post + comment extraction.
  • lib/web.js - Orchestrator: Cloudflare-Markdown short-circuit, text/plain files to the upload readers, then static Readability + Trafilatura with pickBest, then optional Playwright re-render + re-extract on body-soup / low-quality output.
  • lib/render-decision.js - Predicate that decides when to fall back to Playwright (readability-fellback + thin, body-soup signature, or quality < 0.5; plus force / skip overrides).
  • lib/playwright-client.js - HTTP client for the Playwright sidecar with AbortSignal propagation for SSE-disconnect cancellation.
  • lib/scoring.js - Quality scoring used to pick between extractors and as a render-trigger heuristic.
  • lib/convert-pool.js - worker-thread pool that converts documents with a time and memory limit; lib/parse-guard.js - markup budgets checked before a document is parsed.
  • lib/cache.js - SQLite cache (better-sqlite3) with configurable retention (default 90 days) and 32-hex (128-bit) share ids; also holds stored uploads (rows without a URL) and the asset rows of hosted figures.
  • lib/ocr-images.js, lib/ocr-image-hosting.js, lib/image-store.js - OCR figure placeholders rewritten per pdf_images, and the file store behind /img/:file (images/ next to the database).
  • lib/mcp.js - Stateless MCP server registering read_url, get_share, list_recent and, with image hosting on, get_image.
  • lib/distrib.js - Public-URL substitution in /help and /pullmd.zip.
  • trafilatura-sidecar/ - Python sidecar (FastAPI) wrapping Trafilatura.
  • playwright-sidecar/ - Python sidecar (FastAPI + Playwright + Chromium) for JS-rendered pages.
  • markitdown-sidecar/ - Python sidecar (FastAPI) wrapping MarkItDown for document conversion (PDF, Office, EPUB, …) plus the keyless /youtube transcript endpoint.
  • lib/markitdown-client.js - HTTP client for the markitdown sidecar (documents + YouTube).
  • lib/youtube.js - YouTube URL detection and normalization.
  • lib/llm/ - provider resolver + adapters for image captioning (vision), audio transcription (STT), and PDF OCR against OpenAI-compatible endpoints.
  • lib/frontmatter.js - YAML frontmatter builder with the PULLMD_FRONTMATTER_FIELDS allowlist.
  • lib/coverage-guard.js - detects extractions that kept only a sliver of the page and recovers the container holding the body.
  • lib/article-series.js - detects pages that split one piece of writing across several <article> blocks by the same author and joins them.
  • lib/query-extract.js - Opt-in query-scoped extraction (?query=): BM25 over heading-based sections of the converted markdown, returning only the relevant sections/blocks. Composes lib/markdown-sections.js (block/section parser) and lib/bm25.js (tokenizer + scorer).
  • public/ - PWA frontend (vanilla JS, dark/paper themes, service worker, EventSource client for /api/stream).
  • skill/pullmd/ - Claude Code skill source (templated with __PULLMD_URL__).

License

GNU AGPL v3 - Copyright © 2026 Aeterna Labs.

PullMD is free software: you can redistribute it and modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 or later. If you run a modified version as a network service, you must make your modifications available to its users.

Questions about Pullmd

What is the Pullmd MCP server?

Self-hosted URL- and file-to-Markdown service for humans and AI agents - web pages, documents, images, audio, YouTube. PWA + REST + MCP + Claude Code skill, Reddit-aware, refreshable share links. Pullmd is maintained by AeternaLabsHQ on GitHub at AeternaLabsHQ/pullmd, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Pullmd MCP server?

Pullmd doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (AeternaLabsHQ/pullmd). Like most servers, Pullmd ends with a command or URL you paste into your AI app's MCP config.

Does Pullmd need an API key?

The registry lists no required keys for Pullmd. Check the Pullmd README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Pullmd an official MCP server?

No. Pullmd is a community server maintained by AeternaLabsHQ. Community servers can be excellent; read the code and the open issues before you give Pullmd access to company data.

What license is Pullmd under?

Pullmd is released under the AGPL-3.0 license, according to its GitHub repository. The license covers the code of Pullmd; the service it connects to has its own terms.