> ## 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.

# Weflayr MCP

> Access your Weflayr's data through MCP.

## Connect

Add the server as a remote MCP server in your client, authenticating with a [Weflayr API key](/quickstart#get-your-api-key) as a Bearer token:

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

## Tools

Same parameters and output as the underlying API route - see each route's own documentation:

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