Claude Code
Connect Claude Code to your Loudmink workspace to query your visibility data from the terminal.
The Loudmink MCP server gives Claude Code direct access to your tracking data, competitive analysis, content library, and agent knowledge base.
Prerequisites
- A Loudmink account with an active plan
- Claude Code installed
Step 1: Generate an API key
- Go to Settings in your Loudmink dashboard
- Find the API Keys card
- Click Create API key
- Give it a label (e.g. "Claude Code")
- Select which product to connect
- Copy the key — it's only shown once
Step 2: Connect Claude Code
Run this command in your terminal:
claude mcp add loudmink npx loudmink-mcp --api-key=YOUR_API_KEYReplace YOUR_API_KEY with the key you copied in Step 1.
Step 3: Try it out
Open Claude Code and try asking:
- "Which queries am I missing on?"
- "Show me my competitors on Perplexity"
- "What's my visibility trend over the last 30 days?"
- "Score my latest article for AEO"
- "Add these queries to track: best CRM for startups, top project management tools"
Available tools
Read
| Tool | What it does |
|---|---|
list_queries | All tracked queries with per-engine visibility |
get_query_detail | Full engine breakdown for a single query |
get_query_history | Citation trend over time |
get_digest | Competitor claims and sources for a query |
get_competitors | Competitor visibility snapshot |
list_articles | Content library with AEO scores |
get_article | Full article content |
list_reddit_opportunities | Reddit threads AI engines cite |
get_cycle_status | Pipeline status and last cycle date |
get_snapshots | Visibility trends for charting |
Write
| Tool | What it does |
|---|---|
add_queries | Add new queries to track |
tag_queries | Add or update tags on queries |
trigger_recheck | Recheck a query across all engines |
score_article | Score an article for AEO (0-100) |
update_article | Update article title or summary |
Knowledge base
Claude Code can also read your full agent knowledge base as a resource. This is the same compiled context your Loudmink agent uses — it includes your brand strategy, all tracked queries with visibility, competitor analysis, content library, and Reddit opportunities.
Access it by asking Claude Code to read the loudmink://knowledge-base resource.
Troubleshooting
"Invalid or revoked API key"
Check that you copied the full key (starts with lm_). If you've lost it, create a new one in Settings.
"API key auth not supported for this action" Some write operations (like creating queries) require a user context. Make sure you're logged into your Loudmink account.
Connection timeout
The MCP server connects to https://loudmink.ai by default. If you're running Loudmink locally, pass --base-url=http://localhost:3000.