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

# SDKs & Integrations

> Client libraries, MCP server, and integration options

# SDKs & Integrations

Dacard.ai provides multiple ways to integrate with the platform beyond direct API calls.

## MCP Server

The Dacard.ai MCP (Model Context Protocol) server exposes 8 queryable tools for AI assistants, enabling any MCP-compatible agent to access framework data, scoring workflows, and coaching capabilities.

### Available tools

| Tool                  | Description                                                 |
| --------------------- | ----------------------------------------------------------- |
| `get_framework`       | Retrieve the full Product Operations Intelligence Framework |
| `get_lifecycle`       | Retrieve the AI-Native Product Development Lifecycle        |
| `get_operations`      | Retrieve the AI-Native Product Operations Framework         |
| `score_product`       | Score a product URL                                         |
| `get_score`           | Get an existing score result                                |
| `compare_products`    | Compare two or more product scores                          |
| `get_recommendations` | Get AI coaching recommendations for a score                 |
| `health_check`        | Check the platform health status                            |

### Usage with Claude Desktop

Add the Dacard.ai MCP server to your Claude Desktop configuration:

```json theme={null}
{
  "mcpServers": {
    "dacard": {
      "command": "npx",
      "args": ["@dacard/mcp-server"]
    }
  }
}
```

## REST API

The primary integration method. See the [API Reference](/api-reference/scoring/score-a-url) for complete endpoint documentation.

**Base URL**: `https://app.dacard.ai`

All endpoints accept and return JSON. Authentication is via Clerk session cookie or Bearer JWT.

## TypeScript SDK

<Info>
  The TypeScript SDK provides typed wrappers for all API endpoints with built-in authentication and error handling.
</Info>

```typescript theme={null}
// SDK usage
import { DacardClient } from '@dacard/sdk';

const client = new DacardClient({ apiKey: 'your-key' });

// Score a product
const result = await client.score.create({ url: 'https://example.com' });

// List products
const products = await client.products.list();

// Chat with DAC
const response = await client.chat.send({
  scoreId: result.id,
  message: 'What should we improve first?',
});
```

## Python SDK

<Info>
  Python SDK for data science, analytics, and backend integrations.
</Info>

```python theme={null}
# SDK usage
from dacard import DacardClient

client = DacardClient(api_key="your-key")

# Score a product
result = client.score.create(url="https://example.com")

# Get suite intelligence
suite = client.dashboard.get_suite()
```

## Webhooks

Stripe webhooks notify your application of billing events. See the [Webhooks](/webhooks) guide for event types and setup instructions.

## Need a different integration?

If you need an integration not listed here, reach out via the platform or open an issue on [GitHub](https://github.com/darrencard/Dacard.ai).
