@raygister/mcp

@raygister/mcp

Read-only MCP server for Raygister, enabling AI assistants to browse construction projects, lots, specifications, and locations via natural language.

Category
Visit Server

README

@raygister/mcp

Read-only Model Context Protocol server for Raygister, the SaaS for architects to manage construction consultation projects (DPGF, lots, specifications, locations).

npm version license MCP

Features

Six read-only tools wrapping the Raygister public API. The server is strictly read-only in v1: there are no tools that mutate state.

  • list_projects browse all projects in your organization with pagination
  • get_project fetch full details of a single project including counts
  • list_lots list every lot (work package) of a project
  • get_lot fetch a single lot with its inline specifications
  • list_specifications list every DPGF line item of a lot
  • list_locations list rooms, floors, and zones of a project

Installation

Add the server to your MCP client. For Claude Desktop, edit your claude_desktop_config.json:

{
  "mcpServers": {
    "raygister": {
      "command": "npx",
      "args": ["-y", "@raygister/mcp"],
      "env": {
        "RAYGISTER_API_KEY": "dk_your_key_here"
      }
    }
  }
}

For Claude Code, the equivalent CLI command is:

claude mcp add raygister -- npx -y @raygister/mcp

then set RAYGISTER_API_KEY in the environment passed to the server.

How to get an API key

  1. Sign in to app.raygister.com.
  2. Open Settings then API keys. (TODO: confirm exact path before publishing.)
  3. Create a new key. It will start with dk_ and is shown only once. Copy it into your MCP client config.

API keys are scoped to a single organization. The Raygister backend enforces tenant isolation, so the MCP only ever sees data from the organization the key belongs to.

Example prompts

Once the server is connected, you can ask your AI assistant things like:

  • "List my Raygister projects and tell me which one has the most lots."
  • "For project Hôtel Mercure Lyon, summarise the plumbing lot's specifications."
  • "Compare the number of locations across all my active projects."
  • "Show me every specification tagged 'electrical' for the office tower project."
  • "Give me a high-level breakdown of lots by type for the most recently created project."

Tool reference

Name Description Required inputs
list_projects Paginated list of projects in the organization. none
get_project Single project with counts (lots, specifications, locations) and metadata. projectId
list_lots Paginated list of lots for a project. projectId
get_lot Single lot with full description, type, status, and inline specifications. projectId, lotId
list_specifications Paginated list of specifications (DPGF line items) for a lot. projectId, lotId
list_locations Flat list of all locations for a project. Not paginated. projectId

Pagination tools also accept page (default 1) and per_page (default 20, max 100).

Configuration

Variable Required Default Description
RAYGISTER_API_KEY yes none API key starting with dk_. Get one from your Raygister settings.
RAYGISTER_API_URL no https://app.raygister.com/api Override the API base URL. Useful for staging or local development.
POSTHOG_API_KEY no none Enables anonymous tool-call telemetry. Disabled when unset.
POSTHOG_HOST no https://eu.posthog.com PostHog instance to send events to.

When POSTHOG_API_KEY is unset, the telemetry layer is a strict no-op. When set, it captures only the tool name, success flag, duration, and a hash-derived install identifier. The raw API key is never sent.

Local development

git clone https://github.com/raygisterinc/mcp.git
cd mcp
pnpm install
pnpm build

To iterate, run pnpm dev to rebuild on save.

To test against a local Raygister API:

export RAYGISTER_API_KEY=dk_your_local_key
export RAYGISTER_API_URL=http://localhost:3000/api
node dist/index.js

The MCP server speaks JSON-RPC over stdio. To exercise it without a client, use the smoke script:

export RAYGISTER_API_KEY=dk_your_key
pnpm smoke

The script calls each tool sequentially and prints success or failure per endpoint.

Contributing

Issues and pull requests welcome at github.com/raygisterinc/mcp. Please open an issue first if you plan a non-trivial change.

License

MIT, see LICENSE.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured