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 |
Capabilities
Features and capabilities supported by this server
| 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 | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ishumilin/schwaizer-bfs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server