Skip to content

post-crawl/mcp-zed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostCrawl MCP for Zed - Reddit & TikTok Content Extraction

This extension provides a Model Context Server for PostCrawl, enabling Zed AI Agent to search and extract content from Reddit and TikTok.

Overview

PostCrawl is a content extraction API specifically designed for Reddit and TikTok. This MCP server provides AI assistants with access to PostCrawl's powerful crawling capabilities for these two platforms.

Available Tools

The PostCrawl MCP server provides the following tools:

1. search

Search for posts across Reddit and TikTok.

  • 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): Choose from ["reddit", "tiktok"]

2. search_and_extract

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

  • Parameters: Same as search, plus:
    • response_mode (string, optional): "raw" or "markdown" (default: "raw")
    • include_comments (boolean, optional): Include comments and replies (default: false)

3. extract

Extract content from specific Reddit and TikTok URLs.

  • Parameters:
    • urls (string[], required): List of Reddit or TikTok URLs to extract content from
    • include_comments (boolean, optional): Include comments and replies (default: false)
    • response_mode (string, optional): "raw" or "markdown" (default: "raw")

4. check_health

Check the health status of the PostCrawl API.

  • Parameters: None

Installation

This extension can be installed from the Zed extensions marketplace.

Zed Configuration

To configure PostCrawl MCP in Zed:

  1. Open Zed settings.json and add the following configuration:
{
  "context_servers": {
    "mcp-server-postcrawl": {
      "settings": {
        "postcrawl_api_key": "YOUR-API-KEY"
      }
    }
  }
}

Replace YOUR-API-KEY with your PostCrawl API key. If you don't have one yet, sign up at postcrawl.com to get your API key.

Agent Mode Configuration

If you're using Zed's agent mode, you need to enable this context server for your assistant:

  1. Open Zed's assistant settings
  2. Enable the PostCrawl MCP server. If you see that the status of the tool is a red dot, make sure you added your PostCrawl API key in settings
  3. Enable the PostCrawl MCP server in the active assistant profile. In the chat section, click on the Write | Ask button, then click on tools, then enable the PostCrawl MCP server.

Usage Examples

Once configured, you can ask your Zed assistant to:

  • "Search for posts about artificial intelligence on Reddit"
  • "Extract content from this TikTok URL: [URL]"
  • "Search for recent posts about climate change on both Reddit and TikTok"
  • "Find trending TikTok videos about technology"
  • "Check if the PostCrawl API is working"

Support

For issues with the extension, please visit the GitHub repository.

For PostCrawl API support, visit postcrawl.com.

License

This extension is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages