Skip to main content
Glama
Marketing Miner MCP

Marketing Miner MCP

Servidor MCP de Marketing Miner

Servidor MCP para la API de Profilers de Marketing Miner. Conecta Claude, Cursor, Windsurf y otros clientes MCP a la investigación de palabras clave y analítica de sitios web de Marketing Miner.

Herramientas disponibles

Herramienta

Endpoint

Descripción

marketing_miner_get_search_volume

GET /keywords/search-volume-data

Volumen de búsqueda + CPC + YoY + estacionalidad para una sola palabra clave

marketing_miner_batch_search_volume

POST /keywords/search-volume-data

Procesamiento por lotes de 1 a 1000 palabras clave

marketing_miner_get_keyword_suggestions

GET /keywords/suggestions

Sugerencias de palabras clave (preguntas / nuevas / en tendencia) con dificultad y características de SERP. Admite limit + offset con has_more / next_offset en la respuesta.

marketing_miner_get_website_stats

GET /websites/stats

Tráfico estimado, recuento de palabras clave, desglose por result_type

marketing_miner_get_website_stats_range

GET/POST /websites/stats-range

Tendencia histórica de tráfico + comparación con competidores

Cada herramienta devuelve markdown (predeterminado, legible por humanos) o json (response_format: "json"), además de structuredContent con todos los campos de la API. Cada herramienta declara un outputSchema para la validación del lado del cliente.

Related MCP server: @applyra/mcp-server

Instalación

Obtén un token de API en marketingminer.com/en/features/api y luego elige una de las siguientes opciones.

Opción A — Comando de una línea para Claude Code CLI (recomendado, multiplataforma)

Funciona en macOS, Windows y Linux: Claude Code CLI gestiona la ubicación del archivo de configuración por ti.

claude mcp add marketing-miner \
  -s user \
  -e MARKETING_MINER_API_TOKEN=YOUR_TOKEN \
  -- npx -y github:lukaskostka/marketing-miner-mcp
  • -s user → instala globalmente (disponible desde cualquier proyecto)

  • -e → establece el token de API como variable de entorno

  • Reemplaza YOUR_TOKEN con tu token real de la API de Marketing Miner

Para eliminarlo más tarde: claude mcp remove marketing-miner -s user.

Opción B — npx directamente desde GitHub (no requiere clonar)

El repositorio incluye la carpeta dist/ compilada, por lo que npx puede ejecutarlo directamente.

Configuración de Claude Desktop / Cursor / Windsurf:

{
  "mcpServers": {
    "marketing-miner": {
      "command": "npx",
      "args": ["-y", "github:lukaskostka/marketing-miner-mcp"],
      "env": {
        "MCP_TRANSPORT": "stdio",
        "MARKETING_MINER_API_TOKEN": "your_token_here"
      }
    }
  }
}

Opción C — clonar el repositorio (para desarrollo / personalización)

git clone https://github.com/lukaskostka/marketing-miner-mcp.git
cd marketing-miner-mcp
npm install
npm run build

Luego apunta tu cliente MCP al binario compilado:

{
  "mcpServers": {
    "marketing-miner": {
      "command": "node",
      "args": ["/absolute/path/to/marketing-miner-mcp/dist/index.js"],
      "env": {
        "MCP_TRANSPORT": "stdio",
        "MARKETING_MINER_API_TOKEN": "your_token_here"
      }
    }
  }
}

Ejecuta localmente con MARKETING_MINER_API_TOKEN=xxx npm start (stdio, predeterminado) o MCP_TRANSPORT=http MARKETING_MINER_API_TOKEN=xxx npm start (HTTP Streamable en el puerto 8000).

Opción D — Docker (HTTP autohospedado)

git clone https://github.com/lukaskostka/marketing-miner-mcp.git
cd marketing-miner-mcp
docker build -t marketing-miner-mcp .
docker run -p 8000:8000 -e MARKETING_MINER_API_TOKEN=your_token_here marketing-miner-mcp

Conéctate desde un cliente remoto a través de la URL HTTP Streamable (consulta Conexión desde un cliente MCP a continuación).

Configuración

Variable

Predeterminado

Descripción

MARKETING_MINER_API_TOKEN

—

Obligatorio. Token de API de marketingminer.com/en/features/api

MCP_TRANSPORT

stdio

