Schwaizer BFS MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level (debug, info, warn, error) | info |
| BFS_MAX_RETRIES | No | Maximum number of retries on rate limiting | 3 |
| BFS_REQUEST_DELAY | No | Delay between requests to BFS API in milliseconds | 0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_datasetsB | Search for statistical datasets in the Swiss Federal Statistical Office (BFS) catalog. Search by keywords, themes, spatial divisions, and other criteria. Returns a list of matching datasets with their BFS numbers and metadata. |
| list_themesA | List all available statistical themes (categories) in the BFS catalog. Each theme has a name, prodima number (for filtering), and theme code. Use the prodima number with search_datasets to filter by theme. |
| get_dataset_infoB | Get detailed information about a specific BFS dataset using its BFS number or asset number. Returns comprehensive metadata including title, description, available languages, publication date, and links to data files. |
| get_statistical_dataA | Retrieve statistical data from a BFS dataset using the PXWEB API. You can optionally filter by specific dimensions. Use get_dataset_metadata first to see available dimensions and values for filtering. Returns data in JSON-stat format by default. |
| get_sse_dataA | Retrieve time-series data from the Swiss Stats Explorer (SSE) API. This is a modern SDMX-based API that works well for time-series data. Use get_sse_metadata first to see available dimensions. You can filter by dimensions and time periods. |
| get_dataset_metadataA | Get complete metadata structure for a BFS dataset from the PXWEB API. Returns information about all available dimensions, their codes, and possible values. Use this before querying data to understand what filters you can apply. |
| get_sse_metadataA | Get metadata for a Swiss Stats Explorer (SSE) dataset. Returns available dimensions and their possible values. Use this before calling get_sse_data to understand what filters you can apply. |
| get_dataset_dimensionsA | Get a simplified view of available dimensions and their values for a PXWEB dataset. This is useful for quickly understanding what filters you can apply when querying data. Returns dimension codes and all possible values. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Tools are mostly distinct, but some overlap exists between get_dataset_dimensions, get_dataset_metadata, and get_dataset_info as they all provide metadata about datasets. Descriptions help differentiate, but agents might be confused about which to use for dimension exploration.
All tools follow a consistent 'verb_noun' pattern with snake_case (e.g., list_themes, search_datasets, get_sse_data). No deviations or mixed conventions.
8 tools is well-scoped for a statistical data server covering two APIs (PXWEB and SSE) and basic discovery. Not too few to be incomplete, and not overwhelming.
The tool surface covers discovery, metadata retrieval, and data extraction for both APIs. Minor gaps include lack of a tool to list all datasets directly (search is needed) and no tool for SSE-specific search, but overall the domain is reasonably covered.