Booli MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Booli MCP Serverfind 3-bedroom apartments in Stockholm under 5 million SEK"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Booli MCP Server
A Model Context Protocol (MCP) server for accessing Swedish real estate data from Booli.se through GraphQL API. This server enables AI assistants to search and analyze property listings using natural language queries.
Features
Property Search: Search for apartments and houses with comprehensive filtering options
Location Discovery: Find area IDs and location names for targeted property searches
Natural Language Queries: AI assistants can interpret conversational property requests
GraphQL Integration: Efficient API communication with Booli's GraphQL endpoint
Structured Responses: Returns property data in standardized format with rich text formatting
Installation
npm install
npm run buildConfiguration
Copy the environment template:
cp .env.example .envSet the Booli GraphQL endpoint in
.env:
BOOLI_GRAPHQL_URL=https://api.booli.se/graphqlUsage
Development
npm run devProduction
npm startWith Claude Desktop
Add to your Claude Desktop MCP configuration:
{
"mcpServers": {
"booli": {
"command": "node",
"args": ["/path/to/booli-mcp-server/dist/index.js"],
"env": {
"BOOLI_GRAPHQL_URL": "https://api.booli.se/graphql"
}
}
}
}Available Tools
search_locations
Find location suggestions and area IDs for property searches:
query(string, required): Search query to find location suggestions (e.g., "ektorp", "stockholm", "nacka")limit(number, optional): Maximum results to return (default: 10)
Example usage: Use this tool first to discover location IDs, then use those IDs in property searches for more targeted results.
search_properties
Search for properties with comprehensive filtering options:
Basic Parameters:
location(string): Location to search (area ID or name, e.g., "Stockholm", "509")minPrice(number): Minimum price in SEKmaxPrice(number): Maximum price in SEKminRooms(number): Minimum number of roomsmaxRooms(number): Maximum number of roomsminArea(number): Minimum living area in m²maxArea(number): Maximum living area in m²propertyType(string): "apartment" or "house"
Advanced Parameters:
minPricePerSqm(number): Minimum price per square metermaxPricePerSqm(number): Maximum price per square meterminPlotArea(number): Minimum plot area for housesmaxPlotArea(number): Maximum plot area for housesminConstructionYear(number): Minimum construction yearmaxConstructionYear(number): Maximum construction yearmaxRent(number): Maximum monthly rent for cooperativesdaysActive(number): Maximum days listing has been activeamenities(string): Comma-separated amenities listfloor(string): "bottomFloor" or "topFloor"showOnly(string): Special filters (e.g., "priceDecrease,newConstruction")limit(number): Maximum results to return (default: 10)
Example Queries
Location Discovery:
"Find locations matching 'ektorp'"
"Search for areas in Stockholm"
"What locations are available in Nacka?"
Property Search:
"Show me 2-bedroom apartments under 4M SEK in Stockholm"
"Find houses in Göteborg with at least 100m² living area"
"Search for properties in Södermalm between 2-5M SEK"
"Find apartments in area 509 with balcony"
Combined Workflow:
First: "Find locations matching 'södermalm'"
Then: "Search properties in area 123 with 2-3 rooms under 5M SEK"
Development
# Install dependencies
npm install
# Build the project
npm run build
# Run tests
npm test
# Type checking
npm run typecheck
# Linting
npm run lint
# Start development server
npm run devTesting
The project includes comprehensive test coverage:
# Run all tests
npm test
# Run specific test files
npm test tests/location-types.test.ts
npm test tests/types.test.ts
# Run tests with coverage
npm run test:coverageTest coverage includes:
Type validation with Zod schemas
GraphQL client functionality
MCP tool implementations
Error handling and edge cases
Integration tests with real API calls
License
MIT
Available Tools
3 toolsget_property_detailsB
Retrieve comprehensive details for a specific property using its property ID
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | Yes | Unique identifier of the property to retrieve details for (e.g., "12345") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'retrieve' and 'comprehensive details', implying a read-only operation, but doesn't specify aspects like rate limits, authentication needs, error handling, or what 'comprehensive details' entails, leaving significant gaps in behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the key information ('Retrieve comprehensive details') without any wasted words. It is appropriately sized for a simple tool with one parameter, earning a high score for clarity and brevity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is minimally adequate. It states the purpose but lacks details on usage guidelines, behavioral traits, and output expectations, making it incomplete for optimal agent performance despite the simple context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with the parameter 'propertyId' well-documented in the input schema. The description adds no additional meaning beyond what the schema provides, such as format examples or constraints, so it meets the baseline score for high schema coverage without compensating value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Retrieve comprehensive details') and resource ('for a specific property'), making the purpose understandable. However, it doesn't differentiate from sibling tools like 'search_properties' or 'search_locations', which might have overlapping functionality, preventing a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'search_properties' or 'search_locations'. It lacks context about prerequisites, such as needing a property ID, or exclusions, leaving the agent to infer usage from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_locationsB
Search for location suggestions on Booli.se to find area IDs and names
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query to find location suggestions (e.g., "ektorp", "stockholm", "nacka") | |
| limit | No | Maximum number of results to return (default: 10) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions the tool searches for suggestions and returns IDs/names, but doesn't disclose behavioral traits like rate limits, authentication needs, pagination, or error handling. For a search tool with zero annotation coverage, this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the key action and purpose without unnecessary details. Every word earns its place, making it appropriately sized and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (search with 2 parameters), no annotations, and no output schema, the description is minimally adequate. It states the purpose but lacks completeness in behavioral context, usage guidelines, and output details, leaving gaps for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both parameters (query and limit) with descriptions and defaults. The description adds no additional meaning beyond what the schema provides, such as examples or constraints, meeting the baseline for high coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Search for location suggestions') and the resource ('on Booli.se'), specifying the purpose is to find area IDs and names. It distinguishes from sibling tools (get_property_details, search_properties) by focusing on locations rather than properties, though it doesn't explicitly contrast them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like search_properties, nor any context about prerequisites or exclusions. The description implies usage for finding area IDs/names but lacks explicit when/when-not instructions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_propertiesC
Search for properties on Booli.se with comprehensive filtering options
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | Location to search in (e.g., "Stockholm", "Södermalm", "509" for area ID) | |
| minPrice | No | Minimum list price in SEK | |
| maxPrice | No | Maximum list price in SEK | |
| minRooms | No | Minimum number of rooms | |
| maxRooms | No | Maximum number of rooms | |
| minArea | No | Minimum living area in square meters | |
| maxArea | No | Maximum living area in square meters | |
| propertyType | No | Type of property to search for | |
| minPricePerSqm | No | Minimum price per square meter in SEK | |
| maxPricePerSqm | No | Maximum price per square meter in SEK | |
| minPlotArea | No | Minimum plot area in square meters (for houses) | |
| maxPlotArea | No | Maximum plot area in square meters (for houses) | |
| minConstructionYear | No | Minimum construction year | |
| maxConstructionYear | No | Maximum construction year | |
| maxRent | No | Maximum monthly rent in SEK (for tenant-owned cooperatives) | |
| daysActive | No | Maximum days the listing has been active | |
| amenities | No | Comma-separated amenities (e.g., "hasBalconyOrPatio,hasFireplace,buildingHasElevator") | |
| floor | No | Specific floor preference | |
| showOnly | No | Special filters (e.g., "priceDecrease,tenureOwnership,newConstruction") | |
| limit | No | Maximum number of results to return (default: 10) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure but offers minimal information. It doesn't mention whether this is a read-only operation, potential rate limits, authentication requirements, or what the output format looks like (especially problematic since there's no output schema). The phrase 'comprehensive filtering options' hints at functionality but lacks concrete behavioral details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that immediately communicates the core functionality. Every word earns its place - 'Search for properties' establishes the action, 'on Booli.se' specifies the context, and 'with comprehensive filtering options' hints at the tool's capabilities without unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex tool with 20 parameters and no output schema, the description is insufficient. It doesn't explain what kind of results are returned, how filtering works in practice, or provide any context about the Booli.se platform. With no annotations and no output schema, the description should do more to help an agent understand how to effectively use this search functionality.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the schema already documents all 20 parameters thoroughly. The description adds no additional parameter information beyond what's in the schema - it doesn't explain parameter relationships, filtering logic, or provide usage examples. The baseline of 3 is appropriate since the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Search for properties') and resource ('on Booli.se'), making the purpose immediately understandable. It distinguishes itself from 'get_property_details' by focusing on search rather than retrieval of specific details, though it doesn't explicitly differentiate from 'search_locations' which might be a related search function.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'search_locations' or 'get_property_details'. It mentions 'comprehensive filtering options' but doesn't explain when these filters are appropriate or what scenarios warrant this search tool over others.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.0- First observed
get_property_details - First observed
search_locations - First observed
search_properties
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: get_property_details retrieves details for a specific property ID, search_locations finds location suggestions, and search_properties searches properties with filters. There is no overlap in functionality, making it easy for an agent to select the correct tool without confusion.
All tool names follow a consistent verb_noun pattern with snake_case: get_property_details, search_locations, and search_properties. This predictable naming scheme enhances readability and usability for agents.
With 3 tools, the server is well-scoped for a property search domain, but it feels slightly thin as it lacks update or delete operations. However, given the domain (search and retrieval), the count is reasonable and each tool earns its place.
The tools cover core search and retrieval workflows for properties and locations on Booli.se, with no dead ends. A minor gap exists in not providing update or delete capabilities, but these may not be applicable to the domain, and agents can work effectively with the available tools.
Related MCP Connectors
AI-native real estate discovery with structured property search and market intelligence.
Redfin listings, sale-comps, and neighborhood market data via natural-language queries.
Search real-estate deals, rank top areas, run rental/BRRRR/flip analysis, pull sold comps.
Search and manage Paraguay & LatAm real estate from any AI assistant.