Spiral gives your agent every tool with one account. Browse the tools →

Windsurf · Developer

How to Use Grok developer documentation page in Windsurf

Returns a Grok developer documentation page or a selected section as Markdown. Use it for focused answers about API behavior, such as structured outputs or rate limit rules.

Prompts to try with Grok developer documentation page in Windsurf

Copy an example into Windsurf, or ask in your own words.

Use Grok developer documentation page to read developers/rate-limits and review whether this project’s retry logic matches the documented behavior.

Grok developer documentation pageWindsurf
Try asking
  • Use Grok developer documentation page to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Grok developer documentation page and tell me what changed since last week.

  • Check Grok developer documentation page and summarize what you find in three bullet points.

  • Pull the newest data from Grok developer documentation page and give me the result as a table.

How to set up Grok developer documentation page in Windsurf

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Grok developer documentation page

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "x-ai/developer-docs/get_page",
        "input": {
          "path": "<path>"
        }
      }'

Then paste one of the prompts above: Windsurf finds Grok developer documentation page on Spiral, shows the price and runs it.

Grok developer documentation page providers and prices

Spiral runs Grok developer documentation page through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Max chars200 to 2000000

Truncate content to this many characters; the whole text is returned when omitted.

Every API field of xAI (Grok API docs and x.ai news) · Get page is on its tool page: open its card above.

What can you do with Grok developer documentation page in Windsurf?

Turn xAI’s published information into a concrete project review with citations beside the proposed changes. Compare the project’s assumptions with the relevant model specification, documentation section, or product description.

Plan a Grok application update

Find candidate models, check individual specifications and developer guidance, then review release notes and announcements for changes that affect the proposed work.

Check a technical comparison article

Verify model names and capabilities against the catalog and specifications. Compare developer guidance, company statements, and announcement text before revising the article’s claims.

Maintain a weekly xAI change brief

Compare saved readings of model specifications, documentation, subscriptions, marketplace listings, and product pages. Add dated release entries and news articles to explain the changes.

Build an internal Grok reference guide

Create separate answers for product features, bot descriptions, model requirements, and developer behavior. Attach the relevant public page, announcement, or release entry to each answer.

Compare a ready-made bot with custom development

Inspect marketplace task descriptions, then check model capabilities and developer documentation for the same job. Produce a feature checklist for deciding which approach deserves a prototype.

Questions about Grok developer documentation page in Windsurf

Can Windsurf use Grok developer documentation page?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Grok developer documentation page like any built-in tool.

How much does Grok developer documentation page cost in Windsurf?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

Do I need an Alexandria account to use Grok developer documentation page in Windsurf?

No. Spiral runs Grok developer documentation page on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Grok developer documentation page in Windsurf?

About two minutes: add the server, then sign in, then check it.

Does Windsurf wait while Grok developer documentation page runs?

Grok developer documentation page runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

Does the source include both developer and consumer product information?

Yes. The developer documentation covers Grok models and API behavior, while xAI’s public website includes subscription comparisons and the Grok Bot marketplace.

What kinds of models does xAI document?

The model catalog includes dedicated audio, image, and video models alongside general models. Individual specification pages provide narrower details, such as Grok 4.7’s 500,000-token context window.

Does a current model page mean the model knows current events?

No. The catalog states that Grok 4.7’s training knowledge cutoff is May 2026. A published specification and a model’s training knowledge describe different things.

Are all marketplace plugins published by xAI?

No. The Composio plugin page names Composio as its publisher, links to the Cursor Marketplace, and provides a terms link.

Can the developer documentation be read one section at a time?

Yes. The documentation reader supports a whole page or one section as clean Markdown, which helps isolate a rule such as the requests-per-second and tokens-per-minute limits.

Get started

Start using Grok developer documentation page in Windsurf

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Windsurf:

Set up Windsurf

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options