YourICP MCP Server
The official, open-source Model Context Protocol (MCP) server for the YourICP contact-enrichment and audience-targeting API. It lets AI assistants such as Claude enrich contacts and build audiences directly from a conversation.
Two ways to run it
Use the hosted connector unless you specifically want to run the code yourself. It needs no install, stays up to date, and is the only option that exposes the audience-building tools:
https://mcp.youricp.com/sse
Add it in Claude under Settings → Connectors → Add custom connector. See the connector user guide for what you can ask it.
Use this repo if you want to read or modify the code, self-host, run fully
offline against your own token, or use a client that only supports stdio. It
is a deliberately small reference implementation — no payment, OAuth, or hosting
infrastructure required.
Tools
Requirements
- Node.js 18+
- A YourICP auth token — get one at app.youricp.com
Quick start (no install)
Run it directly with npx — no clone, no global install:
YOURICP_AUTH_TOKEN=your_auth_token_here npx @youricp/mcp
Use with Claude Desktop
Add this to your claude_desktop_config.json — npx fetches and runs the
server automatically:
{
"mcpServers": {
"youricp": {
"command": "npx",
"args": ["-y", "@youricp/mcp"],
"env": {
"YOURICP_AUTH_TOKEN": "your_auth_token_here"
}
}
}
}
Restart Claude Desktop and the YourICP tools will appear.
Install globally (optional)
npm install -g @youricp/mcp
YOURICP_AUTH_TOKEN=your_auth_token_here youricp-mcp
From source
git clone https://github.com/youricp/mcp-server.git
cd mcp-server
npm install
YOURICP_AUTH_TOKEN=your_auth_token_here npm start
Or copy .env.example to .env and fill it in, then npm start.
Configuration
Two kinds of token
YourICP uses the word "token" for two unrelated things, so this server always says which one it means:
- auth token — the API credential that proves who you are. That is what
YOURICP_AUTH_TOKENandset_auth_tokenset. - billing token — YourICP's prepaid currency for enrichment work, where 100 billing tokens = $1.00. This reference server never touches them.
Contributing
Contributions are welcome! Please read CONTRIBUTING.md and our Code of Conduct. To report a security issue, see SECURITY.md.
License
MIT © YourICP