Skip to content
Queria Docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Use from AI chat

How to add Queria's URL to Claude, ChatGPT and Microsoft 365 Copilot

Add the URL below to Claude, ChatGPT or Microsoft 365 Copilot to use Queria’s data from the AI chat. Nothing needs installing.

https://mcp.queria.io

After that, when you ask a question that needs numbers, the AI finds the data in Queria, writes SQL and shows the result in the chat as a table, chart or map.

You can also have the AI guide you through adding it. Send it the line below, and it shows the steps for the app you use and checks that the connection works afterwards (Have your AI connect Queria).

Read https://docs.queria.io/en/setup.md and connect Queria

Open Customize → Connectors

In claude.ai (or the desktop app), open Customize in the left menu and choose the Connectors tab. You can also open the claude.ai Connectors page directly.

The Connectors tab under Customize

+ Add → Add custom connector

The Add menu

Enter the name and URL, then Continue

Enter “Queria” as the name and https://mcp.queria.io as the MCP server URL, then press Continue.

The Add custom connector dialog

Approve on Queria

Queria’s sign-in and approval screen opens. Press Allow.

Queria’s approval screen

Turn Queria on in the chat

In the chat, open + at the lower left → Connectors and turn Queria on.

The connector toggle

Ask a question

Ask something that needs Queria, and the SQL with a table, chart or map appears in the conversation.

A map in the Claude chat

  • The free plan can add it too (one custom connector)
  • On Team and Enterprise plans, an organization owner adds it under the organization’s connector settings, and each member connects
  • Connectors you add appear in the mobile apps on the same account

Add Queria

Open Plugins in the sidebar (chatgpt.com/plugins), then choose Add → Add custom MCP server at the top right.

Enter the URL and authentication

Enter “Queria” as the name and https://mcp.queria.io as the URL, and choose OAuth. Read the notice, tick the box and press Create as a plugin.

Sign in and approve

Queria’s sign-in and approval screen opens. Approve it there.

Call Queria in the chat

Type “@Queria” in the message box, pick Queria, then write your question.

  • You can add it on the Free plan too
  • Without @Queria, ChatGPT may answer from a web search instead of using Queria
  • On Business and Enterprise, a workspace owner has to allow custom MCP servers first
  • Menu names change from time to time. If you cannot find it, search the settings for “MCP”

To use Queria from Copilot, your organization’s administrator first registers Queria as a connector. After that, each user only turns Queria on in the Copilot chat.

Administrator (once)

Create the sign-in settings in Teams Developer Portal

You can copy the values from the Microsoft 365 Copilot section of Settings → Connections in Queria.

In Teams Developer Portal, open Tools → OAuth client registration, click New OAuth client registration, fill in the following and save.

Field Value
Registration name Queria
Base URL https://mcp.queria.io
Restrict usage by Teams app Any Teams app
Client ID The value shown in Settings → Connections
Client secret Not used. Enter any text (for example none)
Authorization endpoint https://queria.io/mcp-auth
Token endpoint https://queria.io/api/mcp-auth/token
Refresh endpoint https://queria.io/api/mcp-auth/token
Enable PKCE On

Leave the other fields at their defaults. The client ID is the same for every organization. Admins of a Queria organization account can also issue an ID for their organization on its settings page.

OAuth client registration form

Copy the registration ID

After saving, the list shows a Registration ID. Copy it for the next steps.

OAuth client registration list

Open Connect to MCP server in the admin center

In the Microsoft 365 admin center, open Copilot → Connectors → Gallery, click Add on Create a new connector under Created by your org, then click Add on Connect to MCP server.

Choosing the connector type

Enter Queria's details and click Authorize

Fill in the following. Copilot uses the description to decide when to call Queria, so you can use the example as it is.

Field Value
Display name Queria
Description Aggregates Japanese open data and public statistics (population and households, businesses and facilities, land prices, roads and traffic, weather, municipal budgets and more) with SQL and shows tables, charts and maps. Use it to compare numbers between areas or to study trade areas and store locations.
MCP endpoint URL https://mcp.queria.io
Developer name FLOPS Inc.
Website URL https://docs.queria.io
Privacy policy URL https://queria.io/legal/privacy-policy
Terms of use URL https://queria.io/legal/terms-of-service
Authentication type OAuth 2.0
Reference ID The registration ID you copied in step 2

Click Authorize. Queria’s sign-in and consent screen opens; allow it. Then tick Notice and click Create.

Connect to MCP server form

Check that it is Ready

When Queria’s State in Your Connections shows Ready, the setup is done.

Your Connections list

Each user (once)

Turn Queria on in the chat

In the Copilot chat box, open + → Change data sources, click Connect next to Queria, then sign in to Queria and allow access. Turn the Queria switch on. The setting stays on for later chats.

Selecting data sources

Ask a question

Ask something that needs Queria. The SQL, table and chart appear in the conversation.

A chart in the Copilot chat

  • Each user needs a Microsoft 365 Copilot license
  • On a newly created Microsoft 365 tenant, Authorize in the admin center may show “Required tenant details are out of sync”. Wait about an hour and try again
  • If you attach an Excel file from OneDrive or SharePoint to the chat, Copilot combines its numbers with Queria’s statistics. Copilot copies the values it needs from the Excel file into the SQL it sends to Queria. Queria records that SQL (Telemetry), so do not attach Excel files with values you would not want others to see
  • An organization’s ID can be made read only on the organization’s settings page. For people connected with a read-only ID, Queria refuses SQL into which Copilot has copied values from an Excel file or elsewhere, and Copilot takes the open data from Queria and combines it on its side. The AI cannot create reports, and SQL is not recorded
  • For local governments and organizations, we help with the setup. Get in touch

Example questions

  • Show the population of each district in Tsukuba as a table, largest first
  • Make a line chart of population over time by prefecture
  • Which municipalities in Tokyo have the highest share of people aged 65 and over?

What the AI can do once you approve, and how to use Queria from Claude Code or Cursor, are in MCP server.

Was this page helpful?