Claude Code MCP for Web Monitoring: Add AyeWatch in One Command
Add AyeWatch's MCP server to Claude Code with one claude mcp add command, then ask Claude to create, pause and list website and social media monitors from your terminal.
By AyeWatch Team5 min read
Short answer: To monitor websites from Claude Code, add AyeWatch's MCP server with claude mcp add --transport http and your API key in an Authorization header. Claude can then list, create, pause and delete monitors from a plain-English request. Alerts still reach you by email, push, Slack or webhook. MCP access needs a paid AyeWatch plan.
The command, and where the key lives
Create a key in API access settings, then run the command from AyeWatch's MCP docs. The endpoint is https://ayewatch.ai/api/mcp. It uses Streamable HTTP, is stateless and needs no session ID, so HTTP is the transport to pick.
claude mcp add --transport http ayewatch https://ayewatch.ai/api/mcp \
--header "Authorization: Bearer aw_live_YOUR_API_KEY"
Claude Code's docs list three scopes. The default, local, keeps the server in ~/.claude.json for you in the current project. --scope user makes it available in all your projects. --scope project writes a .mcp.json file at the project root that is shared through version control, so never put a literal key there. Claude Code expands environment variables in .mcp.json headers, so a shared file can read each person's own key:
{
"mcpServers": {
"ayewatch": {
"type": "http",
"url": "https://ayewatch.ai/api/mcp",
"headers": { "Authorization": "Bearer ${AYEWATCH_API_KEY}" }
}
}
}
Each teammate sets AYEWATCH_API_KEY in their own shell, and the monitors they create land in their own AyeWatch account. Claude Code asks for approval before it uses a project-scoped server from a .mcp.json file for the first time.
Check the connection with a read-only prompt
Run claude mcp list in your shell, or type /mcp inside Claude Code, to see whether the server connected. Then ask for something that changes nothing:
First prompt: List my AyeWatch monitors as a table with name, interval and whether each one is active.
That calls list_topics, which returns each monitor's ID, name, description, interval, active state and creation date, 20 per page by default and up to 100. An empty list is a good result on a new account. If the server shows as failed or asks you to authenticate, the key was not accepted. Signing in won't help, because AyeWatch's sign-in is limited to registered apps. Check that the header value is Bearer, a space, then the key. A 403 means the account has no active paid plan, has reached a plan limit or is out of credits.
Prompts that suit a terminal session
Claude Code can read your repository, which makes it good at turning project files into monitors. This request covers the dependencies you would otherwise check by hand.
Sample request: Read package.json. For the five dependencies we rely on most, look up each project's public changelog or releases page and create one paused AyeWatch monitor per page. Description: alert me about breaking changes, deprecations and security fixes. Use monitoring_mode auto. Show me a table of what you created.
Each monitor should come out as a create_topic call like this one:
{
"name": "https://docs.tidepool-sdk.example/changelog",
"description": "Alert me about breaking changes, deprecations and security fixes. Ignore typo fixes and doc rewording.",
"monitoring_mode": "auto",
"is_active": false
}
Read the table, ask Claude to delete anything wrong, then say "turn them on". Claude calls update_topic with each ID and changes: {"is_active": true}. Social sources work the same way. This Reddit search reports questions about your own library:
{
"source": {
"mode": "reddit_search",
"inputs": {
"query": "tidepool-sdk",
"filter": "bug reports, setup questions or comparisons with other SDKs"
}
},
"interval": "1_day",
"is_active": false
}
What it can't do
- Read past alerts. No tool returns alert history. Alerts arrive through your notifications and your webhook.
- Show the webhook secret.
get_webhookandset_webhooknever return the signing secret, so it stays out of the conversation. Read it in Notification settings. - Undo a delete.
delete_topicremoves the monitor and its schedule for good. Ask Claude to list what it will delete before it acts. - Run on a schedule. A nightly job should call the REST API directly. MCP is for a session where Claude decides what to call.
- Read login-only pages. AyeWatch reads public pages. Some sites block automated readers, and the first check shows it.
- Send many calls fast. MCP and REST share 120 requests a minute per key, and every MCP POST counts, including initialization and tool discovery.
What it costs
AyeWatch Pro is $9/mo with 50 topics and hourly checks; Pro+ is $19/mo with 200 topics and ASAP mode. Every plan starts with a 7-day free trial. Monitors created from Claude Code use the same credits as monitors made in the app. A web page monitor costs 1 credit a check. Five changelog monitors on Auto, budgeted at about 30 checks each a month, use about 5 × 30 = 150 credits. The Reddit search with a filter costs 2 credits a check, so daily is 2 × 30 = 60. Together that is 210 of the 500 credits on Pro.
Set it up in six steps
- Create an API key in API access settings. Use a separate key for Claude Code so you can revoke it on its own.
- Run the claude mcp add command above. Add --scope user if you want AyeWatch in every project.
- Run claude mcp list, or /mcp inside Claude Code, and confirm the server connected.
- Ask Claude to list your monitors. This proves the key works.
- Ask for one paused monitor and read the arguments Claude sent to create_topic.
- Turn it on with update_topic. The first check always shows something: what AyeWatch read, or a note that there is nothing yet.
| Command or prompt | What it does |
|---|---|
| claude mcp add --transport http ayewatch https://ayewatch.ai/api/mcp --header "Authorization: Bearer aw_live_..." | Adds the server for you in this project (local scope) |
| --scope user | Adds it for all your projects |
| --scope project | Writes .mcp.json for the team. Use Bearer ${AYEWATCH_API_KEY} as the header value. |
| claude mcp list | Lists configured servers and their status |
| claude mcp get ayewatch | Shows the details of one server |
| claude mcp remove ayewatch | Removes it. Revoke the key in AyeWatch too. |
| /mcp | Checks server status inside Claude Code |
| List my AyeWatch monitors | Calls list_topics, a safe first test |
Start a monitor in under a minute
Describe a topic or paste a URL. Cancel before the trial ends and you pay nothing.
Try it free for 7 daysThe bottom line
Add the server with one command, list your monitors to prove the key works, then ask for one paused monitor on a changelog you read by hand. Turn it on only after you have read what Claude created.
FAQ
Does Claude Code need a plugin to use AyeWatch?
No. AyeWatch is a remote MCP server, so one claude mcp add command with the HTTP transport and an Authorization header connects it. The API key comes from a paid AyeWatch plan.
Can I share the AyeWatch server with my team in .mcp.json?
Yes, with --scope project. Put Bearer ${AYEWATCH_API_KEY} in the header so the file holds no key, and each person sets their own key. Each person's monitors then go to their own account.
Why does Claude Code ask me to sign in to AyeWatch?
It means the key was not accepted. AyeWatch's sign-in is limited to registered apps, so fix the header instead: Bearer, a space, then a valid aw_live_ key.
Can Claude Code show me last week's alerts?
No. The MCP tools manage monitors and the webhook and have no alert history. Read alerts in the app feed, your email or Slack, or store webhook deliveries yourself.
How much does it cost to monitor a page from Claude Code?
The same as from the app: 1 credit per check for a web page monitor, so a daily check is 30 credits a month. AyeWatch Pro is $9/mo with 500 credits.