Wincher MCP

Wincher MCP

wincher-mcp•byvmandic

A read-only MCP server that gives AI coding agents access to Wincher SEO data such as keyword rankings, competitors, SERPs, and groups.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides nine read-only tools covering websites, keywords, rankings, competitors, SERPs, groups, bulk history, and annotations.
  • •Returns historical ranking series and competitor position data for tracked keywords.
  • •Supports optional TOON output to reduce token use on large keyword and ranking lists.
  • •Runs as a local stdio process spawned by the MCP client, with no network listener.

BEST FOR

  • •SEO workflows where an agent lists a Wincher account's websites and top-ranked keywords inside chat.
  • •Comparing a site's rankings against a competitor's positions on specific keywords.
  • •Inspecting SERP snapshots and keyword group averages for a tracked site.

ABOUT WINCHER-MCP

Wincher MCP is cataloged as an MCP server attributed to vmandic. A read-only MCP server that gives AI coding agents access to Wincher SEO data such as keyword rankings, competitors, SERPs, and groups. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Wincher MCP are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server modify data in my Wincher account?

No. The tools are read-only, use GET-style Wincher API calls, and the server does not create, update, or delete Wincher resources.

How does the server authenticate to Wincher?

It reads a Wincher Personal Access Token from the WINCHER_API_KEY environment variable and never stores tokens on disk.

Upstream README

View this exact version on GitHub

README.md · a9f94c6bda40 · Fetched 2026-11-13 12:35:32 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Wincher MCP

CI License: MIT Python MCP

Read-only Wincher SEO data for AI coding agents.
Connect Cursor, Claude Code, or any MCP client to your tracked websites: keyword rankings, competitors, SERPs, and groups, without leaving the editor.

  • Read-only by design — GET-style Wincher API usage only; no writes to your account
  • Stdio MCP — local process spawned by the client; no HTTP listener
  • Nine focused tools — websites, keywords, rankings, competitors, SERPs, groups, bulk history, annotations
  • Hardened defaults — input limits, response caps, safe errors, optional staging host validation
  • Optional TOON output — compact Token-Oriented Object Notation responses to cut LLM token use on large keyword and ranking lists

Canonical open-source Wincher MCP server: PyPI package wincher-mcp, agent docs, CI, vendored OpenAPI, optional TOON output, and security hardening. Lineage from the early chris-tutt/wincher-mcp-server prototype; this repo is the maintained home for new work.


Table of contents


Why use this

Wincher holds the keyword and competitor data SEO workflows depend on. This server exposes that data through the Model Context Protocol so agents can answer questions in chat instead of exporting CSVs or clicking through dashboards.

Use it when you want:

  • Website and keyword lists inside an agent session
  • Competitor and SERP context for a target query
  • A small, auditable tool surface (nine read-only tools)

Features

CapabilityMCP tool
List tracked websitesget_websites
Keywords and current rankingsget_keywords
Historical ranking seriesget_keyword_rankings
Competitor summary metricsget_competitor_ranking_summaries
Competitor positions per keywordget_competitor_keyword_positions
SERP snapshot and featuresget_serps
Keyword group aggregatesget_keyword_groups
Bulk ranking historyget_bulk_ranking_history
SEO annotations / notesget_annotations

Input validation — Positive integer IDs, bounded bulk lists, validated date strings where applicable.

Clear errors — HTTP failures return endpoint and status without leaking full URLs, tokens, or raw API bodies.


Quick start

Agentic install prompt

Paste into Cursor, Claude Code, or Copilot and ask the agent to run setup on your machine.

Assumptions (confirm before changing anything):

AssumptionWhy it matters
Python 3.10+Required to run wincher_mcp_server.py
Wincher accountPersonal Access Token from Wincher settings
Stdio MCPConfig uses command + args; no HTTP transport
Absolute pathsMCP config must point at real .venv/bin/python and wincher_mcp_server.py
Secrets off-repoWINCHER_API_KEY in MCP env or ~/.zsh_secrets, never committed
Set up the wincher-mcp MCP server from https://github.com/vmandic/wincher-mcp on this machine end-to-end.

Before you change anything, confirm with me:
1) Which MCP client I use (Cursor, Claude Code, or VS Code Copilot).
2) Where to clone the repo (default: ~/source/vmandic/wincher-mcp).

Then:

