> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Clay AI Agent Integration

> Connect Anysite MCP Server to Clay AI Agents for unlimited data extraction and enrichment

<img src="https://mintcdn.com/horizondatawave/wmopPAj-6eQgazug/public/images/clay_mcp/clay_Image_2ye28q2ye28q2ye2.jpg?fit=max&auto=format&n=wmopPAj-6eQgazug&q=85&s=2a7998ae8b2aa266a0a87774af27b542" alt="Anysite MCP + Clay AI Agent = Unlimited Data" width="2752" height="1536" data-path="public/images/clay_mcp/clay_Image_2ye28q2ye28q2ye2.jpg" />

## Overview

Clay combined with Anysite MCP Server creates the ultimate data enrichment platform with unlimited access to social media data. With MCP Unlimited plan, your Clay tables can enrich leads with data from LinkedIn, Instagram, Twitter, Reddit, and more without any request limits or waterfall restrictions.

**Perfect for:**

* Lead enrichment and prospecting
* Company research and intelligence
* Contact data enrichment workflows
* Multi-platform data waterfall automation
* Competitive analysis and monitoring

<Info>
  **MCP Unlimited Plan Required:** This integration requires an active MCP Unlimited subscription (\$30/month) for unlimited data extraction.
</Info>

## Prerequisites

Before you begin, ensure you have:

