Skip to content
ไทย

You can use 🗄️ Politigraph to access the data you need in 3 ways

💻 — Query → 🗄️ — Data → 💻

Best for integrating Politigraph data into a website, application, or other workflow by writing a GraphQL query and sending it to the API to fetch the data you need.

See how

Best for pulling data out of Politigraph with a UI that helps you build queries, view results, and download the data right away without writing any code. There are 2 tools to choose from.

👦 — Pick the data → 🏗️ — Query → 🗄️ — Data → 🏗️ — Result → 👦

Best for people just getting started with Politigraph. Simply click to pick the data you want to build a GraphQL query and view the result with a Visualization.

See how

👦 — Write Query → 🛝 — Query → 🗄️ — Data → 🛝 — Result → 👦

For more advanced users. Write more complex queries and use the full power of GraphQL.

See how

Best for pulling data out of Politigraph to answer a question or help analyze it, without writing a GraphQL query yourself. AI can help in 2 ways, through llms.txt and MCP.

3.1 Have AI Write the GraphQL Query with llms.txt

Section titled “3.1 Have AI Write the GraphQL Query with llms.txt”
👦 — Ask (Prompt) → 🤖 — Drafts the query → 👦 — Build Query → 🛝 — Query → 🗄️ — Data → 🛝 — Result → 👦

Best for users of web AI chat, which may be limited in calling external data. You need to run the query AI drafts in the GraphQL Playground, as in option 2.2.

See how

3.2 Let AI Fetch the Data Directly Through MCP

Section titled “3.2 Let AI Fetch the Data Directly Through MCP”
👦 — Ask (Prompt) → 🤖 — Query → 🗄️ — Analyzes data → 🤖 — Answer → 👦

Best for an on-device AI agent that supports connecting to external systems through the Model Context Protocol (MCP). The agent can answer with the results right away.

See how