# What is the difference between Casafari MCP and the Casafari REST API?

> **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).

Casafari MCP and the REST API serve the same property graph, but MCP serves assistants and agents and uses OAuth 2.1, while REST offers 39 operations and signs in with email and password.

- MCP: one server at `https://mcp.casafari.com/` over Streamable HTTP, with a gateway that checks your account's rights on every call. It offers 22 data tools plus [`list_servers`](https://platform.casafari.com/docs/gateway/list_servers).
- REST: base URL `https://api.casafari.com`, with no gateway. [`POST /login`](https://platform.casafari.com/docs/rest/authentication/login) returns an access token and a refresh token (JWT), and [`GET /refresh-token`](https://platform.casafari.com/docs/rest/authentication/refresh-token) renews it. The public OpenAPI description is at https://docs.api.casafari.com/openapi.json.

Not everything is available over both. Properties, Alerts and References are REST only, AgentGraph AI is MCP only, and Area Insights and Comparables & Valuation differ in detail.

See: [MCP and REST compared](https://platform.casafari.com/docs/parity), [REST API](https://platform.casafari.com/docs/rest), [Authentication](https://platform.casafari.com/docs/authentication).

## Where this is documented

- [list_servers](https://platform.casafari.com/docs/gateway/list_servers)
- [Login](https://platform.casafari.com/docs/rest/authentication/login)
- [Refresh Token](https://platform.casafari.com/docs/rest/authentication/refresh-token)
- [MCP and REST compared](https://platform.casafari.com/docs/parity)
- [REST API](https://platform.casafari.com/docs/rest)
- [Authentication](https://platform.casafari.com/docs/authentication)

## Related questions

- [What is Casafari MCP?](https://platform.casafari.com/docs/faq/what-is-casafari-mcp)
- [What is Casafari?](https://platform.casafari.com/docs/faq/what-is-casafari)
- [What is the Casafari MCP server URL?](https://platform.casafari.com/docs/faq/mcp-server-url)
- [What is the Casafari MCP gateway, and what does `list_servers` do?](https://platform.casafari.com/docs/faq/gateway-and-list-servers)
- [Which AI assistants and MCP clients work with Casafari MCP?](https://platform.casafari.com/docs/faq/supported-clients)

All questions: https://platform.casafari.com/docs/faq#mcp-vs-rest-api