* Active [Clay](https://clay.com) account (Free or paid plan)
* Anysite account with MCP Unlimited subscription
* Basic understanding of Clay tables and enrichments

## Step 1: Get Your MCP Connection URL

First, obtain your Direct URL from the Anysite dashboard:

<Steps>
  <Step title="Log in to Anysite">
    Visit [app.anysite.io](https://app.anysite.io) and sign in to your account
  </Step>

  <Step title="Navigate to MCP Integration">
    Go to the **MCP Server Integration** section in your dashboard
  </Step>

  <Step title="Copy Direct URL">
    <img src="https://mintcdn.com/horizondatawave/WKLrMTly6uUQx_Bl/public/images/make_mcp/Screenshot8.11.27.png?fit=max&auto=format&n=WKLrMTly6uUQx_Bl&q=85&s=7bba9a17d7e21530ec0e6f6b3b20738f" alt="Anysite MCP Server Integration - Get Direct URL" width="1198" height="1026" data-path="public/images/make_mcp/Screenshot8.11.27.png" />

    You'll see two connection options:

    * **OAuth URL**: `https://mcp.anysite.io/mcp`
    * **Direct URL**: `https://mcp.anysite.io/mcp?api_key=YOUR_KEY`

    Click **Copy** next to the **Direct URL** - this includes your API key for authentication.
  </Step>
</Steps>

<Warning>
  **Security Notice:** Your Direct URL contains your API key. Keep it secure and never share it publicly or commit it to version control.
</Warning>

## Step 2: Configure MCP in Clay

Now connect the MCP Server to your Clay account:

<Steps>
  <Step title="Open Clay Tools Settings">
    <img src="https://mintcdn.com/horizondatawave/wmopPAj-6eQgazug/public/images/clay_mcp/Screenshot92652.png?fit=max&auto=format&n=wmopPAj-6eQgazug&q=85&s=4ce8af4451a3f7f81076cb65a9832435" alt="Clay Tools Dashboard" width="784" height="672" data-path="public/images/clay_mcp/Screenshot92652.png" />

    Navigate to **Settings** in your Clay account and scroll to the **Tools** section. You'll see various integrations including Notion, Intercom, and Linear. Scroll down to find **Anysite MCP** or click **+ Add custom MCP server** button.
  </Step>

  <Step title="Add Custom MCP Server">
    <img src="https://mintcdn.com/horizondatawave/wmopPAj-6eQgazug/public/images/clay_mcp/Screenshot192751.png?fit=max&auto=format&n=wmopPAj-6eQgazug&q=85&s=8fe91449a0b89cfc69a9604d0d2f2651" alt="Add Custom MCP Server in Clay" width="1012" height="712" data-path="public/images/clay_mcp/Screenshot192751.png" />

    Click **+ Add custom MCP server** to open the configuration dialog.
  </Step>

  <Step title="Configure Connection">
    In the "Add Custom MCP Server Account" dialog, fill in:

    1. **Name your connection**: Enter "Anysite MCP" (or any name you prefer)
    2. **MCP URL**: Paste your Direct URL from Step 1
       ```
       https://mcp.anysite.io/mcp?api_key=YOUR_API_KEY
       ```
    3. **MCP API key**: Leave empty (authentication is in the URL)
    4. Click **Save**
  </Step>

  <Step title="Verify Connection">
    Once saved, the MCP connection will appear in your Tools list with a toggle to enable/disable it. Toggle it ON to activate. Your Clay account now has access to all 70+ Anysite tools!
  </Step>
</Steps>

<Check>
  **Connection successful!** Your Clay account can now use Anysite MCP tools in any table enrichment workflow.
</Check>

## Step 3: Using MCP in Clay Tables

After connecting MCP, you can use it in your Clay tables:

### System Prompt for Clay AI Agent

When using Clay's AI enrichment features, configure your agent with:

```
You are a data enrichment AI with access to Anysite MCP tools.
Use these tools to extract data from LinkedIn, Instagram, Twitter, and Reddit.

When enriching leads:
1. Use linkedin_user to get comprehensive LinkedIn profile data
2. Use linkedin_company for company information
3. Use linkedin_user_posts to analyze recent activity and content
4. Extract contact information, job details, and engagement metrics

Always return well-structured data suitable for Clay table columns.
```

### Available Tools

Your Clay enrichment workflows now have access to 70+ tools including:

**LinkedIn (27 tools)**

* Profile extraction, enrichment, and messaging
* Company research and employee data
* Post and comment analysis
* Employee search and filtering
* Job listings and company updates

**Instagram (8 tools)**

* Profile data and bio information
* Posts, reels, and stories
* Comments and engagement metrics
* Follower and following analysis

**Twitter/X (5 tools)**

* Profile information and bio
* Tweet extraction and analysis
* User and post search
* Engagement metrics

**Reddit (5 tools)**

* Post details and content
* Comment threads
* Subreddit search
* User posts and comments

**YouTube (5 tools)**

* Video search and metadata
* Channel videos extraction
* Video details and engagement
* Video comments analysis
* Subtitle extraction

**Y Combinator (3 tools)**

* Company profiles
* Founder search
* Startup intelligence

**SEC (2 tools)**

* Company filings search
* Document retrieval

**Web Tools (3 tools)**

* Webpage parsing and extraction
* Sitemap extraction
* Web search and discovery

<Card title="View All Tools" icon="toolbox" href="/mcp-server/tools">
  Browse complete list of all available MCP tools
</Card>

## Use Cases & Examples

### 1. Lead Enrichment Waterfall

**Clay Table Setup:**

```
Column 1: LinkedIn URL (input)
Column 2: Enrich with LinkedIn Profile (using MCP)
Column 3: Get Company Data (using MCP)
Column 4: Extract Recent Posts (using MCP)
Column 5: AI Analysis & Scoring
```

**What Clay does:**

1. Takes LinkedIn URL as input
2. Uses `linkedin_user` to extract full profile data
3. Uses `linkedin_company` to get company information
4. Uses `linkedin_user_posts` to analyze recent activity
5. AI agent synthesizes data into enriched lead profile

### 2. Company Research & Intelligence

**Use Case:**
Building a list of target companies with detailed research data

**Clay Workflow:**

* **Input**: Company LinkedIn URLs
* **Enrichment 1**: Extract company data with `linkedin_company`
* **Enrichment 2**: Get employee count and key personnel with `linkedin_company_employees`
* **Enrichment 3**: Analyze recent company posts with `linkedin_company_posts`
* **Enrichment 4**: AI agent creates company intelligence summary
* **Output**: Comprehensive company profiles with decision-maker insights

### 3. Multi-Platform Data Waterfall

**Scenario:**
Enrich leads with data from multiple platforms, falling back when one source fails

**Clay Waterfall Setup:**

```
1. Try LinkedIn Profile (primary source)
   ↓ If fails or incomplete
2. Try Twitter Profile (secondary source)
   ↓ If fails or incomplete
3. Try Instagram Profile (tertiary source)
   ↓ If fails or incomplete
4. Try Web Search (final fallback)
```

**Tools used:**

* `linkedin_user`
* `search_twitter_users`
* `instagram_user`
* `web_search`

### 4. Recruitment & Talent Sourcing

**Use Case:**
Find and enrich potential candidates matching specific criteria

**Clay Workflow:**

1. **Search**: Use `search_linkedin_users` with job title and location filters
2. **Enrich**: Extract detailed profiles with `linkedin_user`
3. **Analyze**: Get recent posts and activity with `linkedin_user_posts`
4. **Score**: AI agent evaluates fit based on experience and engagement
5. **Export**: Push qualified candidates to ATS or CRM

### 5. Competitive Monitoring

**Use Case:**
Track competitor activity across platforms automatically

**Clay Table:**

* **Input**: List of competitor LinkedIn company pages
* **Schedule**: Daily/weekly refresh
* **Enrichments**:
  * Latest posts and announcements
  * New hires and team changes
  * Engagement metrics and trends
  * Product launches and updates
* **Output**: Automated competitive intelligence report

## Integration with Clay Workflows

### Basic Enrichment Structure

```
┌─────────────────────┐
│  Input Column       │
│  (LinkedIn URLs)    │
└──────────┬──────────┘
           │
           ▼
┌─────────────────────┐
│  MCP Enrichment     │
│  (Extract Profile)  │
└──────────┬──────────┘
           │
           ▼
┌─────────────────────┐
│  AI Agent Analysis  │
│  (with MCP tools)   │
└──────────┬──────────┘
           │
           ▼
┌─────────────────────┐
│  Output Columns     │
│  (Enriched Data)    │
└─────────────────────┘
```

### Advanced Multi-Source Waterfall

```
         ┌──────────────────┐
         │   Input URL      │
         └────────┬─────────┘
                  │
        ┌─────────┴─────────┐
        │                   │
        ▼                   ▼
┌───────────────┐   ┌───────────────┐
│LinkedIn Enrich│   │Twitter Enrich │
│  (MCP Tool)   │   │  (MCP Tool)   │
└───────┬───────┘   └───────┬───────┘
        │                   │
        └─────────┬─────────┘
                  │
                  ▼
          ┌───────────────┐
          │  AI Synthesis │
          │  (MCP Tools)  │
          └───────┬───────┘
                  │
                  ▼
          ┌───────────────┐
          │ Final Output  │
          └───────────────┘
```

### Real-Time Data Pipeline

```
┌────────────────────────────────────────────┐
│         Clay Table (Auto-refresh)          │
├────────────────────────────────────────────┤
│                                            │
│  1. Import leads from webhook/CSV          │
│  2. Enrich with MCP tools (unlimited)      │
│  3. AI agent analysis and scoring          │
│  4. Filter and qualify leads               │
│  5. Push to CRM/Slack/Email                │
│                                            │
│  All powered by Anysite MCP                │
└────────────────────────────────────────────┘
```

## Troubleshooting

<AccordionGroup>
  <Accordion title="Connection fails or MCP server not showing">
    **Possible causes:**

    * Invalid or expired API key
    * Incorrect URL format
    * Network connectivity issues

    **Solutions:**

    * Regenerate your Direct URL from Anysite dashboard
    * Ensure the URL includes `?api_key=YOUR_KEY` parameter
    * Check that your Anysite subscription is active
    * Try removing and re-adding the MCP connection
    * Toggle the MCP server ON in Clay Tools settings
  </Accordion>

  <Accordion title="MCP tools not available in enrichments">
    **Possible causes:**

    * Connection not properly saved or enabled
    * MCP Unlimited plan not active
    * Clay cache needs refresh

    **Solutions:**

    * Check that Anysite MCP toggle is ON in Tools settings
    * Verify your MCP Unlimited subscription at [app.anysite.io](https://app.anysite.io)
    * Try creating a new enrichment column
    * Refresh your browser and check again
    * Test with a simple LinkedIn URL enrichment
  </Accordion>

  <Accordion title="Rate limits or quota errors">
    **Note:** With MCP Unlimited, you should have no rate limits for MCP requests.

    **If you see errors:**

    * Verify you're on MCP Unlimited plan (not pay-per-use)
    * Check your subscription status in Anysite dashboard
    * Direct API calls (outside MCP) are billed separately
    * Clay's own rate limits may still apply to non-MCP enrichments
    * Contact support if issues persist
  </Accordion>

  <Accordion title="Enrichments fail or return empty data">
    **Possible causes:**

    * Invalid input URLs or identifiers
    * Target profile is private or restricted
    * Incorrect tool selection

    **Solutions:**

    * Verify input URLs are correctly formatted
    * Check that LinkedIn URLs include full profile path
    * Some private profiles may not return data
    * Try alternative tools from the same platform
    * Review tool documentation for required parameters
  </Accordion>

  <Accordion title="Authentication errors">
    **Error message:** "Invalid API key" or "Unauthorized"

    **Solutions:**

    * Your API key in the Direct URL may be incorrect
    * Go to [app.anysite.io](https://app.anysite.io) and copy a fresh Direct URL
    * Delete the MCP connection in Clay and recreate it
    * Ensure you copied the entire URL including the key parameter
    * Check for any extra spaces or characters in the URL
  </Accordion>
</AccordionGroup>

## Security Best Practices

<CardGroup cols={2}>
  <Card title="Protect API Keys" icon="key">
    Never expose your Direct URL in:

    * Shared Clay tables
    * Public workspaces
    * Screenshots
    * Documentation
    * Version control

    Rotate keys regularly from Anysite dashboard.
  </Card>

  <Card title="Access Control" icon="shield-halved">
    Manage Clay workspace access:

    * Only invite trusted team members
    * Use separate API keys for different teams
    * Monitor enrichment activity in Clay logs
    * Review Anysite usage dashboard regularly
  </Card>

  <Card title="Data Privacy" icon="user-lock">
    Handle extracted data responsibly:

    * Follow GDPR and data protection laws
    * Don't store sensitive data unnecessarily
    * Implement data retention policies
    * Respect platform terms of service
    * Use Clay's data encryption features
  </Card>

  <Card title="Monitor Usage" icon="chart-line">
    Track your enrichment activity:

    * Review Clay table run history
    * Check Anysite dashboard for usage patterns
    * Set up alerts for failed enrichments
    * Monitor API response times
    * Track data quality and success rates
  </Card>
</CardGroup>

## Benefits of Clay + MCP Integration

<CardGroup cols={2}>
  <Card title="Unlimited Enrichments" icon="infinity">
    With MCP Unlimited (\$30/month), enrich as many leads as you need without worrying about waterfall limits, credit usage, or overage charges.
  </Card>

  <Card title="No Waterfall Restrictions" icon="layer-group">
    Unlike traditional Clay enrichments, MCP tools have no waterfall restrictions. Use them as primary sources without burning through expensive credits.
  </Card>

  <Card title="70+ Data Sources" icon="globe">
    Single connection gives you access to LinkedIn, Instagram, Twitter, Reddit, and web data - all unified in your Clay workflows.
  </Card>

  <Card title="Real-Time Data" icon="bolt">
    Extract fresh data in real-time directly from platforms. No stale databases or outdated information - always get the latest data.
  </Card>
</CardGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="View All MCP Tools" icon="toolbox" href="/mcp-server/tools">
    Explore the complete list of 70+ tools available for enrichments
  </Card>

  <Card title="MCP Unlimited Plan" icon="infinity" href="/mcp-server/unlimited-plan">
    Learn more about MCP Unlimited benefits and pricing
  </Card>

  <Card title="Dashboard" icon="gauge" href="https://app.anysite.io">
    Manage your subscription and monitor usage
  </Card>

  <Card title="Clay" icon="link" href="https://clay.com">
    Create your Clay account and start building enrichment workflows
  </Card>
</CardGroup>

## Support

Need help with Clay + MCP integration?

<CardGroup cols={2}>
  <Card title="Email Support" icon="envelope" href="mailto:support@anysite.io">
    Get technical assistance from our team
  </Card>

  <Card title="Documentation" icon="book" href="/mcp-server/tools">
    Browse complete MCP documentation
  </Card>

  <Card title="Community" icon="github" href="https://github.com/anysiteio">
    Join discussions and share use cases
  </Card>

  <Card title="Status Page" icon="signal" href="https://status.anysite.io">
    Check API status and uptime
  </Card>
</CardGroup>

***

<Info>
  **Ready to supercharge your data enrichment?** Connect your Clay account to Anysite MCP and unlock unlimited enrichments today!
</Info>
