Source: https://measuremy.site/blog/what-is-an-mcp-server

[measuremy.site](https://measuremy.site/) / [Blog](https://measuremy.site/blog)

# What is an MCP server? A plain-English guide for people who run websites

October 4, 2026 · 6 min read

If you use Claude Code, Cursor or Codex you have probably seen the words "MCP server". Here is what that means without the jargon, and what to check before you connect one.

## The short version

MCP stands for Model Context Protocol, an open standard that Anthropic introduced in late 2024 for connecting AI applications to outside tools and data. An **MCP server** is a program that offers a set of named tools. An AI app (the **client**) connects to it, reads the list of tools, and calls them when they help answer your request.

Before MCP, every connection between an AI app and a service was custom work. With MCP, a service publishes one server and any compatible client can use it.

## The parts

- **Client:** the app you talk to, such as Claude Code, Cursor or Codex.
- **Server:** the program that exposes the tools. It can run on your machine or be hosted on the web.
- **Tools:** functions with a name, a description and inputs. "Get the last 7 days of traffic" is a tool.
- **Prompts and resources:** servers can also offer ready-made prompts and readable data, though tools are the part most people use.

## Local and remote servers

A **local** server runs on your computer and talks to the client over standard input and output. A **remote** server is hosted online and the client connects over HTTP, usually with a secret token. Services that already hold your data, such as an analytics product, offer a remote one: you give your client a URL and a key.

## What happens when you ask a question

- You ask: "Why did traffic jump on Tuesday?"
- The agent looks at the tools the server offers and picks the one that fits, for example a spike-finding tool.
- The client calls it, the server returns data as text or JSON, and the agent explains it in plain words and suggests a next step.

You never click through a dashboard. The agent does the querying.

## What to check before you connect one

- **Scope of the credential.** Is the key limited to one site or project, or does it open your whole account? Prefer the narrowest.
- **Read or write.** Which tools only read, and which change things? A server that can only read is the lowest risk.
- **Approval prompts.** Most clients ask before running a tool the first time. Read what it is asking.
- **Where the key is stored.** Keep it in your client's config, not pasted into chats or committed to a repository, and rotate it if it leaks.
- **Treat returned data as data.** Text that comes back from a tool is information, not instructions. Be wary of a server that returns content telling the agent to do unrelated things.

## A real example: analytics

The measuremy.site MCP server gives your agent tools for traffic, spikes and their causes, visits by country or browser or source, funnels, tracked campaign links and results. Each read key belongs to one site, and the agent can't change your account or billing. Connecting it in Claude Code is one command:

```
claude mcp add --scope user --transport http measuremysite https://a.measuremy.site/mcp --header "Authorization: Bearer YOUR_READ_KEY"
```

Or let your agent do the whole setup, including the account, from one sentence:

Paste this into Claude Code, Cursor or Codex

`Add measuremy.site analytics to this project: connect the measuremy.site MCP server at https://a.measuremy.site/mcp for all my projects (claude mcp add --scope user; it signs in with OAuth, no key, and one sign-in covers every site), then tell me how to sign in. Details: measuremy.site/llms.txt`

## Building your own

There are official software development kits for TypeScript and Python that handle the protocol details, so a small server that wraps one API is an afternoon of work. For a deeper look at connecting analytics, see [the analytics MCP server guide](https://measuremy.site/guides/analytics-mcp-server) and the [agent docs](https://measuremy.site/docs/mcp).

### See it on your own site

measuremy.site is cookieless analytics your coding agent can read. 30-day free trial, no card. Plans from $9/month.

[Start free trial](https://measuremy.site/login) [See the live demo](https://measuremy.site/share/measuremy.site)

Add measuremy.site analytics to this project: connect the measuremy.site MCP server at https://a.measuremy.site/mcp for all my projects (claude mcp add --scope user; it signs in with OAuth, no key, and one sign-in covers every site), then tell me how to sign in. Details: measuremy.site/llms.txt

## Free tools

- [Analytics tag checker](https://measuremy.site/tools/analytics-tag-checker): Which analytics and pixels a site runs, plus duplicate and broken tags.
- [Free UTM link builder](https://measuremy.site/tools/utm-link-builder): Add utm_source, medium and campaign to any link.
- [Website traffic checker](https://measuremy.site/tools/website-traffic-checker): A site's popularity rank and estimated monthly visits.

[All free tools](https://measuremy.site/tools)

## More from the blog

- [How to calculate your website conversion rate, and what to compare it to](https://measuremy.site/blog/calculate-website-conversion-rate)
- [Is my A/B test result significant? A plain-English guide with a worked example](https://measuremy.site/blog/is-my-ab-test-significant)
- [What is bounce rate, how is it calculated, and is yours a problem?](https://measuremy.site/blog/what-is-bounce-rate)
- [How to add a visitor counter to your website or GitHub README](https://measuremy.site/blog/add-visitor-counter-to-website)
- [How much traffic does a website get? How to estimate any site's visits](https://measuremy.site/blog/how-much-traffic-does-a-website-get)
- [How to track QR code scans: count them, and see which poster worked](https://measuremy.site/blog/track-qr-code-scans)
- [How to see how many people clicked your link (without a paid shortener)](https://measuremy.site/blog/how-many-people-clicked-my-link)
- [How to check if your Google Analytics 4 tag is installed (and only counting once)](https://measuremy.site/blog/check-if-ga4-is-installed)
- [Why GA4 shows your campaign traffic as Unassigned (and how to fix the links)](https://measuremy.site/blog/ga4-unassigned-traffic)
- [Does your redirect keep your UTM tags? How to check before a campaign goes out](https://measuremy.site/blog/redirect-drops-utm-tags)
- [How I built a self-hosted analytics MCP server on Cloudflare Workers and D1](https://measuremy.site/blog/analytics-mcp-server-cloudflare-workers)
- [UTM tracking explained: what the parameters mean and how to use them](https://measuremy.site/blog/utm-tracking-explained)
- [Conversion funnel analysis for small sites: a practical guide](https://measuremy.site/blog/conversion-funnel-analysis)
- [Sudden drop in website traffic? A checklist for finding the cause](https://measuremy.site/blog/sudden-drop-in-website-traffic)
- [Website Data Analytics for Owners: A Practical Guide](https://measuremy.site/blog/what-is-data-analytics-for-a-website-owner)
- [Vanity Metrics vs Useful Metrics: What to Track](https://measuremy.site/blog/vanity-metrics-vs-useful-metrics)
- [How to Compare Cookieless Website Tracking Tools](https://measuremy.site/blog/cookieless-tracking-solutions-compared)
- [Why Your Analytics Numbers Differ Between Tools](https://measuremy.site/blog/why-your-analytics-numbers-differ-between-tools)
- [When GA4 Is Too Much for a Small Website](https://measuremy.site/blog/when-ga4-is-too-much-for-a-small-website)
- [How to keep historical data when switching analytics tools](https://measuremy.site/blog/how-to-keep-historical-data-when-switching-analytics-tools)
- [How to give an AI agent read-only access to your analytics](https://measuremy.site/blog/how-to-give-an-ai-agent-read-only-access-to-your-analytics)
- [Why developers are connecting agents to production data](https://measuremy.site/blog/why-developers-are-connecting-agents-to-production-data)
- [How to recover from a sudden traffic drop](https://measuremy.site/blog/how-to-recover-from-a-sudden-traffic-drop)
- [Website analytics for indie hackers: what to watch and what to ignore](https://measuremy.site/blog/website-analytics-for-indie-hackers)
- [Direct Traffic Explained: Why So Much Is Unknown](https://measuremy.site/blog/direct-traffic-explained-why-so-much-of-it-is-unknown)
- [Why a high bounce rate is not always bad](https://measuremy.site/blog/why-a-high-bounce-rate-is-not-always-bad)
- [High bounce rate: 8 causes and practical fixes](https://measuremy.site/blog/high-bounce-rate-8-causes-and-how-to-fix-them)
- [How to Set Up Traffic Alerts for Sudden Drops](https://measuremy.site/blog/how-to-set-up-traffic-alerts-for-sudden-drops)
- [How to Track Traffic From a Podcast](https://measuremy.site/blog/how-to-track-traffic-from-a-podcast)
- [How to measure the return on a paid ad campaign](https://measuremy.site/blog/how-to-measure-the-return-on-a-paid-ad-campaign)
- [How to use analytics to decide what to write next](https://measuremy.site/blog/how-to-use-analytics-to-decide-what-to-write-next)
- [How the Model Context Protocol Works](https://measuremy.site/blog/how-the-model-context-protocol-works)
- [Track File Downloads Without Guesswork](https://measuremy.site/blog/how-to-track-file-downloads-on-your-website)
- [Adding analytics to a Next.js app without slowing it down](https://measuremy.site/blog/analytics-for-next-js-apps)
- [Core Web Vitals and Traffic: Is There a Link?](https://measuremy.site/blog/core-web-vitals-and-traffic-is-there-a-link)
- [Analytics After Cookies: What Actually Changes](https://measuremy.site/blog/what-happens-to-analytics-when-cookies-go-away)
- [GDPR and website analytics: a practical guide for small sites](https://measuremy.site/blog/gdpr-and-website-analytics-what-small-sites-should-know)
- [How to Compare Website Analytics Tools by Privacy](https://measuremy.site/blog/website-analytics-tools-compared-by-privacy)
- [GA4 Events Explained for Beginners](https://measuremy.site/blog/ga4-events-explained-for-beginners)
- [How to measure a newsletter send with UTM links](https://measuremy.site/blog/how-to-measure-a-newsletter-send-with-utm-links)
- [How to track Hacker News traffic](https://measuremy.site/blog/how-to-track-hacker-news-traffic)
- [Adding Analytics to a Framer Site](https://measuremy.site/blog/how-to-add-analytics-to-a-framer-site)
- [How to ask your coding agent about your analytics](https://measuremy.site/blog/how-to-ask-your-coding-agent-about-your-analytics)
- [What Is Bounce Rate and How Is It Calculated?](https://measuremy.site/blog/what-is-bounce-rate-and-how-is-it-calculated)
- [A practical website analytics retention policy](https://measuremy.site/blog/how-long-to-keep-website-analytics-data)
- [Map your site's funnel from first visit to signup](https://measuremy.site/blog/awareness-consideration-conversion-mapping-the-funnel-to-your-site)
- [What Is a Good Bounce Rate?](https://measuremy.site/blog/what-is-a-bounce-rate-and-what-is-a-good-one)
- [How to automate a weekly traffic report](https://measuremy.site/blog/how-to-automate-a-weekly-traffic-report)
- [A Practical Privacy-Friendly Analytics Checklist](https://measuremy.site/blog/privacy-friendly-analytics-checklist)
- [Adding an MCP server to Claude Code](https://measuremy.site/blog/how-to-add-an-mcp-server-to-claude-code)
- [How long should you keep analytics data?](https://measuremy.site/blog/how-long-should-you-keep-analytics-data)
- [How to Build a Small MCP Server That Actually Helps](https://measuremy.site/blog/how-to-build-your-own-mcp-server)
- [How to Find the Biggest Drop Off in a Funnel](https://measuremy.site/blog/how-to-find-the-biggest-drop-off-in-a-funnel)
- [What Is the Urchin Tracking Module?](https://measuremy.site/blog/what-is-the-urchin-tracking-module-and-why-utm-stuck-around)
- [What Microsoft MCP servers actually do](https://measuremy.site/blog/microsoft-mcp-servers-explained)
- [UTM parameters for email newsletters](https://measuremy.site/blog/utm-parameters-for-email-newsletters)
- [Track Button Clicks Without Google Tag Manager](https://measuremy.site/blog/how-to-track-clicks-on-a-button-without-google-tag-manager)
- [How to track the results of a social media post without cookies](https://measuremy.site/blog/how-to-measure-the-results-of-a-social-media-post)
- [How to track traffic from a GitHub README](https://measuremy.site/blog/how-to-track-traffic-from-a-github-readme)
- [How to measure a product launch without guessing](https://measuremy.site/blog/how-to-measure-a-product-launch)
