Claude Desktop
Use API Direct as an MCP server in Claude Desktop to search social media and news from your conversations.
Option 1: Connectors (Recommended)
- Open Claude Desktop and go to Settings > Connectors
- Click Add custom connector
- Paste the following URL, replacing
YOUR_API_KEYwith your key from the API Keys page:
https://apidirect.io/mcp?token=YOUR_API_KEY
- Click Add
Option 2: Config File
If you prefer manual configuration, add API Direct to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"apidirect": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://apidirect.io/mcp?token=YOUR_API_KEY"]
}
}
}
Replace YOUR_API_KEY with your key from the API Keys page. Restart Claude Desktop after saving the file.
This option requires Node.js to be installed, as it uses npx to run the mcp-remote bridge.
Usage
Once connected, ask Claude to search any supported platform:
- “Search LinkedIn for posts about AI agents”
- “Find recent Reddit discussions about React Server Components”
- “Search Twitter for posts about the latest OpenAI release”
Claude will ask for permission the first time it uses a tool, then return results inline.
Available Tools
| Tool | Description |
|---|---|
search_linkedin |
Search LinkedIn posts |
search_twitter |
Search Twitter/X posts |
twitter_user_profile |
Get a Twitter/X user’s profile by username |
twitter_user_tweets |
Get tweets posted by a Twitter/X user |
twitter_user_followers |
Get the followers of a Twitter/X user |
twitter_user_following |
Get the accounts a Twitter/X user is following |
twitter_verified_followers |
Get the verified followers of a Twitter/X user |
twitter_user_replies |
Get replies posted by a Twitter/X user |
twitter_tweet_details |
Get details for a single tweet by ID |
twitter_tweet_retweets |
Get users who retweeted a tweet |
twitter_tweet_quotes |
Get quote tweets for a tweet |
twitter_tweet_comments |
Get comments on a tweet |
twitter_trends |
Get trending topics for a location |
search_reddit |
Search Reddit posts |
search_reddit_comments |
Search Reddit comments |
search_youtube |
Search YouTube videos |
search_instagram |
Search Instagram posts by hashtag |
search_tiktok |
Search TikTok videos |
search_forums |
Search forum posts across the web |
search_news |
Search news articles from thousands of sources |
Troubleshooting
“No API key provided” — Make sure the ?token= parameter is included in the URL.
“Invalid API key” — Double-check your API key in the dashboard. Keys start with ak_live_.
Tools not appearing — Restart Claude Desktop after adding the connector or editing the config file.
Config file option not working — Make sure Node.js is installed (node --version). The mcp-remote package is fetched automatically via npx.