Aleva open data

se.alevaPublished by aleva.seOfficial publisherv1.0.0Updated Oct 27, 2026

Swedish public data as read-only tools: registries, statistics, domains, transport, energy.

VerifiedStreamable HTTPWeb executableLocation & LifestyleFinanceData & Analytics

Overview

AI-generated overview

Read-only MCP access to Swedish public data — population, prices, domains, transport, energy, health and politics — as 47 queryable tools.

What you can do
  • Search the catalogue and describe a dataset's fields, parameters, licence, sources and freshness
  • Query population, house prices, consumer prices, municipal key figures and Riksbank rates
  • Look up .se and .nu domains: single-domain details, new, dropped, expiring and value-scored releases, DNSSEC and name server statistics
  • Retrieve transport and travel figures: air passengers, train punctuality, guest nights
  • Fetch energy, weather and health data: electricity balance and forecast, hourly and current weather, medicine shortages, food nutrients
  • Read court rulings, debt restructuring, job ads and parliamentary voting records
When to use it
Useful when an assistant needs factual Swedish statistics or registry data — for research, reporting, regional comparisons or domain research — without building its own data pipeline. Results are paginated lists of records, so it suits lookups and small analyses rather than bulk exports.
Requirements
Remote streamable HTTP endpoint at api.aleva.se; nothing to install. No account is required, but an optional Authorization header with a Bearer API key raises rate limits. Network access to the endpoint is needed.
Before you install
The Authorization header carries a secret API key; supply it only to this endpoint. All tools are read-only, but some datasets require attribution when shown (for example Läkemedelsverket CC BY 4.0, Sveriges riksdag, Sveriges Riksbank), so check each dataset's licence via describe_endpoint. Current-year figures may be partial.

Installation

In SourceWeft

  1. Open Aleva open data in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/se.aleva%2Fdata/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "aleva-open-data": {
      "type": "http",
      "url": "https://api.aleva.se/mcp"
    }
  }
}

Tools

47

air_passengers_monthly

Air passengers in Sweden per month

Air passengers in Sweden per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); passengers (bigint); domestic (bigint); international (bigint); movements (bigint).

Parameterslimitmonthcursormonth_gtemonth_lte

airport_passengers

Passengers per airport and year

Passengers per airport and year. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); airport (varchar); passengers (bigint); movements (bigint); international_share (double); months (bigint): Months reported (the current year is partial).

Parametersyearlimitcursorairportyear_gteyear_lteairport_prefix

consumer_prices

Consumer price index per month

Consumer price index per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date): First day of the month; measure_code (varchar): 00000807 index, 00000804 12-month change, 00000806 monthly change; measure (varchar); value (double).

Parameterslimitmonthcursormonth_gtemonth_ltemeasure_codemeasure_code_in

court_rulings

Published court rulings

Published court rulings. Returns a list of records; pass next_cursor to get the next page. Fields: id (varchar); decided_on (date); published_at (timestamptz); court_code (varchar); court (varchar); kind (varchar): REFERAT (case report), DOM_ELLER_BESLUT (judgment or decision), ...; type (varchar); case_numbers (varchar); reference (varchar): Case report number, e.g. NJA 2026:12; keywords (varchar); laws (varchar): Provisions cited; summary (varchar).

Parameterslimitcursorcourt_codedecided_oncourt_code_indecided_on_gtedecided_on_lte

court_rulings_by_court

Rulings per court

Rulings per court. Returns a list of records; pass next_cursor to get the next page. Fields: court_code (varchar); court (varchar); rulings (bigint); latest (date).

Parameterslimitcursor

debt_restructuring

Debt restructuring applications per month

Debt restructuring applications per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); applications (bigint); women (bigint); men (bigint); eservice_share (double): Share filed via the e-service.

Parameterslimitmonthcursormonth_gtemonth_lte

debt_restructuring_by_age

Debt restructuring per year and age

Debt restructuring per year and age. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); age_group (varchar); applications (bigint).

Parametersyearlimitcursoryear_gteyear_lte

describe_endpoint

Describe a tool's data

The fields, parameters, licence, sources and freshness of one data tool.

Parameterstoolrequired

domain_lookup

One domain in the latest zone

