[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Citizens Count candidate profile](https://spiral.ai/integrations/windsurf/citizens-count-candidate-profile)

# How to Use Citizens Count candidate profile in Windsurf

Fetch a New Hampshire candidate’s background and issue positions from Citizens Count. Use it to examine a named candidate’s record and views after finding the relevant race or profile.

|  |  |
| --- | --- |
| Model | Citizens Count candidate profile |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Citizens Count candidate profile in Windsurf

- Use Citizens Count candidate profile for Kelly Ayotte. Add her published background and school-funding positions to my local research view, preserving any No Response labels.
- Use Citizens Count candidate profile to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Citizens Count candidate profile and tell me what changed since last week.
- Check Citizens Count candidate profile and summarize what you find in three bullet points.
- Pull the newest data from Citizens Count candidate profile and give me the result as a table.

## How to set up Citizens Count candidate profile 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:

```json
{
  "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.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
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.

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

### Call the Spiral API

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

2. **Run Citizens Count candidate profile**: 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": "citizenscount-org/elections/get_candidate",
    "input": {
      "candidate": "<candidate>"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds Citizens Count candidate profile on Spiral, shows the price and runs it.

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

## Citizens Count candidate profile tools and prices

- [Citizens Count New Hampshire candidates, elections and officials · Get candidate](https://spiral.ai/tools/alexandria/citizenscount-org/elections/get_candidate) (Alexandria): $0.00873 per call.

## What can you do with Citizens Count candidate profile in Windsurf?

Build a New Hampshire civic research view that connects towns, districts, election contests, and candidate profiles. Your coding agent can organize the returned records in your project and preserve Citizens Count's published issue labels.

### Prepare a personal town voter guide

Start with the election directory and Hanover's town information, identify the relevant districts and races, then resolve candidate names and read their profiles. Assemble a private reading guide organized by office.

### Study how representation connects to elections

Use Concord Ward 1 for a personal civics exercise. Find its representatives and districts, locate their election contests, resolve the candidates' profiles, and compare their published backgrounds and positions.

### Understand an election transition

Find the races relevant to Manchester Ward 5 and compare published outcomes with the officials still listed for its districts. Resolve the winners' profiles and prepare private notes that distinguish winning an election from currently holding office.

### Prepare questions for a candidate forum

Identify Hanover's races and districts, find the candidates, and resolve their profiles. Use the published issue positions to draft questions that ask each candidate to explain the same policy choices.

### Compare candidates on a specific issue

Retrieve a New Hampshire governor contest, find each candidate's profile, and compare published positions on school funding. Keep survey responses, researched statements, and No Response labels distinct.

## Overview

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

## Citizens Count candidate profile in other agents

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

## More Windsurf guides

- [Census variable lookup](https://spiral.ai/integrations/windsurf/census-variable-lookup)
- [Citizens Count candidate search](https://spiral.ai/integrations/windsurf/citizens-count-candidate-search)
- [Census statistical data](https://spiral.ai/integrations/windsurf/census-statistical-data)
- [Citizens Count district representatives and candidates](https://spiral.ai/integrations/windsurf/citizens-count-district-representatives-and-candidates)
- [Census poverty publication status](https://spiral.ai/integrations/windsurf/census-poverty-publication-status)
- [Citizens Count election candidates and results](https://spiral.ai/integrations/windsurf/citizens-count-election-candidates-and-results)

## Questions about Citizens Count candidate profile in Windsurf

**Can Windsurf use Citizens Count candidate profile?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Citizens Count candidate profile like any built-in tool.

**How much does Citizens Count candidate profile 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 Citizens Count candidate profile in Windsurf?**

No. Spiral runs Citizens Count candidate profile on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Citizens Count candidate profile in Windsurf?**

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

**Does Windsurf wait while Citizens Count candidate profile runs?**

Citizens Count candidate profile runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

**Which elections does Citizens Count cover?**

The provider documents New Hampshire races for governor, U.S. Senate, U.S. House, Executive Council, state Senate, and state House. It includes primary and general election results for those offices.

**Can I look up a whole city, or do I need a ward?**

Larger New Hampshire municipalities are divided into voting wards, so a ward can be needed to identify the relevant representation. Citizens Count's directory covers a state with 221 towns and 13 cities.

**Where do candidate issue positions come from?**

Candidate surveys are the primary source. When candidates do not respond, Citizens Count staff research published positions in sources such as newspapers and Facebook posts.

**Does every candidate complete the survey?**

No. Citizens Count reports that roughly two-thirds of state Senate and Executive Council candidates responded in 2022, along with over half of state representative candidates.

**Can election results change after they appear?**

Yes. Citizens Count says it uses Secretary of State results and updates races as recounts are completed.

