> ## Documentation Index
> Fetch the complete documentation index at: https://docs.weflayr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP server

> Read your Weflayr data from your AI assistant.

## Connect

Add the server as a remote MCP server (streamable HTTP) in your client, authenticating with a [Management API key](/product/api-keys) as a Bearer token:

```json theme={null}
{
  "mcpServers": {
    "weflayr": {
      "url": "https://mcp.weflayr.com/",
      "headers": {
        "Authorization": "Bearer <WEFLAYR API KEY>"
      }
    }
  }
}
```

## Tools

Every tool is read-only, with the same parameters and output as its API route:

* `get_costs` - [Get costs](/api/management/get-costs)
* `get_margin` - [Get margin](/api/management/get-margin)
* `get_performance` - [Get performance](/api/management/get-performance)
* `get_revenue` - [Get revenue](/api/management/get-revenue)
* `get_key_metrics` - [Get key metrics](/api/management/get-key-metrics)
* `get_customers_tags` - [Get customer tags](/api/management/get-customer-tags)
* `get_project` - [Get project](/api/management/get-project)
* `get_tags` - [Get tags](/api/management/get-tags)
* `get_models` - [Get models](/api/management/get-models)
* `get_providers` - [Get providers](/api/management/get-providers)
* `get_customers` - [Get customers](/api/management/get-customers)
* `get_features` - [Get features](/api/management/get-features)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.