SK

MCP server

Connect the statistics of your Ragnetiq products straight to AI: Claude, ChatGPT, Cursor or VS Code answer questions about your numbers from your own data.

Introduction

MCP (Model Context Protocol) is an open standard that lets AI apps use other systems. The Ragnetiq MCP server gives your AI the same data as the statistics APIs, so you can ask in plain language, for example "What did customers in Czechia ask about most this month?" or "Compare SmartBox orders in September and October".

The server address is https://mcp.ragnetiq.com. It only reads, changes nothing and stores nothing: it forwards every AI question with your key to the API of the product, which itself checks what the key may read.

  • It uses the same keys as the statistics APIs: as_ AI assistant, sb_ SmartBox, ss_ Smart Search. No new key is needed.
  • The AI sees only the products whose keys you connect, and only the stores and language versions those keys cover.
  • Customers' personal data in texts is replaced with [e-mail] and [telefón], as in the APIs.
  • Every tool call is one request to the product's API and counts towards its limit of 120 requests per minute per key.

Keys

Ragnetiq issues your keys, as for the APIs. Send them in the Authorization header; with several products, put all keys one after another, separated by commas. One key per product.

Authorization: Bearer as_YOUR_KEY,sb_YOUR_KEY

The key is as secret as a password. Use it from a server only (cron, backend, ETL), never in a browser or a mobile app. If it leaks, tell us: we revoke the old key and issue a new one; a revoked key stops working at once.

Apps that cannot set a header (for example custom connectors in ChatGPT or on claude.ai) can put the keys in the address: https://mcp.ragnetiq.com/as_…,sb_…. Protect such an address like a password: whoever has it can read your statistics. Use the header wherever you can.

The rules shared by all Ragnetiq APIs (keys, paging, limits, errors, versions) are also on one page: API basics.

Connecting

Claude Code

claude mcp add --transport http ragnetiq https://mcp.ragnetiq.com \
  --header "Authorization: Bearer as_YOUR_KEY,sb_YOUR_KEY"

Claude Desktop

Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json (needs Node.js 18+). Then restart the app.

claude_desktop_config.json
{
  "mcpServers": {
    "ragnetiq": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.ragnetiq.com", "--header", "Authorization:${RAGNETIQ_AUTH}"],
      "env": { "RAGNETIQ_AUTH": "Bearer as_YOUR_KEY,sb_YOUR_KEY" }
    }
  }
}

Cursor

~/.cursor/mcp.json
{
  "mcpServers": {
    "ragnetiq": {
      "url": "https://mcp.ragnetiq.com",
      "headers": { "Authorization": "Bearer as_YOUR_KEY,sb_YOUR_KEY" }
    }
  }
}

VS Code

VS Code asks for the keys on first start and stores them securely; they are not in the file.

.vscode/mcp.json
{
  "servers": {
    "ragnetiq": {
      "type": "http",
      "url": "https://mcp.ragnetiq.com",
      "headers": { "Authorization": "Bearer ${input:ragnetiq-keys}" }
    }
  },
  "inputs": [
    { "type": "promptString", "id": "ragnetiq-keys", "description": "Ragnetiq keys (as_…,sb_…,ss_…)", "password": true }
  ]
}

ChatGPT, claude.ai and others

Add a custom MCP connector without sign-in (OAuth) using the address with the keys: https://mcp.ragnetiq.com/as_…,sb_…. Set up other apps that support MCP over HTTP ("Streamable HTTP") like Cursor: the server address and the Authorization header.

Checking

The server answers standard MCP messages (JSON-RPC 2.0 over HTTP POST). You can list the tools without any AI:

curl https://mcp.ragnetiq.com \
  -H "Authorization: Bearer as_YOUR_KEY,sb_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Tools

The AI gets only the tools of the products whose keys you connected. All take an optional period from and to (YYYY-MM-DD, the last 30 days by default, at most 366 days); days are counted in the Europe/Bratislava time zone. The result is the product API's JSON.

AI assistant (as_)

ToolReturnsAPI
assistant_clientThe store, its language versions and enabled modules./client
assistant_summaryThe dashboard's numbers, also for the previous period./summary
assistant_conversationsConversations with their full course, in pages (20 by default, at most 200)./conversations
assistant_productsTop 100 recommended products with clicks./products
assistant_orders, assistant_cartsOrders and carts attributed to the assistant./orders

Optional market: the domain of a language version, for example demo-shop.cz.

SmartBox (sb_)

ToolReturnsAPI
smartbox_shopsThe key's stores and markets./shops
smartbox_summaryThe dashboard's numbers, markets and the most clicked questions./summary
smartbox_productsTop 100 products customers asked about./products
smartbox_eventsQuestions and answers, in pages (100 by default, at most 1,000)./events
smartbox_ordersAttributed orders, in pages./orders

Optional shop and market.

Smart Search (ss_)

ToolReturnsAPI
search_shopsThe key's stores./shops
search_summaryThe dashboard's numbers, recommendations included./summary
search_queriesTop queries, queries without results and without clicks./queries
search_productsProducts found and opened through search./products
search_eventsRaw events, in pages (100 by default, at most 1,000)./events
search_purchasesOrders captured by the search, in pages./purchases

Optional shop.

Raw data (conversations, events, orders) comes in pages with a smaller default size than in the APIs, so it fits the model's memory. The server shortens a very long response and asks the AI to request a shorter period or the next page.

What to ask

  • "How did the AI assistant do this month compared with last month?"
  • "What did customers in the Slovak version ask most, and what did the assistant recommend?"
  • "Which Smart Search queries return no results? Suggest synonyms."
  • "Which SmartBox products get many questions but few orders?"
  • "Write a short monthly report from all my Ragnetiq products."

Security

  • The server is read-only: the tools write nothing, change no settings and send nothing to customers.
  • The server stores nothing. It uses the key only for the request to the product's API and returns the result to your AI.
  • What the AI keeps from the answers is up to the provider of your AI app (Anthropic, OpenAI…) and your settings there.
  • If a key leaks, tell us: we revoke it and issue a new one; a revoked key stops working at once, in MCP too.

Changes

DateVersionChange
25 Oct 2026v1First release: tools for the AI assistant, SmartBox and Smart Search; keys in the header or in the address.