Clay logo

Clay

Organization
mesh

A simple Model Context Protocol (MCP) server for Mesh.

Publishermesh
Repositorymesh-mcp
Forks
13
Stars
34
Available tools
11
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    Clay exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 11 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    34 stars and 13 forks from the linked repository.

Mesh MCP Server

A simple Model Context Protocol (MCP) server for Mesh.

Demo Video

Getting Started

Via Mesh (Preferred)

  1. Visit Settings > Integrations > MCP Server for one-click connections to ChatGPT, Claude, and Smithery.
  2. Followed the guided login flow to connect your account.

Custom

Tell your favorite agent or bot to connect https://mcp.me.sh/mcp via OAuth.

Features

  • Contact Search: Find contacts by job title, company, location, or specific keywords.
  • Interaction Search: Retrieve past interactions based on various criteria.
  • Contact Statistics: Obtain numerical statistics and percentages related to your contacts.
  • Detailed Contact Info: Access comprehensive information for a specific contact by ID.
  • Add New Contact: Create new contacts with details like name, phone, email, and more.
  • Add Contact Note: Create a note associated with a specific contact.
  • Retrieve Groups: Get all user-defined groups or lists.
  • Create New Group: Create a new group or list.
  • Update Group: Update a group's title or modify its members.
  • Retrieve Notes: Get notes created within a specified date range.
  • Retrieve Events: Fetch meetings and events scheduled within a specified date range.

Examples

  • "Who in my network works at Google as a Product Manager?"
  • "Who have I emailed the most this year?"
  • "How many of my contacts are based in New York?"
  • "Who is John Smith?"
  • "Add a new contact named Jane Doe, who is a Designer at Figma."
  • "Save a note for John Smith: 'Follow up about the Q2 report.'"
  • "Create a group called 'Investors 2025.'"
  • "Add Jane Doe and John Smith to the Investors 2025 group."
  • "What notes did I take last week?"
  • "What meetings do I have scheduled for tomorrow?"

More information

Learn more and reach out at the Mesh Library.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "clay-mcp": {
      "command": "npx",
      "args": [
        "@clayhq/clay-mcp@latest"
      ],
      "env": {
        "CLAY_API_KEY": "YOUR_CLAY_API_KEY"
      }
    }
  }
}

Available Tools

  • searchContacts

    Search for contacts and return matching people. Use for questions about specific contacts or "who" questions (e.g. "Who did I meet most?" or "who works as an engineer?"). Returns actual contact records for queries needing specific people.

  • searchInteractions

    Search for interactions and return matching interactions. Use for questions about specific interactions, "who" questions (e.g. "Who did I meet most?"), finding best friends based on relevance score, or finding recently added/created contacts. Returns actual contact records for queries needing specific interactions.

  • aggregateContacts

    Get numerical statistics and counts ONLY. Returns numbers and percentages, never specific contacts. For counting questions like "how many work at Google?" or "what % are engineers?". Use search endpoint instead for any "who" questions or to get actual contact details.

  • getContact

    Get details for a contact by id, including emails, social links, phone numbers, and notes.

  • createContact

    Create a new contact record in Clay. This endpoint should only be used when you need to create a completely new contact, not for adding contacts to groups.

  • createNote

    Create a note for a contact. Only use this when the user explicitly asks to create, add, or save a note.

  • getGroups

    Get all groups or lists for the user.

  • createGroup

    Create a group or list for the user. If a group with the same name already exists, it will not create a duplicate unless explicitly requested to ignore the check.

  • updateGroup

    Update a group or list. Use this to update the group title and/or modify its members. When adding or removing contacts, provide ALL contact IDs to add/remove in a single call - do not make multiple calls for individual contacts.

  • getNotes

    Use ONLY when the user explicitly mentions "note" or "notes" to retrieve notes between two dates (e.g. "what notes from last week?"). Returns notes by creation date only - does NOT search note content or filter by other criteria. NEVER use this tool for finding contacts or any other purpose besides retrieving notes. This tool is strictly prohibited from being used unless "note" or "notes" are explicitly mentioned in the query.

  • getEvents

    Use this tool ONLY to fetch meetings/events in a date range (e.g. "what meetings next week?", "show calendar for tomorrow"). DO NOT use for counting meetings, analyzing patterns, or finding frequent participants.

Use Clay MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Clay is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Clay as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Clay MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "clay": {
      "command": "npx",
      "args": [
        "-y",
        "@clayhq/clay-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Clay MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Clay MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Clay to help me with this task?
Clay
Sure. I read it.
Here is what I found using Clay.

Frequently asked questions

What is the Clay MCP server used for?

Clay is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Clay MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Clay with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Clay MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Clay connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Clay MCP to TypingMind?

Clay runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Clay MCP provide in TypingMind?

Clay exposes 11 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Clay MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Clay requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