A) Prerequisites — Python 3.10+, no secrets in git.
B) Clone, venv, test — git clone, python3 -m venv .venv, pip install -r requirements.txt -r requirements-dev.txt, pytest -q, py_compile wincher_mcp_server.py.
C) Wincher token — I create a Personal Access Token in Wincher; add WINCHER_API_KEY to MCP env (or ~/.zsh_secrets if using a wrapper script).
D) MCP config — stdio: command = ABSOLUTE_PATH/.venv/bin/python, args = [ABSOLUTE_PATH/wincher_mcp_server.py], env = { WINCHER_API_KEY }. See docs/MCP_CONFIG.example.json. Do not commit real keys or staging hosts.
E) Verify — restart MCP client, call get_websites, report results or auth errors.

Summarize: clone path, config file edited, and exact JSON used.

Manual setup

1. Clone and install

git clone https://github.com/vmandic/wincher-mcp.git
cd wincher-mcp
python3 -m venv .venv
source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -r requirements.txt

2. API key — Wincher → Settings → Personal Access Tokens. Copy the token once; store it only in env or a local secrets file.

3. MCP client — example for Cursor (~/.cursor/mcp.json):

{
  "mcpServers": {
    "wincher-mcp": {
      "command": "/absolute/path/to/wincher-mcp/.venv/bin/python",
      "args": ["/absolute/path/to/wincher-mcp/wincher_mcp_server.py"],
      "env": {
        "WINCHER_API_KEY": "YOUR_KEY_HERE"
      }
    }
  }
}

See docs/MCP_CONFIG.example.json for production, optional staging, and TOON entries.

4. Restart the client, then ask: “List my Wincher websites” (get_websites).

Full walkthrough: docs/SETUP.md. More prompts: docs/EXAMPLES.md.


Requirements

RequirementNotes
Python3.10 or newer (CI tests 3.10–3.12)
Wincher accountWith API access and tracked sites/keywords
API tokenPersonal Access Token; env var WINCHER_API_KEY
MCP clientCursor, Claude Code, or any stdio MCP host

Installation

pipx install wincher-mcp
# or: pip install wincher-mcp

MCP config then uses the console script (no clone path):

{
  "mcpServers": {
    "wincher": {
      "command": "wincher-mcp",
      "args": [],
      "env": { "WINCHER_API_KEY": "YOUR_KEY_HERE" }
    }
  }
}

Find the binary path if needed: pipx which wincher-mcp.

Package: pypi.org/project/wincher-mcp. Publishing: docs/PYPI.md.

From a clone (development)

git clone https://github.com/vmandic/wincher-mcp.git
cd wincher-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest -q

Legacy launcher wincher_mcp_server.py at repo root still works for existing MCP JSON paths.

Virtual environment name

Use .venv (as in CI) or pipx for MCP hosts. Update MCP config command accordingly.


Authentication

The server never stores tokens on disk. It reads WINCHER_API_KEY from the process environment (set in MCP env or exported in the shell).

WhatPurpose
Personal Access TokenBearer auth to https://api.wincher.com (production)
Optional stagingMCP arg "--use-staging" plus env WINCHER_STAGING_API_HOST on your machine only

Production API host is hardcoded in the server. The staging host must never be committed to this repository.

Obtain staging URLs from your Wincher team; wire them only in private MCP config. See docs/MCP_CONFIG.example.json (wincher-staging has no host in the example).

Optional TOON responses (lower token use)

TOON is a compact encoding for structured data sent to LLMs. Tabular Wincher payloads (keywords, competitors, bulk history) often use 30–60% fewer tokens than the default human-readable text layout.

ModeHow
Server default TOONAdd "--use-toon" to the MCP server args array (see wincher-toon in docs/MCP_CONFIG.example.json)
Per callPass "output_format": "toon" on any tool (or "text" to force readable text when --use-toon is on)

Responses include a short preamble and TOON body. Decode in Python with python-toon:

from toon import decode

Default remains human-readable text when --use-toon is not set.

Wrapper pattern (optional): a shell script can source ~/.zsh_secrets then exec .venv/bin/python wincher_mcp_server.py so Cursor opened from the Dock still gets the key. Do not commit that script with secrets inside.

Copy .env.example to .env for local shell use only; .env is gitignored.


Connect your MCP client

ClientConfig locationConfig key
Cursor~/.cursor/mcp.json or project .cursor/mcp.jsonmcpServers
Claude Code~/.claude.json or project .mcp.jsonmcpServers
VS Code Copilot.vscode/mcp.jsonservers (stdio)

