PostCrawl MCP Server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Install dependencies:
npm installStart development server:
bun devThe 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:
Install MCP Inspector:
npx @modelcontextprotocol/inspectorUse "Streamable HTTP" transport type
Connect to:
https://postcrawl.com/mcpAdd Authorization header with your PostCrawl API key
Test the available tools
Authentication
The server requires a PostCrawl API key provided as a Bearer token:
Authorization: Bearer YOUR_POSTCRAWL_API_KEYAvailable MCP Tools
1. search
Search for posts across social media platforms.
Parameters:
query(string, required): Search querypage(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 frominclude_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 devornpm run dev- Start development servernpm run deploy- Deploy to Cloudflare Workersnpm run type-check- Run TypeScript type checkingnpm run cf-typegen- Generate Cloudflare Worker types
Deployment
Deploy to Cloudflare Workers:
npm run deployConfiguration
The PostCrawl API configuration:
Base URL:
https://edge.postcrawl.comDefault 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Reddit posts, comments, keyword search and historical archives as tools. Runs on Apify.
Query Reddit communities, posts, brands and trends from your AI agent. OAuth 2.1.
Reddit posts, comments, subreddits, and search for AI agents. Free key, self-minted, no signup.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn authless Cloudflare Workers server that provides tools to scrape, analyze, and answer questions about websites using Cloudflare's Browser Rendering and AI capabilities.6-
- AlicenseNot gradedqualityDmaintenanceA Cloudflare Workers-based server that extracts clean, formatted text from web pages using WebforAI and makes it accessible to AI models through the Model Context Protocol.3MIT
- AlicenseAqualityAmaintenanceEnables 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.52,001 npm874MIT
- AlicenseNot gradedqualityFmaintenanceEnables reading public Reddit posts and comments on demand, with tools to search, get recent posts, post details, top comments, and server status. Runs on Cloudflare Workers for use with Claude and Open WebUI.MIT