A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
🤖 AI agent using mastra.ai with Apify MCP Server. 🚀 Runs queries via OpenAI models, taps Apify Actors for web data, an
The Mastra AI Agent with Apify MCP Server is a generic AI agent designed to demonstrate the power of the mastra.ai framework when paired with the Apify MCP Server. This Actor leverages the Model Context Protocol (MCP) to connect AI-driven workflows with Apify’s extensive library of Actors, enabling seamless data extraction, web scraping, and task automation.
Built with TypeScript and the Apify SDK, this Actor serves as a flexible starting point for developers looking to create custom AI agents that tap into real-time web data and tools.
Scrape TikTok posts from a specific account and summarize key trends.
Example input:
{
"prompt": "Scrape the latest 10 posts from @techcrunch on TikTok and summarize key tech topics.",
"agentName": "TikTok Tech Analyzer",
"agentInstructions": "You are a tech analyst scraping TikTok posts to identify trends.",
"modelName": "gpt-4o-mini",
"actors": ["clockworks/free-tiktok-scraper"]
}
Example output:
{
"prompt": "Scrape the latest 10 posts from @techcrunch on TikTok and summarize key tech topics.",
"response": "Here are the latest 10 posts from TechCrunch on TikTok, along with key tech topics summarized..."
}
Search the web for a topic and distill top findings.
Example input:
{
"prompt": "Search the web for recent advances in quantum computing and explain the top 3 breakthroughs.",
"agentName": "Quantum Research Bot",
"agentInstructions": "You are a research assistant that scours the web for technical info.",
"modelName": "gpt-4o",
"actors": ["apify/rag-web-browser"]
}
Example output:
{
"prompt": "Search the web for recent advances in quantum computing and explain the top 3 breakthroughs.",
"response": "Here are the top three recent advances in quantum computing as of 2025..."
}
Tweak the input and create your own AI agent to tackle your use case! 🚀
gpt-4o, gpt-4o-mini).clockworks/free-tiktok-scraper and more.📥 Input
gpt-4o or gpt-4o-mini)["clockworks/free-tiktok-scraper"]) - list of Apify Actors to be served by the MCP server for the agent🤖 Processing with Mastra
📤 Output
This Actor uses the Pay Per Event (PPE) model for cost-effective, usage-based pricing.
| Event | Price (USD) |
|---|---|
| Actor start | $0.10 |
| Task completion | $0.40 |
{
"prompt": "Analyze the posts of @openai and summarize current trends in AI.",
"agentName": "Social Media Analyst",
"agentInstructions": "You are a social media analyst who specializes in analyzing posts from various social media platforms.",
"modelName": "gpt-4o-mini",
"actors": ["clockworks/free-tiktok-scraper"]
}
Dataset entry:
{
"prompt": "Analyze the posts of @openai and summarize current trends in AI.",
"response": "Here’s a summary of the recent posts from OpenAI's account, highlighting current trends in AI..."
}
This Actor uses the mastra.ai framework to create a generic AI agent that interacts with the Apify ecosystem:
Expandable to any Apify Actor from the Apify Store via the MCP Server configuration.
apify push
OPENAI_API_KEY environment variable.npm install
OPENAI_API_KEY=<your-openai-api-key> apify run -i '{"prompt": "Show me latest post from @openai TikTok profile", "actors": ["clockworks/free-tiktok-scraper"]}'
Ready to build your own AI agent? Deploy this Actor on Apify, tweak the input, and explore the possibilities of mastra.ai and MCP! 🤖✨
This Actor is open-source, hosted on GitHub. Want to add features? Open an issue or submit a pull request!
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
MCP server integration for DaVinci Resolve Studio
A Jetbrains IDE IntelliJ plugin aimed to provide coding agents the ability to leverage intelliJ's indexing of the codeba