Hasura (Instant GraphQL & REST Engine)

Hasura (Instant GraphQL & REST Engine) MCP Connector for Claude

A+

Instantly connect to your Hasura engine to execute GraphQL queries, manage metadata, analyze SQL execution plans, and monitor server health.

7 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Hasura engine to any AI agent to automate database management and API orchestration through natural language.

What you can do

  • GraphQL Operations — Execute complex queries and mutations directly against your /v1/graphql endpoint with full variable support.
  • Metadata Management — Track tables, define relationships, and manage permissions programmatically using the Metadata API.
  • Performance Analysis — Use the explain tool to inspect generated SQL and execution plans to optimize your database performance.
  • Server Monitoring — Check server health, verify metadata consistency, and retrieve real-time configuration and version details.
  • Database Backups — Trigger pg_dump operations on connected Postgres sources for quick schema exports.

How it works

  1. Subscribe to this server
  2. Provide your Hasura GraphQL Endpoint URL
  3. Enter your Admin Secret for secure access
  4. Start querying and managing your data layer from Claude, Cursor, or any MCP client

Who is this for?

  • Backend Developers — Test queries and manage schema tracking without leaving the terminal or IDE.
  • Data Engineers — Quickly inspect execution plans and perform database dumps for migration tasks.
  • DevOps Engineers — Monitor Hasura health and configuration consistency across different environments.
graphqlhasurapostgresapi-enginesql-analysis

7 tools expose this connector's capabilities to your AI agent.

check_health

Can optionally use strict mode to verify metadata consistency. Monitor Hasura server health

execute_graphql

Supports queries, mutations, and batched requests. Execute a GraphQL query or mutation

execute_metadata

Execute a Hasura Metadata API operation

explain_graphql

Analyze the generated SQL and execution plan for a GraphQL query

get_config

Retrieve Hasura server configuration

get_version

Get Hasura server version and type

pg_dump

Execute pg_dump on a connected Postgres source

See how to talk to your AI agent using Hasura (Instant GraphQL & REST Engine).

Run a GraphQL query to fetch the first 5 users and their email addresses.

I've executed the `execute_graphql` tool. Here are the results: User 1 (admin@example.com), User 2 (dev@example.com)...

Explain the performance of this GraphQL query: { users { id name } }

Using `explain_graphql`, I've analyzed the query. The generated SQL is 'SELECT id, name FROM users'. The execution plan shows an Index Scan with a cost of 0.00..12.40.

Check the health of my Hasura server and verify metadata consistency.

I've called `check_health` with strict mode. The server is healthy and all metadata is currently consistent.

Yes! Use the `explain_graphql` tool. It will return the generated SQL and the execution plan from the database, helping you debug performance issues.

Related Connectors