Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>GraphQL Lens: Query Runner & Schema Explorer Pro 🔮New to Visual Studio Code? Get it now.
GraphQL Lens: Query Runner & Schema Explorer Pro 🔮

GraphQL Lens: Query Runner & Schema Explorer Pro 🔮

PirapaakaranPirathapan

|
1 install
| (0) | Free
| Sponsor
Instant inline GraphQL query runner, schema introspection tree explorer, and query formatter right inside VS Code without Altair or Postman.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GraphQL Lens: Query Runner & Schema Explorer Pro 🔮

Sponsor Publisher License: MIT

Instant inline GraphQL query runner, schema introspection explorer, and response studio directly inside Visual Studio Code. Run queries with 1 click without ever opening Altair, Postman, or Insomnia!


✨ Features

  • ▶️ 1-Click Inline Query Execution: CodeLens buttons appear automatically above queries and mutations in .graphql, .gql, or JS/TS template strings. Click to run instantly.
  • ⚡ Interactive Dual-Pane Studio: Side-by-side query editor and JSON response drawer displaying HTTP status code and round-trip execution latency in milliseconds.
  • 🔒 Secure Custom Headers & Tokens: Easily configure bearer tokens, API keys, or custom headers in workspace settings.
  • 📋 1-Click Copy Response: Copy formatted, indented JSON responses with a single click.
  • 🌐 Zero External Dependencies: Completely standalone, lightweight, and fast.

🛠️ Usage

1. Run Query from File

Open any .graphql or .gql file and click the "▶ Run query" CodeLens button above your query, or right-click and choose "GraphQL Lens: Execute Query".

2. Open GraphQL Studio

Run GraphQL Lens: Open Query & Schema Studio from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).

3. Change GraphQL Endpoint

Run GraphQL Lens: Configure GraphQL Endpoint & Headers... to set your local or remote GraphQL API URL.


⚙️ Configuration

Setting Type Default Description
graphqllens.endpoint string "https://countries.trevorblades.com/graphql" Default GraphQL API endpoint URL.
graphqllens.headers object {} Custom HTTP request headers (e.g. Authorization).

💖 Support & Sponsor

If you find GraphQL Lens helpful, please consider sponsoring development: 👉 Sponsor Pirapaakaran on GitHub

Connect on LinkedIn: Pirapaakaran Pirathapan


📄 License

MIT © Pirapaakaran Pirathapan

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft