Skip to main content
Glama
arbetsformedlingen-mcp-server

arbetsformedlingen-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for HTTP mode.3000
TRANSPORTNoSet to `http` for HTTP/Streamable HTTP mode.stdio

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
af_search_jobsA

Search for job listings in the Swedish Public Employment Service (Arbetsförmedlingen) via the JobSearch API.

Supports free-text search, occupation filters, geographic filtering, and more.

Args:

  • q (string, optional): Free-text search. Example: "nurse part-time", "python developer"

  • occupation_name (string, optional): Occupation name to filter on. Example: "Software developer"

  • occupation_group (string, optional): Occupation group ID (retrieved via af_search_taxonomy)

  • occupation_field (string, optional): Occupation field ID (retrieved via af_search_taxonomy)

  • municipality (string, optional): Municipality code or name. Example: "0180" (Stockholm)

  • region (string, optional): Region/county code. Example: "01" (Stockholm county)

  • country (string, optional): Country code. Example: "199" (Sweden)

  • employer (string, optional): Organization number or employer name

  • experience (boolean, optional): true = requires experience, false = no experience required

  • limit (number, optional): Number of results, max 100 (default: 10)

  • offset (number, optional): Skip N results for pagination

  • detail (string, optional): "summary" = short summary (default), "full" = full job listing

Returns: List of matching job listings with title, employer, location, occupation and link.

Examples:

  • Search "python" in Stockholm → q="python", municipality="0180"

  • Part-time nurse listings → q="nurse", experience=false

af_get_jobA

Fetch a full job listing from Arbetsförmedlingen by its listing ID.

Listing IDs are found via af_search_jobs.

Args:

  • id (string): The job listing ID

Returns: Full job listing with description, requirements, contact details and application link.

af_autocompleteA

Fetch autocomplete suggestions for job listing searches.

Use this to find correct search terms before calling af_search_jobs.

Args:

  • q (string): Search term to complete, minimum 2 characters. Example: "nurs", "java dev"

  • contextual_q (string, optional): Existing search query that provides contextual suggestions

Returns: List of suggested search terms with occurrence counts.

af_stream_jobsA

Fetch real-time events (new, updated, and removed job listings) from the JobStream v2 API.

Ideal for keeping a local database in sync with the Swedish labour market. Events contain full listing data for new/updated ads, and ID-only for removed ads.

Args:

  • date (string): Fetch all events since this datetime (ISO 8601: "YYYY-MM-DDTHH:MM:SS"). Example: "2024-06-01T00:00:00". Note: large time ranges can return large volumes.

  • date_before (string, optional): Only fetch events before this datetime (ISO 8601). Defaults to now.

  • occupation_concept_id (string[], optional): Filter by occupation concept IDs from the taxonomy.

  • location_concept_id (string[], optional): Filter by location concept IDs from the taxonomy.

Returns: List of events since the given date. Removed listings are marked with removed=true.

af_search_historical_jobsA

Search among archived (historical) job listings from 2006 onwards via the Historical Job Ads API.

Same search parameters as af_search_jobs but targeting archived/closed listings. Excellent for labour market analysis, trend analysis and research.

Args:

  • q (string, optional): Free-text search

  • occupation_name (string, optional): Occupation name

  • occupation_group (string, optional): Occupation group ID

  • occupation_field (string, optional): Occupation field ID

  • municipality (string, optional): Municipality code

  • region (string, optional): Region/county code

  • employer (string, optional): Organization number

  • published_after (string, optional): ISO 8601 date, e.g. "2023-01-01"

  • published_before (string, optional): ISO 8601 date, e.g. "2023-12-31"

  • limit (number, optional): Number of results (default: 10, max: 100)

  • offset (number, optional): Pagination offset

  • detail (string, optional): "summary" or "full"

Returns: List of historical job listings with metadata.

af_enrich_job_textA

Analyse a job listing text with AI and extract relevant labour market terms.

Returns identified occupations, competencies, personal traits and geographies, each with a probability score (0.0–1.0) indicating how likely the term is requested by the employer. Closer to 1.0 = explicitly requested. Closer to 0.0 = mentioned but not required.

Args:

  • text (string): The job listing text to analyse (headline + description)

  • only_requested (boolean, optional): If true, only return terms above the classification threshold (default: false)

Returns: Identified occupations, competencies, traits and locations with probability scores.

af_synonym_dictionaryA

Fetch synonyms for labour market terms from the JobAd Enrichments synonym dictionary.

Useful for understanding how different spellings, plural/singular forms and synonyms are mapped to a common search concept in the job listing database.

Args:

  • q (string, optional): Filter by term or synonym. Leave empty for all.

  • concept_type (string, optional): Filter by type, e.g. "OCCUPATION", "COMPETENCE"

  • limit (number, optional): Number of results (default: 20)

Returns: List of terms with their synonyms.

