[Integrations](https://spiral.ai/integrations) › [goose](https://spiral.ai/integrations/goose) › [Stack Exchange site directory](https://spiral.ai/integrations/goose/stack-exchange-site-directory)

# How to Use Stack Exchange site directory in goose

Lists Stack Exchange communities with their names, URLs, audiences, and site identifiers. Use it to find the right subject community before researching questions there.

|  |  |
| --- | --- |
| Model | Stack Exchange site directory |
| Available through | Alexandria |
| Category | Social Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Stack Exchange site directory in goose

- Use Stack Exchange site directory to find communities relevant to PostgreSQL administration and Ubuntu deployment. Add their names, audiences, and URLs to our research notes.
- Use Stack Exchange site directory to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Stack Exchange site directory and tell me what changed since last week.
- Check Stack Exchange site directory and summarize what you find in three bullet points.
- Pull the newest data from Stack Exchange site directory and give me the result as a table.

## How to set up Stack Exchange site directory in goose

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

### Use Spiral's MCP server

1. **Add the extension**: In goose Desktop, open the sidebar, click Extensions, then Add custom extension. Enter:

2. **Sign in**: When goose first connects to Spiral, your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key. If the browser does not open, goose prints the link to open yourself.

### Use the Spiral skill

1. **Send goose 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Stack Exchange site directory**: One request; the result comes back by polling or a webhook.

```bash
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": "stackexchange-com/questions/sites",
    "input": {
      "key": "<key>"
    }
  }'
```

Then paste one of the prompts above: goose finds Stack Exchange site directory on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/goose

## Stack Exchange site directory tools and prices

- [Stack Exchange · Sites](https://spiral.ai/tools/alexandria/stackexchange-com/questions/sites) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| key |  | — | Optional Stack Exchange application key. Raises the per-IP quota from 300 to 10,000 requests per day and unlocks pages above 25, which the API refuses anonymously. Keys are public identifiers, not secrets. |
| page | 1 to 10000 | 1 | Pages above 25 need `key`: Stack Exchange serves deeper pages only with an application key (`access_denied` otherwise). Without one the last page reports partial coverage. |
| pagesize | 1 to 100 | 100 | pagesize |

## What can you do with Stack Exchange site directory in goose?

Build a cited troubleshooting guide around the libraries and errors in your project. A coding agent can use Stack Exchange community information, questions, answers, and recorded edits to select relevant evidence and check whether saved explanations have changed.

### Build a troubleshooting handbook

Choose the relevant community, find recurring PostgreSQL errors, collect accepted solutions, and compare other answers against each question's constraints.

### Review migration advice

Find communities covering Ubuntu and Python, search migration problems, collect accepted solutions, and inspect cited answers and their revisions for changes in recommended commands.

### Find gaps in product documentation

Locate the community serving a product's users, search recurring configuration questions, and compare problem descriptions with the explanations supplied in answers.

### Create a technical reading list

Choose a subject community, collect questions with accepted solutions, read the full problem context, and retrieve individual answers selected for a linked study guide.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All goose guides](https://spiral.ai/integrations/goose)

## Stack Exchange site directory in other agents

- [Amp](https://spiral.ai/integrations/amp/stack-exchange-site-directory)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/stack-exchange-site-directory)
- [Claude](https://spiral.ai/integrations/claude-desktop/stack-exchange-site-directory)
- [Claude Code](https://spiral.ai/integrations/claude-code/stack-exchange-site-directory)
- [Cline](https://spiral.ai/integrations/cline/stack-exchange-site-directory)
- [Codex](https://spiral.ai/integrations/codex/stack-exchange-site-directory)
- [Cursor](https://spiral.ai/integrations/cursor/stack-exchange-site-directory)
- [Devin](https://spiral.ai/integrations/devin/stack-exchange-site-directory)
- [dots](https://spiral.ai/integrations/dots/stack-exchange-site-directory)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/stack-exchange-site-directory)
- [Gemini](https://spiral.ai/integrations/gemini/stack-exchange-site-directory)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/stack-exchange-site-directory)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/stack-exchange-site-directory)
- [Grok](https://spiral.ai/integrations/grok/stack-exchange-site-directory)
- [Grok Build](https://spiral.ai/integrations/grok-build/stack-exchange-site-directory)
- [Hermes](https://spiral.ai/integrations/hermes/stack-exchange-site-directory)
- [Instinct](https://spiral.ai/integrations/instinct/stack-exchange-site-directory)
- [Manus](https://spiral.ai/integrations/manus/stack-exchange-site-directory)
- [Muse](https://spiral.ai/integrations/muse/stack-exchange-site-directory)
- [Muse Code](https://spiral.ai/integrations/muse-code/stack-exchange-site-directory)
- [n8n](https://spiral.ai/integrations/n8n/stack-exchange-site-directory)
- [Notion](https://spiral.ai/integrations/notion/stack-exchange-site-directory)
- [OpenClaw](https://spiral.ai/integrations/openclaw/stack-exchange-site-directory)
- [opencode](https://spiral.ai/integrations/opencode/stack-exchange-site-directory)
- [Perplexity](https://spiral.ai/integrations/perplexity/stack-exchange-site-directory)
- [Raycast](https://spiral.ai/integrations/raycast/stack-exchange-site-directory)
- [VS Code](https://spiral.ai/integrations/vscode/stack-exchange-site-directory)
- [Windsurf](https://spiral.ai/integrations/windsurf/stack-exchange-site-directory)
- [Zapier](https://spiral.ai/integrations/zapier/stack-exchange-site-directory)

## More goose guides

- [Stack Exchange question search](https://spiral.ai/integrations/goose/stack-exchange-question-search)
- [Telegram Channel Details](https://spiral.ai/integrations/goose/telegram-channel-details)
- [Stack Exchange question details](https://spiral.ai/integrations/goose/stack-exchange-question-details)
- [Telegram Channel Posts ScrapeCreators](https://spiral.ai/integrations/goose/telegram-channel-posts-scrapecreators)
- [Stack Exchange question answers](https://spiral.ai/integrations/goose/stack-exchange-question-answers)
- [Telegram Post Details ScrapeCreators](https://spiral.ai/integrations/goose/telegram-post-details-scrapecreators)

## Questions about Stack Exchange site directory in goose

**Can goose use Stack Exchange site directory?**

Yes. Add Spiral to goose as an MCP server, and goose can find and run Stack Exchange site directory like any built-in tool.

**How much does Stack Exchange site directory cost in goose?**

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

**Do I need an Alexandria account to use Stack Exchange site directory in goose?**

No. Spiral runs Stack Exchange site directory on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Stack Exchange site directory in goose?**

About two minutes: add the extension, then sign in.

**Does goose wait while Stack Exchange site directory runs?**

Stack Exchange site directory runs in the background. goose starts the run, checks on it and gives you the json when it's ready.

**Does Stack Exchange search cover the whole network at once?**

Question searches run against one community at a time. The site directory lists communities across the network so you can choose where to search.

**How fresh is Stack Exchange data?**

API responses are heavily cached, and Stack Exchange considers repeating an equivalent request more than once per minute abusive. The site directory changes much less often; its documentation recommends caching it for at least one day.

**Does one response contain every matching result?**

Stack Exchange generally limits upstream result pages to 100 items, and an endpoint may return fewer. A response indicating more results requires additional pages before the collection is complete.

**Does an accepted answer mean the solution is still correct?**

Acceptance means the question author received an answer that worked for them personally. Stack Exchange explicitly warns that authors may leave an answer accepted even after a better answer appears.

**Does revision history show every edit separately?**

No. Stack Exchange documents that multiple edits can result in a single revision, so recorded revisions cannot establish the exact number of editing actions.

