Skip to main content
Glama

eRank MCP

MCP server for members.erank.com. Use your logged-in browser session (exported cookies) so Cursor or any MCP client can run keyword research, rank checks, competitor intel, shop analysis, and related eRank workflows.

Not an official eRank product. Use only with accounts you own, respect eRank’s Terms of Service, and watch your plan quotas.

Requirements

  • Python 3.11+

  • Active eRank membership

  • Cookies exported from a logged-in browser session

Related MCP server: Amazon Seller MCP

Install

git clone https://github.com/cipher-x-sudo/Erank-MCP.git
cd Erank-MCP
python -m venv .venv

# Windows
.\.venv\Scripts\activate

# macOS / Linux
# source .venv/bin/activate

pip install -e .

For development extras:

pip install -e ".[dev]"

Authentication

  1. Sign in at https://members.erank.com

  2. Export cookies for members.erank.com / .erank.com (Cookie-Editor, EditThisCookie, or equivalent) as JSON

  3. Save as cookies.json in the project root (see cookies.example.json)

cookies.json is gitignored. Do not commit it.

Optional .env (copy from .env.example):

ERANK_COOKIE_FILE=cookies.json
ERANK_DEFAULT_COUNTRY=GLO
ERANK_DEFAULT_MARKETPLACE=etsy
ERANK_ALLOW_WRITES=0
ERANK_ALLOW_TELEMETRY=0
ERANK_WARM_SESSION=1

Shop, member, and keyword-list IDs are discovered from the session when unset. You can override them with ERANK_DEFAULT_SHOP, ERANK_DEFAULT_SHOP_ID, ERANK_DEFAULT_MEMBER_ID, or ERANK_KEYWORD_LIST_ID.

Verify session

python scripts/smoke_session.py

Or from Python:

python -c "from erank_mcp.server import erank_session_status; import json; print(json.dumps(erank_session_status(), indent=2)[:2000])"

A healthy response includes cookie status, shop profile, and quota.

Cursor MCP

Add to your Cursor mcp.json (use absolute paths for your machine):

{
  "mcpServers": {
    "erank": {
      "command": "/absolute/path/to/Erank-MCP/.venv/bin/python",
      "args": ["-m", "erank_mcp"],
      "cwd": "/absolute/path/to/Erank-MCP",
      "env": {
        "ERANK_COOKIE_FILE": "/absolute/path/to/Erank-MCP/cookies.json",
        "ERANK_DEFAULT_COUNTRY": "GLO",
        "ERANK_DEFAULT_MARKETPLACE": "etsy",
        "ERANK_ALLOW_WRITES": "0",
        "ERANK_ALLOW_TELEMETRY": "0",
        "ERANK_WARM_SESSION": "1"
      }
    }
  }
}

Windows example for command:

E:\\path\\to\\Erank-MCP\\.venv\\Scripts\\python.exe

A sample config lives in examples/cursor-mcp.json.

CLI

erank-mcp
# or
python -m erank_mcp

Tools

Tool

Purpose

erank_session_status

Session health, shop profile, quota

erank_dashboard_snapshot

Dashboard bundle (selectable sections)

erank_keyword_research

Keyword research orchestration

erank_keyword_list

Keyword lists, terms, and list quotas

erank_save_keyword

Save a keyword (writes gated)

erank_rank_check

Rank checker (+ optional SERP)

erank_competitor_intel

Competitor sales (+ optional track)

erank_shop_analyze

Shop info and listings

erank_top_sellers

Top sellers / yesterday / countries

erank_trending

Trending report / buzz

erank_listing_health

Listing health check

erank_settings_read

Account settings (read)

erank_quota

Daily / non-daily quota

erank_raw_request

Escape hatch for any /api path

erank_replay_flow

Replay a named multi-step flow

erank_catalog_info

Inspect endpoint templates

Mutating calls need ERANK_ALLOW_WRITES=1. Telemetry (/api/logs) stays blocked unless ERANK_ALLOW_TELEMETRY=1.

Configuration

Variable

Default

Description

ERANK_COOKIE_FILE

cookies.json

Path to cookie export

ERANK_COOKIE_HEADER

—

Optional raw Cookie header (overrides file)

ERANK_BASE_URL

https://members.erank.com

API base

ERANK_DEFAULT_COUNTRY

GLO

Default country code

ERANK_DEFAULT_MARKETPLACE

etsy

Default marketplace

ERANK_DEFAULT_SHOP

auto

Shop name override

ERANK_DEFAULT_SHOP_ID

auto

Shop id override

ERANK_DEFAULT_MEMBER_ID

auto

Member id override

ERANK_KEYWORD_LIST_ID

auto

Keyword list id override

ERANK_ALLOW_WRITES

0

Allow write / mutate tools

ERANK_ALLOW_TELEMETRY

0

Allow /api/logs

ERANK_WARM_SESSION

1

Warm session on startup

Security

  • Never commit cookies.json, .env, or session dumps

  • Prefer file-based cookies over pasting values into chat or configs

  • Keep ERANK_ALLOW_WRITES=0 unless you intentionally need mutations

  • Rotate the browser session if cookies may have been exposed

  • Endpoints can change without notice; re-export cookies after login/logout

License