One domain in the latest zone. Returns one record, or an error when there is no match. Fields: domain (varchar): Domain name, lower-case; tld (varchar): se or nu; nameservers (varchar[]): NS host names; glue_v4 (varchar[]): In-zone glue A records; glue_v6 (varchar[]): In-zone glue AAAA records; has_ds (boolean): DNSSEC signed delegation; ds_algorithms (integer[]): DNSSEC algorithm numbers; serial (bigint): Zone serial the row comes from; fetched_at (timestamptz): When the zone was transferred. Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0

Parametersnamerequired

domains_dropped

Dropped .se and .nu domains on a date

Dropped .se and .nu domains on a date. Returns a list of records; pass next_cursor to get the next page. Fields: date (date): Day the change was seen (Europe/Stockholm); domain (varchar); tld (varchar); prev_nameservers (varchar[]): Name servers before the change; prev_has_ds (boolean); serial (bigint): Serial the change was seen in; detected_at (timestamptz). Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0

Parameterstlddaterequiredlimitcursortld_in

domains_expiring

Domains about to be released

Domains about to be released. Returns a list of records; pass next_cursor to get the next page. Fields: domain (varchar); tld (varchar); release_at (date): Day it can be registered again (from 04:00 UTC), unless renewed first; days_left (integer): Days from the list's date to the release date; label_length (integer): Characters before the dot; in_zone (boolean): Still delegated in the latest zone snapshot. Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0

Parameterstldlimitcursortld_inrelease_atlabel_lengthrelease_at_gterelease_at_ltelabel_length_lte

domains_new

New .se and .nu domains on a date

New .se and .nu domains on a date. Returns a list of records; pass next_cursor to get the next page. Fields: date (date): Day the change was seen (Europe/Stockholm); domain (varchar); tld (varchar); nameservers (varchar[]): Name servers after the change (empty when removed); has_ds (boolean); serial (bigint): Serial the change was seen in; detected_at (timestamptz). Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0

Parameterstlddaterequiredlimitcursortld_in

domains_valuable

Domains about to be released, with a value score

Domains about to be released, with a value score. Returns a list of records; pass next_cursor to get the next page. Fields: domain (varchar); tld (varchar); release_at (date): Day it can be registered again (from 04:00 UTC), unless renewed first; days_left (integer); length (integer): Characters before the dot; score (integer): 0-100; higher is shorter, cleaner and closer to real words; word_sv (boolean); word_en (boolean); compound (boolean); possible_trademark (boolean): Contains a well-known brand: probably not usable; reasons_sv (varchar): Why, in Swedish; reasons_en (varchar): Why, in English. Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0 SALDO, Språkbanken Text (University of Gothenburg), CC BY 4.0 Word list from SCOWL, copyright Kevin Atkinson (wordlist.aspell.net)

Parameterstldlimitcursorscore_gterelease_atdays_left_gtedays_left_lterelease_at_gterelease_at_ltepossible_trademark

electricity_balance

Electricity production and use per year

Electricity production and use per year. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); series (varchar); twh (double).

Parametersyearlimitcursoryear_gteyear_lte

electricity_forecast

Electricity production per source with forecast

Electricity production per source with forecast. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); series (varchar): Power source; twh (double).

Parametersyearlimitcursorseriesyear_gteyear_lteseries_in

foods

Foods and nutrients per 100 g

Foods and nutrients per 100 g. Returns a list of records; pass next_cursor to get the next page. Fields: food_id (integer); name (varchar); kind (varchar); energy_kcal (double); protein_g (double); fat_g (double); saturated_fat_g (double); carbohydrates_g (double); sugars_g (double); fibre_g (double); salt_g (double); iron_mg (double); calcium_mg (double); vitamin_c_mg (double); vitamin_d_ug (double). Attribution required when the data is shown: Source: Livsmedelsverket's food composition database, CC BY 4.0

Parametersnamelimitcursorfood_idfood_id_infibre_g_gtefibre_g_ltename_prefixprotein_g_gteprotein_g_lteenergy_kcal_gteenergy_kcal_lte

guest_nights

Guest nights per month

Guest nights per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); origin (varchar): Sverige or Utland; nights (bigint).

Parameterslimitmonthcursororiginmonth_gtemonth_lte

guest_nights_by_country

Foreign guest nights per country and year

Foreign guest nights per country and year. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); country (varchar); nights (bigint).

Parametersyearrequiredlimitcursoryear_gteyear_lte

guest_nights_by_county

Guest nights per county and year

Guest nights per county and year. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); county_code (varchar); county (varchar); nights (bigint); foreign_share (double).

Parametersyearlimitcursoryear_gteyear_ltecounty_codecounty_code_in

house_prices

House price index

House price index. Returns a list of records; pass next_cursor to get the next page. Fields: region_code (varchar); region (varchar); year (integer); index (double): 1981 = 100.

Parametersyearlimitcursoryear_gteyear_lteregion_coderegion_code_in

job_ads

Open job ads per day

Open job ads per day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); dimension (varchar): total, remote, occupation-field, region or municipality; concept_id (varchar): JobTech taxonomy id; code (varchar): County or municipality code; term (varchar); ads (bigint).

Parametersdatelimitcursordate_gtedate_ltedimensionrequired

job_ads_national

Open job ads in Sweden per day

Open job ads in Sweden per day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); ads (bigint); remote (bigint); remote_share (double).

Parametersdatelimitcursordate_gtedate_lte

medicine_shortages

Medicine shortages

Medicine shortages. Returns a list of records; pass next_cursor to get the next page. Fields: shortage_id (varchar); npl_pack_id (varchar); product (varchar); package (varchar); substances (varchar); atc_code (varchar); atc_group (varchar): ATC main group (A alimentary tract, N nervous system, ...); holder (varchar): Marketing authorisation holder; starts (date); ends_forecast (date); ended (date); ongoing (boolean); last_updated (date). Attribution required when the data is shown: Contains data from Läkemedelsverket, CC BY 4.0

Parameterslimitcursorstartsongoingatc_codestarts_gtestarts_lteatc_code_prefix

medicine_shortages_by_group

Ongoing shortages per ATC group

Ongoing shortages per ATC group. Returns a list of records; pass next_cursor to get the next page. Fields: atc_group (varchar); packages (bigint); products (bigint). Attribution required when the data is shown: Contains data from Läkemedelsverket, CC BY 4.0

Parameterslimitcursor

medicine_shortages_monthly

New medicine shortages per month

New medicine shortages per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); shortages (bigint): Shortages that started; packages (bigint): Packages affected. Attribution required when the data is shown: Contains data from Läkemedelsverket, CC BY 4.0

Parameterslimitmonthcursormonth_gtemonth_lte

municipal_figures

Key figures per municipality and year (Kolada)

Key figures per municipality and year (Kolada). Returns a list of records; pass next_cursor to get the next page. Fields: kpi (varchar): Kolada key figure id; kpi_title (varchar); municipality_id (varchar); municipality (varchar); municipality_type (varchar): K municipality, L region; year (integer); value (double). Attribution required when the data is shown: Source: Kolada (RKA), CC BY 4.0

Parameterskpirequiredyearlimitcursorkpi_inyear_gteyear_ltemunicipality_idmunicipality_id_in

municipal_figures_latest

Key figures per municipality, latest year

Key figures per municipality, latest year. Returns a list of records; pass next_cursor to get the next page. Fields: kpi (varchar); kpi_title (varchar); municipality_id (varchar); municipality (varchar); municipality_type (varchar); year (integer); value (double). Attribution required when the data is shown: Source: Kolada (RKA), CC BY 4.0

Parameterskpirequiredlimitcursorkpi_inmunicipality_idmunicipality_typemunicipality_id_in

party_agreement

How often the parties vote alike

How often the parties vote alike. Returns a list of records; pass next_cursor to get the next page. Fields: party (varchar); other_party (varchar); votes (bigint): Votes where both parties voted yes or no; same (bigint); share (double). Attribution required when the data is shown: Source: Sveriges riksdag

Parameterslimitpartycursorparty_in

party_attendance

Votes and absence per party

Votes and absence per party. Returns a list of records; pass next_cursor to get the next page. Fields: party (varchar): - is members without a party; riksmote (varchar): Session, e.g. 2025/26; votes (bigint); absent_share (double); abstain_share (double). Attribution required when the data is shown: Source: Sveriges riksdag

Parameterslimitcursorriksmoteriksmote_in

population

Population per region and year

Population per region and year. Returns a list of records; pass next_cursor to get the next page. Fields: region_code (varchar): 00 Sweden, 2 digits county, 4 digits municipality; region (varchar); level (varchar); year (integer); population (bigint).

Parametersyearlevellimitcursoryear_gteyear_lteregion_coderegion_code_in

population_latest

Population in the latest year and change

Population in the latest year and change. Returns a list of records; pass next_cursor to get the next page. Fields: region_code (varchar); region (varchar); level (varchar); year (integer): Latest year; population (bigint): Population in the latest year; first_year (integer); change_pct (double): Change since first_year, percent.

Parameterslevellimitcursorregion_coderegion_code_in

riksbank_rates

Policy rate and exchange rates per day

Policy rate and exchange rates per day. Returns a list of records; pass next_cursor to get the next page. Fields: series (varchar): SECBREPOEFF policy rate, SEKEURPMI, SEKUSDPMI, SEKGBPPMI; description (varchar); date (date); value (double). Attribution required when the data is shown: Source: Sveriges riksbank, CC BY 4.0

Parametersdatelimitcursorseriesrequireddate_gtedate_lteseries_in

search_catalogue

Search the catalogue

Find datasets and the tools that query them by words in their names, descriptions and fields (Swedish or English).

Parametersqueryrequired

stats_dnssec

DNSSEC adoption per zone and day

DNSSEC adoption per zone and day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date): Day of the snapshot (Europe/Stockholm); tld (varchar); domains (bigint); signed (bigint): Domains with a DS record; share_signed (double); ecdsa_p256 (bigint): Signed with algorithm 13 (ECDSA P-256); rsa_sha256 (bigint): Signed with algorithm 8 (RSA/SHA-256). Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0

Parameterstlddatelimitcursortld_indate_gtedate_lte

stats_nameservers

Name server operators and market share

Name server operators and market share. Returns a list of records; pass next_cursor to get the next page. Fields: tld (varchar); operator (varchar): Registered domain of the name server hosts, e.g. loopia.se; domains (bigint): Domains with at least one name server at this operator; share (double): domains / all domains in the zone; serial (bigint); fetched_at (timestamptz). Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0

Parameterstldlimitcursortld_inoperatordomains_gteoperator_prefix

swestr

Swestr per day

Swestr per day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); rate (double): Percent; pctl12_5 (double): 12.5th percentile of the transactions' rates; pctl87_5 (double): 87.5th percentile; volume_msek (double): Transaction volume, SEK million; transactions (integer). Attribution required when the data is shown: Source: Sveriges riksbank, CC BY 4.0

Parametersdatelimitcursordate_gtedate_lte

train_punctuality

Train punctuality per station and day

Train punctuality per station and day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); station (varchar): Location signature; station_name (varchar); arrivals (bigint); canceled (bigint); on_time (bigint): At most 5 minutes late; on_time_share (double): Share on time among cancelled and reported arrivals; avg_delay_min (double): Average delay, early counted as 0.

Parametersdatelimitcursorstationdate_gtedate_ltestation_inarrivals_gte

train_punctuality_daily

Train punctuality in Sweden per day

Train punctuality in Sweden per day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); arrivals (bigint); canceled (bigint); on_time_share (double); avg_delay_min (double).

Parametersdatelimitcursordate_gtedate_lte

weather_history

Weather per hour and station

Weather per hour and station. Returns a list of records; pass next_cursor to get the next page. Fields: station_id (varchar): SMHI station id; station (varchar); parameter (varchar): 1 temperature, 4 wind speed, 6 humidity, 7 precipitation; unit (varchar); observed_at (timestamptz); date (date): Day (Europe/Stockholm); value (double); quality (varchar): G checked, Y suspect (latest-hour data is not quality-controlled). Attribution required when the data is shown: Contains data from SMHI (Swedish Meteorological and Hydrological Institute), CC BY 4.0

Parametersdatelimitcursordate_gtedate_lteparameterstation_idrequiredparameter_instation_id_in

weather_now

Current weather per SMHI station

Current weather per SMHI station. Returns a list of records; pass next_cursor to get the next page. Fields: station_id (varchar): SMHI station id; station (varchar); latitude (double); longitude (double); parameter (varchar): 1 temperature, 4 wind speed, 6 humidity, 7 precipitation; parameter_name (varchar); unit (varchar); observed_at (timestamptz); value (double); quality (varchar): G checked, Y suspect (latest-hour data is not quality-controlled). Attribution required when the data is shown: Contains data from SMHI (Swedish Meteorological and Hydrological Institute), CC BY 4.0

Parameterslimitcursorparameterstation_idparameter_instation_id_in

web_agents

Swedish A2A agents

Swedish A2A agents. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); domain (varchar); tld (varchar): se or nu; name (varchar): Agent name; provider (varchar): Provider organisation; skill_count (integer): Number of skills; streaming (boolean): Supports streaming; url (varchar): Agent card URL. Attribution required when the data is shown: Source: Aleva (aleva.se), CC BY 4.0

Parameterstldlimitmonthcursordomaintld_inmonth_gtemonth_ltestreaming

web_ai_stance

AI and crawler stance of Swedish websites per month

AI and crawler stance of Swedish websites per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date): First of the sweep month; tld (varchar): se or nu; domains (bigint): Domains swept; reachable (bigint): Answered over HTTPS; has_robots (bigint): Had a real robots.txt; with_sitemap (bigint): robots.txt declares a sitemap; disallow_all (bigint): Disallow: / for all crawlers; ai_train_no (bigint): Opt out of AI training; ai_train_yes (bigint): Opt in to AI training; content_signal (bigint): Has a Content-Signal line; mentions_mcp (bigint): robots.txt mentions MCP; mentions_llms (bigint): robots.txt references llms.txt. Attribution required when the data is shown: Source: Aleva (aleva.se), CC BY 4.0

Parameterstldlimitmonthcursormonth_gtemonth_lte

web_apis

Swedish public APIs (OpenAPI)

Swedish public APIs (OpenAPI). Returns a list of records; pass next_cursor to get the next page. Fields: month (date): Sweep month; domain (varchar); tld (varchar): se or nu; title (varchar): API title; oas_version (varchar): OpenAPI/Swagger version; operations (integer): Number of operations; paths (integer): Number of paths; url (varchar): Spec URL. Attribution required when the data is shown: Source: Aleva (aleva.se), CC BY 4.0

Parameterstldlimitmonthcursordomaintld_inmonth_gtemonth_lteoas_version

web_commerce_agents

Swedish agentic commerce (UCP)

Swedish agentic commerce (UCP). Returns a list of records; pass next_cursor to get the next page. Fields: month (date); domain (varchar); tld (varchar): se or nu; platform (varchar): Platform (e.g. shopify); protocol_version (varchar): UCP version; capability_count (integer): Number of capabilities; mcp_endpoint (varchar): MCP endpoint, if any; url (varchar): Manifest URL. Attribution required when the data is shown: Source: Aleva (aleva.se), CC BY 4.0

Parameterstldlimitmonthcursordomaintld_inplatformmonth_gtemonth_lte

web_llms

llms.txt in Sweden

llms.txt in Sweden. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); domain (varchar); tld (varchar): se or nu; title (varchar): First heading; sections (integer): Number of sections; links (integer): Number of links; url (varchar): llms.txt URL. Attribution required when the data is shown: Source: Aleva (aleva.se), CC BY 4.0

Parameterstldlimitmonthcursordomaintld_inmonth_gtemonth_lte

web_mcp_registry

Swedish MCP servers (Aleva registry)

Swedish MCP servers (Aleva registry). Returns a list of records; pass next_cursor to get the next page. Fields: domain (varchar); tld (varchar): se or nu; name (varchar): Server name; description (varchar): Short description; url (varchar): MCP endpoint URL; transport (varchar): http | sse | stdio; tool_count (integer): Advertised tools (0 if not introspected); source (varchar): crawl | submitted; month (date): Snapshot month. Attribution required when the data is shown: Source: Aleva (aleva.se)

Parameterstldlimitcursordomainsourcetld_insource_insource_ne

web_mcp_servers

Swedish MCP, agent and API endpoints

Swedish MCP, agent and API endpoints. Returns a list of records; pass next_cursor to get the next page. Fields: domain (varchar); tld (varchar); kind (varchar): mcp | ucp | a2a | openapi | api-catalog | llms; url (varchar): The advertised endpoint; platform (varchar): Platform the manifest looks generated by, when known; detail (varchar): Protocol version / capabilities; month (date). Attribution required when the data is shown: Source: Aleva (aleva.se)

Parameterstldkindlimitcursorkind_inplatform

Version history

1
  1. v1.0.0LatestOct 16, 2026

Score

72% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts

    Publish an icon in the registry entry.

  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.