GradeAtlas MCP

v0.1.0
io.github.Aziz0346/gradeatlas Checked 2 days ago Published 17 days ago

Convert grades between 1,159 grading systems across 246 countries into the US 4.0 GPA scale.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

convert_grade

Convert one grade between two grading systems using the real band-standing logic (Bavarian formula for inverted scales, linear fallback), via the US 4.0 baseline. Give grading-system ids to read bands from the database, or max_scale/min_pass numbers for a numeric conversion.

ParameterTypeDescription
source_grade *stringGrade label (e.g. 'A', '8.5', 'First Class') in the source system
source_mappingsarraySource grade mappings to use directly, instead of the database
source_max_scalenumberSource scale maximum (e.g. 10 for India 10-point, 4 for US)
source_min_passnumberSource scale pass mark
source_system_idstringgrading_systems id for the source system
target_mappingsarrayTarget grade mappings to use directly, instead of the database
target_max_scalenumberTarget scale maximum
target_min_passnumberTarget scale pass mark
target_system_idstringgrading_systems id for the target system

get_us_equivalent

Convert grade points on any scale to a US GPA, with letter grade and honours classification.

ParameterTypeDescription
grade_points *numberGrade points on the source scale
grading_system_idstringgrading_systems id whose bands set the US equivalent
mappingsarrayGrade mappings to use directly, instead of the database
max_scalenumberSource scale maximum (default 4)
min_passnumberSource scale pass mark

gpa_to_percentage

Convert a GPA to a percentage (0-100) on its scale.

ParameterTypeDescription
gpa *numberGPA value
max_scalenumberScale maximum (default 4)

calculate_gpa

Calculate a weighted GPA from courses (grade, credits, weight regular/honors/ap/ib), optionally resolved against a grading system in the database using the real band logic.

ParameterTypeDescription
courses *array
grading_system_idstringgrading_systems id whose bands resolve course grades
scalestringScale to report the GPA on (default 4.0)

resolve_grading_scale

Resolve the applicable grading scale for an institution and/or country: institution override, then country profile, then global default, then a US 4.0 fallback — with confidence and an explanation.

ParameterTypeDescription
country_codestringTwo-letter country code (e.g. IN, DE, US)
institution_idstringinstitutions id

list_countries

List countries with their default grading scale.

ParameterTypeDescription
limitnumberMaximum countries to return (default 100, max 500)
regionstringFilter by region substring (e.g. Asia, Europe)

get_country_grading_systems

Get the grading systems for a country, with their grade mappings.

ParameterTypeDescription
country_code *stringTwo-letter country code (e.g. IN, DE, US)
include_mappingsbooleanInclude grade mappings for each system (default true)

get_grade_mappings

Get the grade-to-GPA mapping bands for one grading system.

ParameterTypeDescription
grading_system_id *stringgrading_systems id

search_universities

Search institutions, grading systems and institution candidates by name.

ParameterTypeDescription
query *stringSearch text (at least 2 characters)
limitnumberMaximum results per source (default 10, max 50)

get_institution

Get an institution's detail, its country, its grading override and its resolved grading scale.

ParameterTypeDescription
institution_idstringinstitutions id
slugstringInstitution slug (or name, as a fallback)

calculate_normalized_gpa

Normalize a raw grade with the SQL calculate_normalized_gpa function (piecewise band match on a grading-system version), with a TypeScript piecewise fallback when the SQL function is unavailable.

ParameterTypeDescription
raw_grade *stringRaw grade label or number (e.g. 'A', '8.5')
grading_system_idstringgrading_system_canonical id (resolved to its active version)
grading_system_version_idstringgrading_system_versions id
raw_percentnumberRaw percentage (0-100), used for numeric band matching

get_country_guide

Assemble a country grading guide: scale table with US 4.0 equivalents, conversion tables, FAQs, common mistakes and confidence/coverage stats.

ParameterTypeDescription
country_code *stringTwo-letter country code (e.g. IN, DE, US)