Skip to main content
Glama
post-crawl

PostCrawl MCP Server

Official
by post-crawl

PostCrawl MCP Server

A Cloudflare Workers-based Model Context Protocol (MCP) server that provides access to the PostCrawl API for searching and extracting content from social media platforms, particularly Reddit.

Overview

PostCrawl is an API service that allows you to search for posts across social media platforms and extract their content. This MCP server provides a seamless interface to the PostCrawl API, enabling AI assistants to:

  • Search for posts with customizable parameters

  • Extract content from specific URLs

  • Retrieve posts with markdown formatting

  • Control extraction depth with simplified boolean parameter

  • Check API health status

Related MCP server: WebforAI Text Extractor MCP Server

Quick Start

Prerequisites

  • Node.js (latest LTS version)

  • Bun (recommended) or npm

  • A Cloudflare account (for deployment)

  • PostCrawl API key

  • MCP Inspector (for testing)

Installation

  1. Install dependencies:

npm install
  1. Start development server:

bun dev
  1. The server will be available at http://localhost:8787

Testing with MCP Inspector

The simplest way to test this MCP server is using MCP Inspector.

📖 See how-to-use.md for detailed step-by-step instructions with screenshots.

Quick overview:

  1. Install MCP Inspector: npx @modelcontextprotocol/inspector

  2. Use "Streamable HTTP" transport type

  3. Connect to: https://postcrawl.com/mcp

  4. Add Authorization header with your PostCrawl API key

  5. Test the available tools

Authentication

The server requires a PostCrawl API key provided as a Bearer token:

Authorization: Bearer YOUR_POSTCRAWL_API_KEY

Available MCP Tools

Search for posts across social media platforms.

Parameters:

  • query (string, required): Search query

  • page (int, optional): Page number (default: 1)

  • results (int, optional): Number of results (default: 10)

  • social_platforms (string[], optional): Social platforms to search

2. search_and_extract

Search for posts and extract their content in a single operation.

Same parameters as search with additional:

  • response_mode (string, optional): Response format - "raw" or "markdown" (default: "raw")

  • include_comments (boolean, optional): Include comments and replies (default: false)

3. extract

Extract content from specific URLs.

Parameters:

  • urls (string[], required): List of URLs to extract content from

  • include_comments (boolean, optional): Include comments and replies (default: false)

  • response_mode (string, optional): Response format - "raw" or "markdown" (default: "raw")

4. check_health

Check the health status of the PostCrawl API.

Parameters: None

Development Scripts

  • bun dev or npm run dev - Start development server

  • npm run deploy - Deploy to Cloudflare Workers

  • npm run type-check - Run TypeScript type checking

  • npm run cf-typegen - Generate Cloudflare Worker types

Deployment

Deploy to Cloudflare Workers:

npm run deploy

Configuration

The PostCrawl API configuration:

  • Base URL: https://edge.postcrawl.com

  • Default timeout: 30 seconds per request

  • Primary platforms: Reddit and TikTok

  • Response formats: Raw JSON and Markdown

Rate Limits

Rate limits depend on your PostCrawl API plan. The server includes appropriate error handling for rate limit responses.

Architecture

  • Hono: Web framework for Cloudflare Workers

  • agents/mcp: MCP agent framework

  • @modelcontextprotocol/sdk: MCP protocol implementation

  • zod: Runtime type validation

  • PostCrawl API: Social media content extraction service

Error Handling

The server provides comprehensive error handling for:

  • Missing or invalid authentication

  • PostCrawl API errors

  • Invalid request parameters

  • Network timeouts

License

This project is licensed under the ISC License.

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to browse Reddit, search posts, analyze user activity, and fetch comments without requiring API keys. Features smart caching, clean data responses, and optional authentication for higher rate limits.
    8
    5
    1,699
    799
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A read-only Reddit research server that exposes search, subreddit top posts, post details, and comment retrieval as typed tools with polite rate-limiting and citation lineage.
    MIT

View all related MCP servers

Related MCP Connectors

  • Reddit posts, comments, subreddits, and search for AI agents. Free key, self-minted, no signup.

  • Public social-data API and live docs for AI coding agents.

  • Reddit & X data for AI agents over MCP. Semantic search, hosted, no Reddit API.

View all MCP Connectors

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/post-crawl/mcp'

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