stdio (clientes MCP locales) o http (HTTP Streamable para despliegues alojados)

HOST

0.0.0.0

Host de enlace HTTP

PORT

8000

Puerto HTTP

MCP_HTTP_PATH

/mcp

Ruta HTTP

Nombres de token alternativos: MARKETING_MINER_API_KEY, MARKETING_MINER_TOKEN, MM_API_TOKEN, MM_API_KEY.

Configuración del cliente HTTP remoto

Si estás ejecutando el servidor a través de HTTP Streamable (Opción D anterior o cualquier host remoto), los clientes MCP se conectan solo mediante URL:

{
  "mcpServers": {
    "marketing-miner": {
      "url": "https://your-host.example.com/mcp"
    }
  }
}

Ejemplos de uso

1. Volumen de búsqueda para una sola palabra clave:

"¿Cuál es el volumen de búsqueda y la estacionalidad de marketing en CZ?" → marketing_miner_get_search_volume({lang:"cs", keyword:"marketing"})

2. Procesamiento por lotes:

"Compara el volumen de búsqueda de términos SEO" → marketing_miner_batch_search_volume({lang:"cs", keywords:["seo","ppc","google ads","content marketing"]})

3. Investigación de preguntas para FAQ:

"Encuentra preguntas sobre hypoteka" → marketing_miner_get_keyword_suggestions({lang:"cs", keyword:"hypoteka", suggestions_type:"questions", limit:50})

4. Paginación de sugerencias:

Obtener la siguiente página → marketing_miner_get_keyword_suggestions({lang:"cs", keyword:"hypoteka", limit:50, offset:50})

5. Análisis de la competencia:

"¿Cuánto tráfico recibe seznam.cz?" → marketing_miner_get_website_stats({lang:"cs", type:"domain", target:"seznam.cz"})

6. Tendencias de la competencia:

"Compara las tendencias de tráfico de seznam.cz vs. idnes.cz" → marketing_miner_get_website_stats_range({lang:"cs", type:"domain", target:"seznam.cz", period:"monthly", competitors:["idnes.cz"]})

Mercados admitidos

cs, sk, pl, hu, ro, gb, us

Arquitectura

  • Node 18+, TypeScript (estricto), ESM

  • MCP SDK ^1.18 (McpServer.registerTool, esquemas de entrada y salida Zod, anotaciones de herramientas)

  • HTTP Streamable (transporte sin estado por solicitud) + stdio

  • Validación en tiempo de ejecución Zod con .strict() (rechaza claves desconocidas)

  • structuredContent + outputSchema en cada herramienta

  • Truncamiento de respuesta tanto para markdown (25k caracteres) como para arrays de structuredContent demasiado grandes

  • Protección opcional contra rebinding de DNS (validación del encabezado Origin cuando está vinculado a loopback)

Licencia

MIT

Available Tools

5 tools
marketing_miner_batch_search_volumeBatch Keyword Search VolumeA
Read-onlyIdempotent
Inspect

Fetch volume, CPC, YoY change and 12-month seasonality for up to 1000 keywords in one POST request.

Args:

  • lang: Market code (cs/sk/pl/hu/ro/gb/us).

  • keywords: 1-1000 keywords (each 2-80 chars).

  • response_format: 'markdown' (default) or 'json'.

Returns an array of records, one per keyword. Prefer this over calling marketing_miner_get_search_volume in a loop - it is one API credit per keyword and much faster.

Inputs: lang (required), keywords (required), response_format. Returns: lang, count, keywords

marketing_miner_get_keyword_suggestionsGet Keyword SuggestionsA
Read-onlyIdempotent
Inspect

Retrieve related keyword suggestions with optional full metrics (difficulty, SERP features, volume, CPC, seasonality).

Args:

  • lang: Market code (cs/sk/pl/hu/ro/gb/us).

  • keyword: Seed keyword (2-80 chars).

  • suggestions_type (optional): 'questions' | 'new' | 'trending'. Omit for a general mix.

  • with_keyword_data (default true): include search_volume, cpc, difficulty, serp_features, yoy_change, peak_month, monthly_sv.

  • limit (default 50, max 1000): client-side window size.

  • offset (default 0): client-side offset into API results for pagination.

  • response_format: 'markdown' or 'json'.

Returns: keywords[limit], plus total_available, has_more, next_offset for pagination.

