• SEARCH
  • DETAILS
  • TRACKING
  • HUMAN

How to research legislator contact and roles with your AI

Connect OpenStates to your agent to pull real-time legislative data. Once connected, you can query specific representatives or search by district.

Ask AI about this page

Short answer

How can I find legislator contact info and roles using AI?

Your AI uses OpenStates to find specific contact details, current committee roles, and district information for state-level officials. You can move from a broad search to a deep dive into a single person's profile instantly. This setup gives you the exact data needed for outreach or policy tracking.

The results you get.

What you can do with this data.

The AI handles the data retrieval so you can focus on the strategy.

SEARCH

Find specific people

The AI identifies representatives by name, district, or state. You get a list of matches to choose from.

DETAILS

Get full profiles

Once a person is identified, the AI pulls their specific contact info and current committee assignments.

TRACKING

Monitor committee roles

The agent pulls current roles to show you exactly which legislative groups a representative sits on.

HUMAN

Draft your outreach

The AI provides the facts, but you decide how to phrase your emails or calls to these officials.

The workflow

What your AI does when you ask for legislator info.

The agent moves from broad identification to specific data extraction.

  1. Identify targets

    The AI looks up representatives based on the names or districts you provide.

    search_legislators
  2. Pull profiles

    The agent grabs the full professional profile for the selected individual.

    get_legislator_details
  3. Extract contact info

    The AI isolates phone numbers, emails, and office addresses from the profile data.

    get_legislator_details
  4. Map committee roles

    The agent identifies which committees the legislator currently serves on.

    get_legislator_details

Try it

Copy these to start.

Use these prompts to kick off your research.

Starting points

Swap out the bracketed text with the specific state or name you are looking for.

OpenStates Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_sD6562FRY77OdiZ66ZUdC7qPkcP5IdmhpV0Llg1z/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — OpenStates capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "openstates-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_sD6562FRY77OdiZ66ZUdC7qPkcP5IdmhpV0Llg1z/mcp"
    }
  }
}
Copy into chat04
  • Search for all state representatives in [State] and list their names.

  • Find the contact information and committee assignments for [Legislator Name].

  • Who is the representative for district [District Number] in [State]?

  • List the current committee assignments for [Legislator Name] so I can prepare for a meeting.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect OpenStates once, then ask.

Click the link to connect. Your credentials stay encrypted, and you can immediately start asking questions in your preferred AI client.

Connect OpenStates to your AI

FAQ

How this task behaves.

  • 01

    Can the AI send emails to these legislators for me?

    No. The AI can pull the email addresses, but you must send the messages yourself through your own email client.

  • 02

    Does the AI update the legislator's information in the database?

    No. The AI only reads data from OpenStates. It cannot change or edit any legislative records.

  • 03

    Can I search for federal representatives like Senators?

    No. This specific connector is designed for state-level representatives.

  • 04

    How current is the committee assignment data?

    The AI provides whatever data is currently available through the OpenStates API.

  • 05

    Can the AI find the physical office address of a representative?

    Yes, if that information is included in the legislator's profile in OpenStates.

  • More questions about OpenStates? See everything the OpenStates Connector can do

Connect OpenStates to Claude, Cursor, ChatGPT & more