af_search_job_linksA

Search job listings from the entire Swedish labour market via the JobAd Links API. Includes listings from private job sites in addition to the Public Employment Service.

Args:

  • q (string, optional): Free-text search

  • occupation_name (string, optional): Occupation name

  • occupation_group (string, optional): Occupation group ID

  • occupation_field (string, optional): Occupation field ID

  • municipality (string, optional): Municipality code

  • region (string, optional): Region/county code

  • country (string, optional): Country code (default: Sweden)

  • limit (number, optional): Number of results (default: 10, max: 100)

  • offset (number, optional): Pagination offset

Returns: List of job listings with source and link to the original posting.

af_education_to_occupationsA

Find which occupations a given education leads to via the JobEd Connect API.

The matching is based on learning objectives in education descriptions and the competencies that employers request in job listings.

Args:

  • education_id (string): The internal Susa-Navet education ID (e.g. "i.sv.ft001"). Use af_search_taxonomy or search /v1/educations to discover valid IDs.

  • limit (number, optional): Max number of occupation matches to return (default: 10, max: 50)

Returns: List of matched occupations with scores (where available).

af_occupation_to_educationsA

Find which educations best match an occupation via the JobEd Connect API.

Args:

  • occupation_id (string): Taxonomy concept ID for the occupation (e.g. "i46j_HmG_v64"). Use af_search_taxonomy with type "occupation-name" to find valid concept IDs.

  • limit (number, optional): Max number of education matches (default: 10, max: 50)

Returns: List of matched educations with scores and education codes (where available).

af_search_taxonomyA

Search all concepts (occupations, competencies, languages, driving licences, etc.) in the official taxonomy for the Swedish labour market.

Essential for finding the exact terms, concept_ids and types used when searching for job listings. For example, if a user asks for "programmer" you can search here and find the correct system term "Software developer".

You can filter on a specific type (e.g. "occupation-name", "skill", "language").

Once you have the ID of a concept, use af_get_taxonomy_concept to see how it relates to other concepts.

Common types:

  • occupation-name (occupation title, e.g. Nurse)

  • skill (competency/skill, e.g. Python)

  • occupation-field (occupation field, e.g. IT)

  • occupation-group (occupation group, broader category)

  • language (language, e.g. Swedish)

  • driving-licence (driving licence category, e.g. B)

Args:

  • q (string): Search query (e.g. "nurse" or "software developer").

  • type (string, optional): Restrict to a specific type (e.g. "occupation-name" or "skill").

  • limit (number, optional): Max number of results to return (default 20, max 100).

Returns: A list of matching concepts with their ID, preferred label and type.

af_get_taxonomy_conceptA

Fetch detailed information about a taxonomy concept including its hierarchical relations.

Shows parent (broader), child (narrower) and related concepts. Useful for navigating the occupation hierarchy (occupation-field → occupation-group → occupation-name).

Args:

  • concept_id (string): The concept ID from af_search_taxonomy

Returns: Detailed info about the concept including SSYK code and relations to other concepts.

af_list_taxonomy_typesA

List all concepts of a specific type in the taxonomy, e.g. all occupation fields or all regions.

Args:

  • type (string): Type to list. Common types: "occupation-field" (occupation fields, ~10 entries), "occupation-group" (occupation groups, ~100 entries), "region" (Swedish regions/counties), "country" (countries), "employment-type" (employment types), "driving-licence" (driving licence categories), "language" (languages)

  • include_deprecated (boolean, optional): Include deprecated concepts (default: false)

Returns: Complete list of all concepts of the given type.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 13 tools

Disambiguation4/5

Most tools have clearly distinct purposes (search, get-by-id, autocomplete, streaming, enrichment, taxonomy lookup). The main overlap is between af_search_jobs, af_search_job_links, and af_search_historical_jobs, which share nearly identical parameter sets, but the descriptions clearly delineate public listings vs. whole-market vs. archived.

Naming Consistency4/5

All tools share an 'af_' prefix and mostly follow a verb_noun pattern (search_jobs, get_job, stream_jobs, search_taxonomy, get_taxonomy_concept). Minor deviations exist: af_autocomplete and af_synonym_dictionary are noun-only, and the education/occupation mapping tools use an X_to_Y form rather than verb_noun.

Tool Count5/5

13 tools is well within the ideal range and each maps to a distinct API surface or capability (JobSearch, JobStream, Historical, JobAd Links, Enrichments, Taxonomy, JobEd Connect). No tool feels redundant or padded.

Completeness4/5

Coverage is strong: search, get-by-id, autocomplete, real-time sync, historical analysis, taxonomy browsing, synonym lookup, and education-occupation mapping are all present. Minor gaps exist, such as no get-by-id for JobAd Links results or historical listings, but core workflows are fully supported.

Maintenance

ActivityStale
ResponsivenessNo recent community issues