# Do I need an API key for Casafari MCP?

> **Casafari is the AI agent-native real estate data intelligence platform.** The most complete property index in Europe: a deduplicated, cleaned property graph of residential and commercial property, for sale and for rent, in 16 countries. Every property is one record with its full price and market history. [How the property graph is built](/docs/property-graph).

No, Casafari MCP doesn't use an API key: you sign in with OAuth 2.1 through your Casafari account, and the token you get carries that account's rights.

- Interactive clients (Claude, ChatGPT, Cursor, VS Code, Claude Code) open Casafari's sign-in page the first time you connect, so you never paste a credential.
- Your own client registers itself and uses PKCE, so it needs no secret.
- An agent with no person to approve uses a `client_id` and `client_secret` that Casafari issues for the account (client credentials grant).
- The REST API works differently: [`POST /login`](https://platform.casafari.com/docs/rest/authentication/login) with email and password returns a JWT access token and a refresh token.

See: [Authentication](https://platform.casafari.com/docs/authentication) and [casafari.com/auth.md](https://www.casafari.com/auth.md).

## Where this is documented

- [Login](https://platform.casafari.com/docs/rest/authentication/login)
- [Authentication](https://platform.casafari.com/docs/authentication)

## Related questions

- [Who can use Casafari MCP?](https://platform.casafari.com/docs/faq/who-can-use)
- [How do I get access to Casafari MCP, and is there a free trial?](https://platform.casafari.com/docs/faq/how-to-get-access)

All questions: https://platform.casafari.com/docs/faq#api-key