Use for topical research, content-cluster ideation, FAQ mining (suggestions_type='questions'), trend discovery (suggestions_type='trending').

Inputs: lang (required), keyword (required), suggestions_type, with_keyword_data, +3 more. Returns: lang, seed_keyword, suggestions_type, total_available, +6 more

marketing_miner_get_search_volumeGet Keyword Search VolumeA
Read-onlyIdempotent
Inspect

Fetch monthly search volume, CPC, year-over-year change, peak month and full 12-month seasonality for a single keyword.

Args:

  • lang: Market code (cs/sk/pl/hu/ro/gb/us).

  • keyword: Keyword to analyze (2-80 chars).

  • response_format: 'markdown' (default) or 'json'.

Returns a single record with: keyword, search_volume, cpc{value, currency_code}, yoy_change, peak_month, monthly_sv (12 months).

Use when you need volume/CPC/seasonality for ONE keyword. For multiple keywords, use marketing_miner_batch_search_volume.

Inputs: lang (required), keyword (required), response_format. Returns: keyword, search_volume, cpc, yoy_change, +2 more

marketing_miner_get_website_statsGet Website StatsA
Read-onlyIdempotent
Inspect

Aggregate organic/paid traffic, keyword counts and result-type breakdown for a domain, subdomain, prefix, or exact URL.

Args:

  • lang: Market code (cs/sk/pl/hu/ro/gb/us).

  • type: 'domain' | 'subdomain' | 'prefix' | 'exact'.

  • target: Target value (3-253 chars). Examples: 'seznam.cz', 'blog.seznam.cz', 'https://seznam.cz/email/'.

  • scheme (optional, for type='exact' or 'prefix'): 'https' | 'http'.

  • response_format: 'markdown' or 'json'.

Returns: stats[] per result_type (organic, paid, ai_overviews, local_pack, images, videos, ...), plus totals (estimated_traffic_sum, number_of_keywords_sum).

Use for competitor sizing, SEO audits, and SERP-feature distribution analysis.

Inputs: lang (required), type (required), target (required), scheme, +1 more. Returns: stats, estimated_traffic_sum, estimated_traffic_change_sum, number_of_keywords_…

marketing_miner_get_website_stats_rangeGet Website Stats Time RangeA
Read-onlyIdempotent
Inspect

Historical traffic time series (daily/weekly/monthly) for a target, with optional competitor comparison.

Args:

  • lang: Market code.

  • type: 'domain' | 'subdomain' | 'prefix' | 'exact'.

  • target: 3-253 chars.

  • scheme (optional): 'https' | 'http'.

  • period (optional): 'daily' | 'weekly' | 'monthly'.

  • competitors (optional, max 10): list of competitor domains/URLs.

  • response_format: 'markdown' or 'json'.

Returns: stats_range[] (date, result_type, estimated_traffic) + optional competitors[] with their own stats_range. Use for trend analysis, year-over-year charts, and competitor benchmarking.

Inputs: lang (required), type (required), target (required), scheme, +3 more. Returns: stats_range, competitors

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.7/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct operation: single vs. batch search volume, keyword suggestions, website stats snapshot vs. historical range. No functional overlap exists.

    Naming Consistency5/5

    All tools follow a consistent 'marketing_miner_<action>_<resource>' pattern (e.g., marketing_miner_batch_search_volume, marketing_miner_get_keyword_suggestions). No mixed conventions.

    Tool Count5/5

    5 tools is well-scoped for a focused SEO data retrieval server, covering keyword research and website analysis without unnecessary bloat.

    Completeness4/5

    Covers core workflows: keyword volume (single and batch), suggestions with metrics, website stats (snapshot and historical). Minor gap: no standalone keyword difficulty tool, but difficulty is included in suggestions with_keyword_data.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects AI assistants to SEO APIs for backlinks analysis, keyword research, and traffic analysis.
      129 npm
      28
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Connects App Store and Google Play keyword data to AI assistants, enabling ASO tasks like rank tracking, keyword analysis, competitor visibility, and top charts through natural language.
      38
      548 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables free keyword research by pulling autocomplete suggestions, Google Trends, Bing search volume, Reddit threads, and competitor sitemaps, with volume estimation and keyword organization for use in Claude, Cursor, and other MCP clients.
      16
      7
      MIT