Claude での使用
Claude Desktop connects to Facebook Ads through the CData Code Assist MCP for Facebook Ads using the Model Context Protocol (MCP).
When you launch Claude, it automatically detects MCP connections registered during setup. These connections are created and saved using the CData Code Assist MCP Configuration Tool, which is installed with the MCP server.
Each saved connection is recognized by Claude and can be referenced by name when asking questions.
Installing Claude
Claude Desktop は、Model Context Protocol(MCP)を使用して、サポートされているデータソースに対して自然言語クエリを実行できるスタンドアロンアプリケーションです。
MCP 経由でFacebook Ads に接続するには、はじめにClaude Desktop アプリケーションをインストールする必要があります。
最新バージョンは公式Claude ダウンロードページ からダウンロードできます。
Claude Desktop をインストールした後、CData MCP Driver for Facebook Ads を使用してMCP 接続を設定します。
How Claude Uses the Server
When you ask Claude a question, it launches the corresponding MCP server connection, reads the available tool descriptions provided by the connector, and generates a secure query in the background.
There is no need to write SQL or teach Claude how to query your data. Each tool is self-describing, and Claude consumes those descriptions to determine how to retrieve the right information.
Example Prompts
After setup, you can ask Claude natural-language questions like:
- "What was the total spend for each campaign last month?"
- "Which campaign had the highest return on ad spend (ROAS) this quarter?"
- "Show me the click-through rate (CTR) for each campaign over the past seven days."
- "List all campaigns that have spent more than $500 in the last 14 days."
- "How many ad sets had a conversion rate above 5% last week?"
- "Which ads had the highest engagement rate last month?"
- "Show the top five ads by conversions along with their headlines."
- "How does performance vary across age groups and gender?"
- "Which geographic regions generated the most clicks in Q1?"
- "Are there any campaigns close to exhausting their budget this week?"
- "Which campaigns are limited by budget or delivery issues?"
- "What are the daily impressions and spend for Campaign Y over the past 30 days?"
Claude securely executes the query using the MCP server and responds using the live results from Facebook Ads.