Basic information

Transport
Streamable HTTP
Authentication
OAuth
Category
Author
motley
Quality
92 (A)
Views
106

About Motley MCP Server

Let AI agents query your data through Motley's governed semantic layer, edit models and memories, and build reports.

Motley is a remote MCP server in the Data & Analytics category listed in the AddMCP.net directory, published by Motley. It exposes 2 tools, including Cursor, Reporting. Supported transport: Streamable HTTP. Related topics: analytics, BI, data-warehouse, semantic-layer, sql.

Connection details

https://app.motley.ai/api/v1/mcp

Setup

claude mcp add motley --transport http https://app.motley.ai/api/v1/mcp

Motley MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "motley": {
            "type": "http",
            "url": "https://app.motley.ai/api/v1/mcp"
        }
    }
}

Motley MCP Server tools

  • Cursor
  • Reporting — turn a query into a shareable document with tables and charts.

Overview

What is Motley?

Motley MCP Server is the hosted endpoint for Motley Cloud (https://app.motley.ai/api/v1/mcp) that lets AI agents query your data through a governed semantic layer, maintain its models and memories, and build reports, all in conversation.

Motley builds SLayer, an open-source semantic layer for AI agents, and Motley Cloud, the managed platform that hosts it. Instead of letting an agent write raw SQL against your warehouse, Motley gives it shared definitions of measures, dimensions and joins plus saved business context ("fiscal year starts in February", "exclude test accounts"), so the same question gets the same answer every time. Motley connects read-only to databases such as Postgres, Snowflake, BigQuery, ClickHouse, Databricks, DuckDB and MySQL. The MCP server is aimed at data teams and product builders who want Claude, ChatGPT, Copilot or Cursor to answer business questions correctly.

How to use Motley?

Sign up at app.motley.ai with your work email (or ask your org admin for an invite) and connect a data source; a demo dataset is available from the welcome screen. Then add the MCP server by URL. A browser window opens for you to log in to your Motley account and authorize the connection.

Claude Code

claude mcp add --transport http motley https://app.motley.ai/api/v1/mcp

Run /mcp inside Claude Code and complete the Motley sign-in in your browser. Motley's docs also show the equivalent project .mcp.json entry:

{
  "mcpServers": {
    "motley": {
      "type": "http",
      "url": "https://app.motley.ai/api/v1/mcp"
    }
  }
}

Claude Desktop and claude.ai

Open Settings, go to Connectors, choose "Add custom connector", name it Motley and paste https://app.motley.ai/api/v1/mcp. Then click Connect and sign in to Motley in the browser.

Cursor

{
  "mcpServers": {
    "motley": {
      "url": "https://app.motley.ai/api/v1/mcp"
    }
  }
}

VS Code

{
  "servers": {
    "motley": {
      "type": "http",
      "url": "https://app.motley.ai/api/v1/mcp"
    }
  }
}

Confirm the server shows as connected before you start asking questions.

Key features of Motley

  • Semantic search across models, columns, measures and saved memories in one call (search), so the agent sees the right context before it queries.
  • Scratch queries with run_query that return raw rows without saving anything.
  • Model editing from chat: add or change columns, measures and joins (create_measure, patch_column, create_join and related tools); changes apply to every later query on that source.
  • Memories via save_memory, so future sessions do not rediscover the same quirks in your data.
  • Documents and reports: create a document and add text, table, chart or query blocks.
  • OAuth sign-in per org member, with role-based permissions deciding whether an agent can edit the semantic layer or only read and query it.
  • Every tool call is recorded in Motley's Usage view, with admin tools to inspect sessions and review agent feedback.

Use cases of Motley

  • Business questions: "How did average order value change versus last year, by store?"
  • Exploring the layer: "List all available models and describe what each one covers."
  • Defining metrics: "We define monthly recurring revenue as the sum of subscription amounts where status is 'active'. Add that as a measure on the subscriptions model."
  • Fixing definitions: "The revenue measure should use sum, not count."
  • Capturing context: "The orders.order_total column is in cents, not dollars. Add a memory so future queries divide by 100 before summing it."
  • Reporting: turn a query into a shareable document with tables and charts.

Troubleshooting Motley MCP Server

  • Agent can query but not edit models: permissions follow your Motley role. Ask an admin for a role that allows editing the semantic layer.
  • Server added but not connected: finish the browser login that authorizes the connection, then check that your client shows the server as connected.
  • Unexpected query results: ask the agent why the query returned what it did, then record the explanation with a memory so the next session uses it.
  • No data to query yet: load the demo dataset or add a data source in the Motley app first.

Frequently asked questions

1 Is Motley MCP Server official?

Yes. It is documented by Motley at docs.motley.ai and served from app.motley.ai.

2 Is Motley MCP free?

The hosted MCP server is part of Motley Cloud, which Motley's pricing page lists as starting at $450 per month with usage-based pricing. The open-source SLayer is free under the MIT license and can be self-hosted with its own MCP interface.

3 How do I authenticate with Motley MCP?

Through OAuth. When you connect, a browser window opens to log in to your Motley account and authorize access. No API key is needed.

4 Which databases does Motley support?

Motley lists Postgres, Snowflake, BigQuery, ClickHouse, Databricks, DuckDB and MySQL, connected with read-only access.

5 Does Motley MCP work with Claude Code, Cursor and VS Code?

Yes. It is a Streamable HTTP server added by URL, and Motley's docs name Claude, ChatGPT, Copilot and Cursor among compatible clients.

6 Can the agent change my data?

The agent can change semantic-layer definitions such as measures, columns, joins and memories if your role allows it. Motley's connection to your database is read-only.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