
PostCrawl MCP Server
A Cloudflare Workers-based server that provides AI assistants with access to search and extract content from social media platforms, particularly Reddit, through the PostCrawl API.
README
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
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 install
- Start development server:
bun dev
- 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:
- Install MCP Inspector:
npx @modelcontextprotocol/inspector
- Use "Streamable HTTP" transport type
- Connect to:
https://postcrawl.com/mcp
- Add 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_KEY
Available 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 dev
ornpm 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 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.