MIT — see LICENSE.

Available Tools

16 tools
erank_catalog_infoC

Inspect HAR-derived API catalog (endpoint templates). Optional feature group filter.

Inputs: group. Returns: object

erank_competitor_intelC

Competitor sales intel. Set track=true (and ERANK_ALLOW_WRITES=1) to track a shop.

Inputs: track, shop_id, shop_name, include_full. Returns: object

erank_dashboard_snapshotB

Dashboard snapshot. sections optional subset of: profile, shops, scorecards, competitors, health, news, quota, history. Default: profile, shops, scorecards, competitors, quota.

Inputs: sections, include_full. Returns: object

erank_keyword_listD

Keyword list operations. action: names | terms | terms_kl | quota_names | quota_terms

Inputs: flag, page, action, country, +8 more. Returns: object

erank_keyword_researchB

Full eRank Keyword Tool, all tabs. Returns: seed (stats + monthly trend), keyword_ideas (Keywords, Search Trend, Avg. Searches, Avg. Clicks, Avg. CTR, KD, Etsy Competition, Tag Occurrences, Chars, Google Searches, is_top_tag), near_matches, top_listings, search_results_analysis (include_serp), marketplaces (include_marketplace_stats). match: default|exact|phrase|broad (UI "Match" dropdown). page: keyword-ideas page.

Inputs: keyword (required), page, match, country, +5 more. Returns: object

erank_listing_healthC

Listing health-check dashboard + paginated listing issues.

Inputs: page, per_page, order_field, order_direction. Returns: object

erank_quotaB

Read quota. kind: daily | none-daily.

Inputs: kind. Returns: object

erank_rank_checkC

Rank checker for a keyword against a shop (paginated single-term + optional SERP).

Inputs: keyword (required), shop, country, max_offset, +3 more. Returns: object

erank_raw_requestA

Escape hatch: call any /api path. query_json and body_json are JSON strings. Telemetry paths (/api/logs) blocked unless ERANK_ALLOW_TELEMETRY=1. Writes should still respect ERANK_ALLOW_WRITES for safety on known mutators.

Inputs: path (required), method (required), referer, body_json, +1 more. Returns: object

erank_replay_flowC

Replay a HAR-mirrored flow. flow_name: dashboard | keyword_tool_full | rank_checker | competitor_shop | top_sellers | trending | settings | shop_info

Inputs: flow_name (required), shop, keyword, include_full. Returns: object

erank_save_keywordB

Save a keyword into a keyword list (mutating; requires ERANK_ALLOW_WRITES=1).

Inputs: keyword (required), country, list_id, marketplace. Returns: object

erank_session_statusA

Check eRank session health (shop profile, quota, oauth). Never returns cookies.

Inputs: no named parameters. Returns: object

erank_settings_readA

Read settings: member, shops, marketplaces, categories, invoices, preferences.

Inputs: no named parameters. Returns: object

erank_shop_analyzeC

Analyze a shop: profile, badge, listings-fresh pages, sales history, top tags.

Inputs: shop (required), include_full, max_listing_offset. Returns: object

erank_top_sellersD

Top sellers. mode: list | yesterday | countries | most_sales_etsy.

Inputs: mode, page, country, sort_by, +5 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 16 tools

    Disambiguation3/5

    Most tools map to a distinct eRank feature area (keyword research, rank check, competitor intel, shop analyze, trending, top sellers), but erank_raw_request and erank_replay_flow are two generic escape hatches whose flow_names explicitly duplicate the specific tools (keyword_tool_full, rank_checker, top_sellers, trending, settings, shop_info), forcing an agent to choose between a targeted tool and its generic twin. erank_dashboard_snapshot also re-surfaces quota and competitor data that erank_quota and erank_competitor_intel already provide. Descriptions mitigate but boundaries are genuinely blurry in the escape-hatch layer.

    Naming Consistency4/5

    All 16 names share the erank_ prefix and snake_case, and most follow a noun-first resource_action pattern (keyword_research, rank_check, shop_analyze, settings_read, listing_health). A few flip to verb_noun (save_keyword, replay_flow), which is a minor deviation rather than a different convention.

    Tool Count4/5

    16 tools is on the heavy side but each of the core feature areas of an Etsy SEO platform (keywords, rank, competitors, shops, trending, health, settings) legitimately needs its own entry point. The two generic tools (raw_request, replay_flow) are the only ones that don't earn independent space, since they overlap with the specific tools.

    Completeness4/5

    The surface covers the full research lifecycle: session/quota checks, dashboard rollup, keyword discovery and saved lists, rank checking, competitor and shop analysis, top sellers, trending, and listing health. Minor gaps exist on the write side (keyword lists are read/save only, with no remove or list-create operations, and no un-track for competitors), though erank_raw_request provides a workaround.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables free access to multiple AI models (ChatGPT, Claude, Gemini, etc.) via MCP tools and OpenAI-compatible endpoints by leveraging browser session cookies, eliminating the need for API keys.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables managing Amazon seller listings, orders, pricing, inventory, and reports through the SP-API via MCP tools.
      15
      15 npm
      5
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to search and manage Xianyu items, publish or edit physical products, handle conversations and messages, and complete QR-code login with cookie setup.
      -