Interfaces with BuildBetter's GraphQL API to execute read-only queries, expose schema as browsable resources, and provide tools for querying relevant data from BuildBetter.
Supports reading Markdown resources through the open-resource/read-resource tools, with specific support for a context guide in Markdown format.
Provides schema-overview tool that generates Mermaid diagrams showing core relationships in the BuildBetter data model.
BuildBetter MCP (Model-Context-Protocol) Server
This repository contains BuildBetter's official MCP adapter. It bridges the BuildBetter API โ LLMs (Claude, ChatGPT, etc.) allowing them to run safe, read-only queries and receive rich context.
๐ Open Beta: Request Access!
This adapter is currently in a Request-Access Open Beta. To get started:
Email us at
This feature is free on all plans while in beta.
It can be used with any MCP client that supports custom servers.
It is purpose-built to:
Connect to the BuildBetter's API endpoint
Expose BuildBetter's schema as browsable resources
Provide tools for running read-only BuildBetter queries (mutations are blocked)
Query for relevent data for BuildBetter data
Related MCP server: Linear
Features
Resources
Schema List: View all available types in your BuildBetter schema
Type Details: Explore fields and structure of specific types
Tools
run-query โ Execute read-only GraphQL (mutations are blocked)
list-types โ List all OBJECT types (mutation types are hidden)
build-query โ Generate a skeleton query for a type + fields
find-fields โ Introspect fields for a given type
search-extractions โ Keyword search with optional
typeandpersonaIdsfiltersopen-resource / read-resource โ Fetch static docs exposed as resources
schema-overview โ Mermaid diagram of core relationships
Prompts
The server ships a library of ready-made prompt templates (see index.ts) such as:
recent-calls โ latest interviews
call-details / call-transcript
search-transcript โ phrase search inside a call
recent-issues / feature-requests
top-customer-issues
recent-objections / top-objections / customer-objections
feature-requests-by-date
signal-frequency โ aggregation per extraction_type
context-guide โ instructs the model to open the Markdown guide first
You can discover them with the prompts/list MCP request.
Installation
Clone this repository
Install dependencies:
npm installCreate an
.envfile (or set env vars in your shell) with:# BuildBetter staging / prod GraphQL endpoint BUILDBETTER_ENDPOINT="https://api.buildbetter.app/v1/graphql" # Personal API key โ generate from BuildBetter dashboard BUILDBETTER_API_KEY="YOUR_API_KEY_HERE"Build the server (compiles TypeScript โ ./build):
npm run build
Usage
Starting the Server
Run the server:
Connecting with Claude for Desktop
Add the server to your Claude for Desktop configuration by editing your claude_desktop_config.json file:
Security & Privacy
Read-only โ all mutation attempts are blocked at runtime.
Persona filtering โ helper arguments (
personaIds) allow you to restrict queries to Customer-only data.Input validation โ every tool verifies arguments before execution.
Schema minimisation โ mutation types are hidden from
list-typesand docs.
Development
For development, you can use:
License
All Rights Reserved