AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Facebook Ads Library Mcp

mcp-ramsesaguirre777-facebook-ads-library-mcp ยท by RamsesAguirre777

๐Ÿ”ฅ The most powerful Facebook Ads Library MCP server with 15+ advanced tools for competitive intelligence, market analysis, and advertising insights. Built with FastMCP and completely FREE.

โ€” No reviews yet
0 installs
19 views
0.0% viewโ†’install

Install

$ agentstack add mcp-ramsesaguirre777-facebook-ads-library-mcp

โœ“ scanned ยท โœ“ verified, works with Claude Code, Cursor, and more.

Security review

โœ“ Passed

No issues found. Passed automated security review. ยท v0.1.0 How review works โ†’

  • โœ“ Prompt-injection patterns
  • โœ“ Secret / credential exfiltration
  • โœ“ Dangerous shell & filesystem operations
  • โœ“ Untrusted network calls
  • โœ“ Known-malicious package signatures

What it can access

  • โœ“ Network access No
  • โœ“ Filesystem access No
  • โœ“ Shell / process execution No
  • โ— Environment & secrets Used
  • โœ“ Dynamic code execution No

From automated source analysis of v0.1.0. โ€œUsedโ€ means the capability is present in the source โ€” more access means more to trust, not that itโ€™s unsafe.

View the full security report โ†’

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-ramsesaguirre777-facebook-ads-library-mcp)

Reliability & compatibility

โœ“ Security review passed
0 installs to date
โ€” no reviews yet
โ—‹ stale ยท 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work โ†’
Are you the author of Facebook Ads Library Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

๐Ÿ”ฅ Facebook Ads Library MCP - Advanced Intelligence Platform

[](https://www.python.org/downloads/) [](https://github.com/modelcontextprotocol/python-sdk) [](https://opensource.org/licenses/MIT) [](https://github.com/RamsesAguirre777/facebook-ads-library-mcp)

> The most powerful Facebook Ads Library MCP server with 15+ advanced tools for competitive intelligence, market analysis, and advertising insights. Built with FastMCP and completely FREE.

๐ŸŒŸ Why This MCP?

Beats paid services like ScrapeCreators ($497/month) with:

  • โœ… 15+ Advanced Tools vs their 5-6 basic ones
  • โœ… AI-Powered Creative Analysis (they don't have this)
  • โœ… ML Performance Prediction (they don't have this)
  • โœ… Direct API Access (no proxy limitations)
  • โœ… 100% Free & Open Source (vs $497/month)
  • โœ… Complete Customization (add your own features)

๐Ÿš€ Quick Start

1. Installation

git clone https://github.com/RamsesAguirre777/facebook-ads-library-mcp.git
cd facebook-ads-library-mcp
pip install -r requirements.txt

2. Get Facebook Access Token

  1. Go to Facebook Graph API Explorer
  2. Generate access token with ads_read permission
  3. (Optional) Extend token to 60 days

3. Configure Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "facebook_ads": {
      "command": "python",
      "args": [
        "/path/to/facebook-ads-library-mcp/facebook_ads_mcp_complete.py",
        "--facebook-token",
        "YOUR_FACEBOOK_ACCESS_TOKEN"
      ]
    }
  }
}

4. Restart Claude Desktop

๐Ÿ› ๏ธ 15+ Advanced Tools

๐Ÿ” Search & Discovery

  • search_facebook_ads() - Advanced search with multiple filters
  • discover_competitor_brands() - Find industry competitors automatically
  • find_similar_advertisers() - Discover brands with similar strategies

๐Ÿ“Š Deep Analysis

  • analyze_ad_creative_elements() - AI-powered creative analysis
  • analyze_ad_performance_metrics() - Performance insights & KPIs
  • analyze_ad_targeting_insights() - Audience targeting analysis

๐ŸŽฏ Monitoring & Tracking

  • monitor_brand_ad_changes() - Real-time campaign monitoring
  • track_ad_spend_estimation() - Budget tracking & estimation

๐Ÿ† Competitive Intelligence

  • competitive_ad_analysis() - Multi-brand strategy comparison
  • benchmark_against_industry() - Industry benchmarking
  • identify_market_opportunities() - Market gap analysis

๐Ÿ”ฎ Prediction & Optimization

  • predict_ad_performance() - ML-powered performance prediction
  • generate_facebook_intelligence_report() - Comprehensive reports

๐Ÿ› ๏ธ Utilities

  • export_facebook_ads_data() - Export in JSON/CSV/Markdown

๐Ÿ’ก Usage Examples

Basic Competitive Analysis

# In Claude Desktop
"Analyze Nike's current Facebook advertising strategy"
"Compare ad strategies between Tesla and BMW"
"Generate a complete intelligence report for Airbnb"

Advanced Market Research

# Discover competitors
"Find all fitness app companies advertising on Facebook"

# Market opportunities
"Identify advertising gaps in the fintech industry"

# Performance prediction
"Predict performance for this ad: 'Get fit in 30 days with our AI trainer'"

Monitoring & Alerts

# Track competitor changes
"Monitor Apple for new ad campaigns and alert me if they launch 5+ new ads"

# Spend tracking
"Estimate Shopify's monthly Facebook ad spend"

๐Ÿ”ง Advanced Configuration

Environment Variables

# Create .env file
echo "FACEBOOK_ACCESS_TOKEN=your_token_here" > .env

Multiple Regions

{
  "mcpServers": {
    "facebook_ads_us": {
      "command": "python",
      "args": ["facebook_ads_mcp_complete.py", "--facebook-token", "US_TOKEN"]
    },
    "facebook_ads_eu": {
      "command": "python", 
      "args": ["facebook_ads_mcp_complete.py", "--facebook-token", "EU_TOKEN"]
    }
  }
}

๐Ÿ“ˆ Performance Comparison

| Feature | ScrapeCreators | Our MCP | Savings | |---------|----------------|-------------|---------| | Monthly Cost | $497 | $0 | $497/month | | Facebook Tools | 5-6 basic | 15+ advanced | 3x more | | Creative Analysis | โŒ | โœ… AI-powered | Exclusive | | Performance Prediction | โŒ | โœ… ML-based | Exclusive | | Rate Limits | Restricted | Direct API | Unlimited | | Customization | โŒ | โœ… Full control | Infinite |

๐Ÿ—๏ธ Architecture

Facebook Ads Library MCP
โ”œโ”€โ”€ Core API Wrapper
โ”‚   โ”œโ”€โ”€ Authentication & Rate Limiting
โ”‚   โ””โ”€โ”€ Error Handling & Retry Logic
โ”œโ”€โ”€ Search & Discovery Engine
โ”‚   โ”œโ”€โ”€ Advanced Filtering
โ”‚   โ””โ”€โ”€ Competitor Discovery
โ”œโ”€โ”€ AI Analysis Engine
โ”‚   โ”œโ”€โ”€ Creative Element Analysis
โ”‚   โ””โ”€โ”€ Performance Prediction
โ”œโ”€โ”€ Monitoring System
โ”‚   โ”œโ”€โ”€ Real-time Change Detection
โ”‚   โ””โ”€โ”€ Alert System
โ””โ”€โ”€ Export & Reporting
    โ”œโ”€โ”€ Multiple Format Support
    โ””โ”€โ”€ Executive Reports

๐Ÿ”’ Security & Privacy

  • No Data Storage - All data processed in real-time
  • Direct API Access - No proxy servers or data logging
  • Open Source - Complete transparency
  • Local Processing - Your data stays on your machine

๐Ÿค Contributing

We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

Development Setup

git clone https://github.com/RamsesAguirre777/facebook-ads-library-mcp.git
cd facebook-ads-library-mcp
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements-dev.txt

๐Ÿ“– Documentation

  • [Setup Guide](docs/setup.md) - Detailed installation instructions
  • [API Reference](docs/api.md) - Complete tool documentation
  • [Examples](docs/examples.md) - Real-world use cases
  • [Troubleshooting](docs/troubleshooting.md) - Common issues & solutions

๐Ÿ”„ Changelog

See [CHANGELOG.md](CHANGELOG.md) for detailed version history.

๐Ÿ†˜ Support

๐Ÿ“„ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

๐Ÿ™ Acknowledgments

โญ Star History

[](https://star-history.com/#RamsesAguirre777/facebook-ads-library-mcp&Date)


๐Ÿ”ฅ Built with passion for the MCP community ๐Ÿ”ฅ

Twitter โ€ข GitHub โ€ข LinkedIn

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source โ€” we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.