The Claude desktop app (if you use it) uses claude_desktop_config.json on macOS/Windows with the same mcpServers shape; see docs/SETUP.md.

All examples use stdio: the client spawns Python and talks JSON-RPC over stdin/stdout. Logs and errors go to stderr.

Project-level MCP: some repos commit .cursor/mcp.json with a command pointing at a local wrapper (no secrets in JSON). Global user config can hold the same server for all workspaces.


Tools reference

All tools are read-only. Parameters use Wincher website/keyword IDs from get_websites / get_keywords.

ToolMain inputs
get_websites—
get_keywordswebsite_id
get_keyword_rankingswebsite_id, keyword_id, date range
get_competitor_ranking_summarieswebsite_id
get_competitor_keyword_positionswebsite_id, competitor filters
get_serpswebsite_id, keyword_id
get_keyword_groupswebsite_id
get_bulk_ranking_historywebsite_id, keyword id list (capped)
get_annotationswebsite_id

Field-level detail: vendored docs/api/wincher-openapi.json and Wincher API docs.


Example prompts for agents

  • “List all websites in my Wincher account.”
  • “For website ID 12345, show keywords in the top 10.”
  • “Compare our rankings vs competitor X for this site.”
  • “Show the SERP for keyword ID 67890.”
  • “Which keyword group has the best average position?”

Security

This server calls your Wincher account using your API token. Treat it like any local tool with outbound HTTPS.

What we enforce in code

ControlDetail
Read-only toolsNo create/update/delete Wincher resources
Stdio onlyNo network listener in the server
Production host fixedhttps://api.wincher.com in source
Staging URL validationHTTPS only; blocks localhost/private/metadata hosts
No redirect followingfollow_redirects=False on HTTP client
Bounded inputs/outputsID validation, bulk caps, row limits in formatted responses
Error redactionTool errors avoid tokens and full response bodies

What you should do

  1. Never commit .env, real MCP JSON with keys, or WINCHER_STAGING_API_HOST values.
  2. Prefer project gitignore for .cursor/mcp.json if it might hold local paths tied to secrets workflow.
  3. Review security_best_practices_report.md for the full audit and residual risks (including SSRF if staging env is mis-set).

Threat model (short)

ModeWho can call tools?
stdioThe MCP client that started the Python process (your IDE / agent host)

API reference

OpenAPI is vendored from wincher.com/docs/api:

FileRole
docs/api/wincher-openapi.jsonSpec snapshot
docs/api/META.jsonfetched_at, source_chunk_sha256
docs/api/README.mdRefresh instructions

Refresh locally:

python3 scripts/fetch_wincher_openapi.py

CI runs a weekly drift check (scripts/fetch_wincher_openapi.py --check) against META.json.


Troubleshooting

SymptomWhat to try
MCP server not listedRestart client; check absolute paths to .venv/bin/python and wincher_mcp_server.py.
WINCHER_API_KEY not setAdd token to MCP env or wrapper that sources your secrets file.
HTTP 401Regenerate token in Wincher; update env; restart client.
Empty or partial dataConfirm sites/keywords exist in Wincher UI; check website/keyword IDs.
Staging errorsEnsure --use-staging in args and WINCHER_STAGING_API_HOST set in env (host not in repo).

Test API key manually:

curl -sS -H "Authorization: Bearer YOUR_KEY" https://api.wincher.com/v1/websites

Development

Every push and pull request to main runs CI:

JobWhat it does
testPython 3.10 / 3.11 / 3.12 — pip install, py_compile, pytest, pip-audit
api-spec-checkWeekly (and on schedule) — verify Wincher docs chunk hash vs docs/api/META.json
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt -r requirements-dev.txt
pytest -q
pip-audit -r requirements.txt -r requirements-dev.txt
python3 scripts/fetch_wincher_openapi.py          # refresh spec
python3 scripts/fetch_wincher_openapi.py --check  # drift check

Layout:

wincher_mcp_server.py   # MCP entry (stdio)
scripts/                # OpenAPI fetch
docs/api/               # Vendored spec + META
test/                   # pytest (security, fetch script)
.cursor/                # Agent rules and skills
AGENTS.md               # Pointer for coding agents

Agents: start with AGENTS.md and .cursor/rules/.

Dependabot: .github/dependabot.yml (pip + GitHub Actions).


Lineage and license

MIT — maintained by Vedran Mandić and contributors.

Contributions welcome via issues and pull requests. Run pytest and pip-audit before opening a PR.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Wincher MCP from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/wincher-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research