← Back to Documentation
    DocumentationmcpApr 16, 2025

    Cogny MCP Server

    Connect Claude to your marketing data. Query BigQuery, browse reports, manage growth tickets, and build organizational context — all through natural conversation.

    What is the Cogny MCP Server?

    Cogny's MCP (Model Context Protocol) server lets you connect Claude directly to your marketing data stack. Once connected, Claude can query your BigQuery warehouse, read Cogny's AI-generated reports, manage growth tickets, and access your organizational context — all through natural conversation.

    Server URL: https://cogny.com/mcp

    Protocol: JSON-RPC 2.0 over HTTPS (MCP spec 2024-11-05)

    Authentication: OAuth 2.1 (authorization code flow with PKCE)

    Quick Setup

    In Claude Desktop / Claude.ai

    1. Go to Settings > Connectors (or Settings > MCP in Claude Desktop)
    2. Click Add custom connector
    3. Enter the server URL: https://cogny.com/mcp
    4. Authenticate with your Cogny account when prompted
    5. Start chatting — Claude now has access to your marketing data

    In Claude Code

    Add to your MCP configuration:

    {
      "mcpServers": {
        "cogny": {
          "url": "https://cogny.com/mcp"
        }
      }
    }
    

    Via the API (Anthropic MCP Client)

    Use the Anthropic API with the mcp-client-2025-04-04 beta header to connect programmatically. See Anthropic's MCP documentation for details.

    Available Tools

    All tools include MCP safety annotations (readOnlyHint, destructiveHint, etc.) so Claude understands which tools are safe to call without confirmation.

    BigQuery Analytics

    Query your connected data warehouse directly.

    ToolDescriptionSafety
    list_datasetsList all BigQuery datasets in your warehouseRead-only
    list_tablesList tables in a dataset (auto-groups GA4 sharded tables)Read-only
    inspect_schemaGet column definitions and CREATE TABLE statementRead-only
    execute_bigquery_sqlRun read-only SQL queries (SELECT/WITH only, 500 row limit)Read-only

    Example prompt: "What are my top 10 landing pages by conversion rate this month?"

    Reports & Visualizations

    Access Cogny's AI-generated marketing reports and render interactive charts.

    ToolDescriptionSafety
    list_reportsList recent reports (SEO, Google Ads, CRO, etc.)Read-only
    get_reportGet full report content with all sectionsRead-only
    get_report_sectionGet a section's SQL and chart configRead-only
    show_report_sectionRender an interactive chart visualizationRead-only
    show_metricsDisplay configured core KPI metrics with trendsRead-only
    show_budgetShow ad spend vs. monthly budget targetsRead-only

    Example prompt: "Show me this week's SEO performance report"

    Growth Tickets

    Manage the actionable opportunities Cogny identifies from your data.

    ToolDescriptionSafety
    list_ticketsList tickets with status/type filteringRead-only
    get_ticketGet ticket details, body, and execution historyRead-only
    get_commentsGet ticket comments (newest first)Read-only
    get_ticket_source_contextGet the report/analysis that created a ticketRead-only
    create_ticketCreate a new growth ticketWrite
    update_ticket_statusMove ticket through workflow (new > doing > analysis)Write
    add_commentAdd a comment to a ticketWrite
    assign_ticketAssign or unassign a ticketWrite
    link_pr_to_ticketLink a GitHub PR for auto-status updatesWrite

    Example prompt: "What are my open growth tickets? Assign the top-priority one to me."

    Organizational Context

    A hierarchical knowledge graph for company strategy, competitor intel, and team knowledge.

    ToolDescriptionSafety
    browse_context_treeList child nodes at a path (or root categories)Read-only
    read_context_nodeRead full node content with backlinksRead-only
    search_contextFull-text search across the context treeRead-only
    get_context_tree_overviewHigh-level structure overviewRead-only
    write_context_nodeCreate or update a context node (upsert)Write
    archive_context_nodeSoft-delete a context nodeDestructive

    Example prompt: "What do we know about our competitors' ad strategies?"

    Connected Platforms

    Cogny federates tools from your connected ad platforms. These appear as namespaced tools (e.g., mcp__google_ads__execute_gaql) and vary based on your connected integrations.

    Supported platforms include Google Ads, Meta Ads, LinkedIn Ads, Search Console, and more.

    Workspace Status

    ToolDescriptionSafety
    cogny_statusCheck subscription, connected channels, and featuresRead-only

    Authentication

    Cogny uses OAuth 2.1 with authorization code flow and PKCE. When you add Cogny as a connector, your MCP client handles the OAuth flow automatically — you just sign in with your Cogny account.

    Scopes: Access is scoped to your warehouse. You can only query data, reports, and tickets belonging to workspaces you're a member of.

    Token refresh: Access tokens are short-lived and automatically refreshed by your MCP client.

    Subscription Tiers

    The tools available depend on your Cogny plan:

    FeatureSolo ($9/mo)Cloud
    Context Tree50 nodesUnlimited
    Growth TicketsVia FindingsFull
    BigQuery-Full
    Reports & Charts-Full
    Connected Ad Platforms-Full
    Workspace StatusFullFull

    Solo tier users get access to findings, task queue, and context tree tools. Cloud tier unlocks BigQuery, reports, and connected platform tools.

    Troubleshooting

    "Unknown tool" error

    Your subscription tier may not include that tool. Use the cogny_status tool to check your workspace status and available features.

    Authentication fails

    1. Ensure you're signing in with the email associated with your Cogny workspace
    2. Check that your workspace has an active subscription
    3. Try removing and re-adding the connector

    No data returned from BigQuery

    1. Verify your BigQuery warehouse is connected in the Cogny dashboard
    2. Use list_datasets first to confirm available datasets
    3. Check that your SQL query uses the correct dataset and table names

    Connected platform tools missing

    Connected platform tools only appear after you've linked the platform in your Cogny dashboard. Go to Settings > Integrations to connect Google Ads, Meta Ads, etc.

    Timeouts on long queries

    BigQuery queries are capped at 500 rows. If your query is timing out, add LIMIT clauses or narrow your date range.

    Privacy & Security

    • All data stays within your Cogny workspace — Cogny does not share data between workspaces
    • BigQuery queries are read-only (SELECT/WITH only) — your data cannot be modified
    • OAuth tokens are scoped per-user and per-workspace
    • See our Privacy Policy for full details

    Support

    Ready for similar results?
    Start with Solo at $9/mo or talk to us about Cloud.
    ❯ get startedcompare plans →