MCP Integration - AI-Powered Research Access
Last updated by Administrator on 02/01/2026
The Model Context Protocol (MCP) allows AI assistants like Claude to directly access OppIntell's opposition research database. This enables real-time queries for candidate information, voting records, controversies, and more.
Instead of relying on potentially outdated training data, AI assistants can query our live database for accurate, up-to-date political research. This eliminates hallucinations and provides verifiable, sourced information.
MCP Server Endpoint:
https://oppintell.com/functions/v1/mcp-serverAvailable MCP Tools
search_candidates
Match a query against name, state name, or summary. Returns slug, name, party, state, race type, district, status, and a short summary.
get_candidate_profile
One slug. Returns name, party, state, race type, district, status, summary, and the raised, spent, and cash-on-hand columns.
get_candidate_controversies
Controversy text, severity, category, source name, source URL, and source date.
get_candidate_voting_record
Bill name, vote, vote date, source name, and source URL.
get_candidate_quotes
Quote text, context, source name, source URL, and quote date.
get_candidate_issues
Issue text, category, source name, and source URL.
list_races
Candidate rows for house, senate, governor, or executive, with an optional two-letter state code.
get_receipt Free tier
Provenance for a published claim: content SHA-256, scalar span, source URL, capture timestamp, and supersession status. Listed when the free-tier flag is on.
What the server returns
The OppIntell research MCP server is named oppintell-research in its initialize response. Read-only Model Context Protocol server for candidate rows, profiles, controversies, votes, quotes, and issues from the current public serving views. An agent calls initialize, tools/list, and tools/call. initialize answers with protocol version 2024-11-05 and a tools capability. tools/list returns the tool definitions. tools/call returns the handler result as JSON text.
The initialize response advertises tools only. A tool call reads the current public serving views. search_candidates and list_races read the candidate view built from the public candidate index. The other tools look up one slug on that view, then read the matching controversy, vote, quote, or issue rows.
Seven tools are always on the list. get_receipt is added only when this server's free-tier flag is on. get_receipt returns provenance for a published claim: the content SHA-256, a scalar span (kind, character start and end, page, start and end milliseconds, or a JSON path), the source URL, the capture time, and the supersession status. Those fields are the receipt.
search_candidates
Requires a query. An optional race_type filter accepts house, senate, governor, or executive. The query is matched against candidate name, state name, and the summary column. Each hit returns slug, name, party, state, race type, district, status, and the summary shortened to 200 characters when that column has text. The call is paged. The default page is 10 rows, and the handler accepts at most 50 in one call. A free-tier call is capped at 5 rows.
get_candidate_profile
Requires the candidate slug that search_candidates returns. The row contains name, party, state, race type, district, status, summary, and the raised, spent, and cash-on-hand columns stored on the current serving view.
get_candidate_controversies
Returns the controversy rows for that slug, in display order. Each row has the controversy text, a severity, a category, a source name, a source URL, and a source date.
get_candidate_voting_record
Returns bill name, the vote, the vote date, a source name, and a source URL, with the newest vote date first.
get_candidate_quotes
Returns quote text, context, source name, source URL, and quote date, in display order.
get_candidate_issues
Returns issue text, category, source name, and source URL, in display order.
list_races
Requires a race type of house, senate, governor, or executive, and can take a two-letter state code. It returns candidate rows: slug, name, party, state name, district, and status, ordered by state name. A free-tier call is capped at 5 rows. Counts for a race or a state are on the public hubs linked below.
Public pages beside the server
These tools query the current public serving views. The certified 2026 general-election nominees file is a separate snapshot. It lists Governor, U.S. Senate, and U.S. House nominees copied from official election-office lists, and a row links to a profile only when one canonical public profile matches. Use that dataset when the question is who the official list named.
The live field is browsable on the race candidate research hubs, one card per race type with party counts, and on the state candidate research hubs, one card per state. The public opposition-research guide describes the public-record file those hubs are built from. How OppIntell sources and publishes research covers public-record ingestion, citation checks, and the publish guard in front of a public page.
Controversies, votes, quotes, and issues each carry the source name and source URL stored with the row. That citation is the serving record. A question about a candidate file, a correction to a published claim, or which public record a page relies on goes through the contact form.
Free Tier & Attribution
A free, read-only, rate-limited API key gives any AI agent citable access to the same public research corpus this server has always served -- no payment, no account. Each key has a hard per-minute and per-day request cap, and free-tier responses are watermarked with an attribution notice. Attribution to OppIntell with a link to the canonical source is required when citing or redistributing free-tier data. Higher-volume or attribution-optional access is available on a separate commercial rate card -- contact us for details.
Claude Desktop Setup
Setup Instructions
- Open Claude Desktop: Launch the Claude desktop application
- Access Settings: Click the menu icon and go to Settings → Developer
- Edit Config: Click "Edit Config" to open the configuration file
- Add MCP Server: Add the following configuration:
{ "mcpServers": { "oppintell": { "url": "https://oppintell.com/functions/v1/mcp-server", "headers": { "x-api-key": "YOUR_OPPINTELL_API_KEY" } } } } - Restart Claude: Save the file and restart Claude Desktop
Cursor IDE Setup
Setup Instructions
- Open Cursor Settings: Go to Cursor Settings → MCP
- Add Server: Click "Add new global MCP server"
- Configure: Enter the following:
{ "mcpServers": { "oppintell": { "url": "https://oppintell.com/functions/v1/mcp-server", "headers": { "x-api-key": "YOUR_OPPINTELL_API_KEY" } } } } - Enable: Toggle the server to enabled state
Testing the Integration
You can test the MCP server using the MCP Inspector tool and an OppIntell API key:
npx @modelcontextprotocol/inspectorOnce connected, try asking Claude or your AI assistant questions like:
- "Search for candidates in Arizona by party"
- "What are the controversies for [candidate name]?"
- "Show me the voting record for [candidate name]"
- "List all Senate races"
Need Help?
If you encounter any issues setting up the MCP integration, reach out to our support team.
Contact Support