parseapi-mcp 1.11.4 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -234,7 +234,7 @@ MIT licensed.
234
234
 
235
235
  ## Optional detail
236
236
 
237
- Country Core contains the everyday reference: `name`, `name_full`, `name_local`, demonym, `iso_alpha3` and `iso_numeric` country identifiers, continent, region and subregion, currency, calling code, `flag`, language and timezone codes, borders, bloc memberships and `capital: { name, lat, lon }`. Paid Deep adds specialist detail, including population, total area and national statistics. `gdp_usd` and `gdp_per_capita_usd` are current US dollars; `population_growth_percent`, `urban_population_percent` and `internet_users_percent` use a 0–100 percent scale (growth can be negative or exceed 100). GDP per person and these three percentages round once to two decimals in the API response. `elevation_average` is average terrain elevation in meters; `lowest_point.elevation` and `highest_point.elevation` keep their point-specific meaning. Unknown stays null and a known zero stays zero. Country tax references are grouped once as `deep.tax: { name, rate }`; the rate remains a percentage. Read capital from the Core object and read the tax name and rate from the Deep tax object.
237
+ Country Core contains the everyday reference: `name`, `name_full`, `name_local`, demonym, `iso_alpha3` and `iso_numeric` country identifiers, continent, region and subregion, currency, calling code, `flag`, language and timezone codes, borders, bloc memberships and `capital: { name, latitude, longitude }`. Paid Deep adds specialist detail, including population, total area and national statistics. `gdp_usd` and `gdp_per_capita_usd` are current US dollars; `population_growth_percent`, `urban_population_percent` and `internet_users_percent` use a 0–100 percent scale (growth can be negative or exceed 100). GDP per person and these three percentages round once to two decimals in the API response. `elevation_average` is average terrain elevation in meters; `lowest_point.elevation` and `highest_point.elevation` keep their point-specific meaning. Unknown stays null and a known zero stays zero. Country tax references are grouped once as `deep.tax: { name, rate }`; the rate remains a percentage. Read capital from the Core object and read the tax name and rate from the Deep tax object.
238
238
 
239
239
  Start with the default tool call. Use the same tool with `deep: true` for richer facts. Time, Date, Language, Emoji, Phone and Point include detail on every plan. Geographic profiles, Name evidence and NAICS definitions require a paid plan. Carrier and HLR detail stays inside the same metered core unit, including Free allowance units, with no additional charge or second gate.
240
240
 
@@ -321,3 +321,9 @@ Coverage by country and available fields is described at https://parseapi.com/ci
321
321
 
322
322
 
323
323
  Conditional `If-None-Match` reads and GeoJSON currently use HTTP directly. A matching City ETag returns 304 without a body; ordinary billing and rate limits apply. These JSON client methods do not supply conditional-cache handling.
324
+
325
+ ## Capital coordinate migration
326
+
327
+ Country and State capital coordinates use `latitude` and `longitude`. Update
328
+ `capital.lat` and `capital.lon` reads to `capital.latitude` and
329
+ `capital.longitude` when adopting this release.
@@ -472,11 +472,11 @@ var agent_catalog_default = {
472
472
  "capital.name": {
473
473
  null: "Selected capital name unavailable"
474
474
  },
475
- "capital.lat": {
475
+ "capital.latitude": {
476
476
  null: "Selected capital latitude unavailable",
477
477
  zero: "Known latitude at the equator"
478
478
  },
479
- "capital.lon": {
479
+ "capital.longitude": {
480
480
  null: "Selected capital longitude unavailable",
481
481
  zero: "Known longitude at the prime meridian"
482
482
  }
@@ -2249,7 +2249,7 @@ function registerBulk(server, key, transport) {
2249
2249
  // package.json
2250
2250
  var package_default = {
2251
2251
  name: "parseapi-mcp",
2252
- version: "1.11.4",
2252
+ version: "1.12.1",
2253
2253
  mcpName: "com.parseapi/mcp",
2254
2254
  description: "Official ParseAPI MCP server. Look up places, addresses, company numbers, email, phone, weather, dates and more.",
2255
2255
  keywords: [
@@ -2299,7 +2299,7 @@ var package_default = {
2299
2299
  dependencies: {
2300
2300
  "@modelcontextprotocol/node": "^2.0.0",
2301
2301
  "@modelcontextprotocol/server": "^2.0.0",
2302
- "@parseapi/sdk": "^1.12.6",
2302
+ "@parseapi/sdk": "^1.13.1",
2303
2303
  zod: "^4.0.0"
2304
2304
  },
2305
2305
  devDependencies: {
@@ -2381,7 +2381,7 @@ function cityCollectionArguments(args) {
2381
2381
  romanized: args.romanized || void 0
2382
2382
  };
2383
2383
  }
2384
- var languageTools = /* @__PURE__ */ new Set(["ip", "ip_self", "asn", "company", "continent", "continent_countries", "country", "country_states", "state", "state_districts", "district", "city", "city_id", "city_search", "city_nearest", "city_nearby", "postal", "postal_nearby", "postal_distance", "language", "date", "time", "timezone", "emoji", "emoji_search", "emoji_browse", "emoji_parse", "emoji_catalog", "point", "city_list", "city_nearby_coordinates", "city_children", "city_ancestors", "city_siblings"]);
2384
+ var languageTools = /* @__PURE__ */ new Set(["ip", "ip_self", "asn", "company", "continent", "continent_countries", "country", "country_states", "state", "state_districts", "district", "city", "city_id", "city_search", "city_nearest", "city_nearby", "postal", "postal_nearby", "postal_distance", "currency", "language", "date", "time", "timezone", "emoji", "emoji_search", "emoji_browse", "emoji_parse", "emoji_catalog", "point", "city_list", "city_nearby_coordinates", "city_children", "city_ancestors", "city_siblings"]);
2385
2385
  var displayLanguage = z5.string().min(2).max(64).optional().describe("Optional display language, such as fr or zh-Hant. IDs, numeric values and input parsing stay unchanged.");
2386
2386
  var emojiFilters = {
2387
2387
  limit: z5.number().int().min(1).max(50).optional().describe("Maximum results per page."),
@@ -2478,7 +2478,7 @@ function buildServer(key, transport, options = {}) {
2478
2478
  );
2479
2479
  tool(
2480
2480
  "country",
2481
- "Country everyday reference: name, name_full, name_local, demonym, iso_alpha3 and iso_numeric identifiers, continent, region and subregion, currency, languages, calling code, flag, timezones, borders, bloc memberships and capital object (name, lat, lon). Paid Deep adds population, total area and national statistics (gdp_usd, gdp_per_capita_usd, population_growth_percent, urban_population_percent and internet_users_percent), geography including elevation_average in meters, and a tax reference object (name, rate) and locale conventions. Unknown values stay null.",
2481
+ "Country everyday reference: name, name_full, name_local, demonym, iso_alpha3 and iso_numeric identifiers, continent, region and subregion, currency, languages, calling code, flag, timezones, borders, bloc memberships and capital object (name, latitude, longitude). Paid Deep adds population, total area and national statistics (gdp_usd, gdp_per_capita_usd, population_growth_percent, urban_population_percent and internet_users_percent), geography including elevation_average in meters, and a tax reference object (name, rate) and locale conventions. Unknown values stay null.",
2482
2482
  { code: iso2("country code"), deep: deep.describe("Include the complete detail bag on a paid plan.") },
2483
2483
  (c, a, request) => c.country(a.code, { ...request, deep: a.deep })
2484
2484
  );
@@ -3111,6 +3111,25 @@ function buildServer(key, transport, options = {}) {
3111
3111
  { text: z5.string().max(16e3), direction: z5.enum(["to_shortcodes", "to_emoji"]), shortcode_source: z5.enum(["cldr", "github", "slack", "discord"]) },
3112
3112
  (c, a, request) => c.emoji.convert(a.text, { ...request, direction: a.direction, shortcodeSource: a.shortcode_source })
3113
3113
  );
3114
+ tool(
3115
+ "currency",
3116
+ "Currency numeric code, names, symbols, decimal places and country references, all included in the ordinary lookup.",
3117
+ { code: z5.string().describe("ISO 4217 code, e.g. USD") },
3118
+ (c, a, request) => c.currency(a.code, request)
3119
+ );
3120
+ tool(
3121
+ "currency_rate",
3122
+ "Reference exchange rate between two currencies. Pass date for a past business day, amount to convert.",
3123
+ {
3124
+ base: z5.string().describe("Base currency ISO 4217 code, e.g. USD"),
3125
+ quote: z5.string().describe("Quote currency ISO 4217 code, e.g. EUR"),
3126
+ date: z5.string().optional().describe(
3127
+ "YYYY-MM-DD. Official rate for that business day. A weekend or holiday resolves to the last published day on or before it"
3128
+ ),
3129
+ amount: z5.number().optional().describe("Appends amount and converted, rounded to the quote currency minor-unit digits")
3130
+ },
3131
+ (c, a, request) => c.currency.rate(a.base, a.quote, { ...request, date: a.date, amount: a.amount })
3132
+ );
3114
3133
  registerDiscovery(server, operations, mode, API_VERSION);
3115
3134
  registerPreflight(server, parse, transport);
3116
3135
  registerTasks(server, parse, transport);
package/dist/http.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  buildServer,
4
4
  catalogMode
5
- } from "./chunk-75AQNY3K.js";
5
+ } from "./chunk-MOT2A4X3.js";
6
6
 
7
7
  // src/http.ts
8
8
  import { createServer } from "http";
package/dist/registry.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  VERSION,
4
4
  buildServer
5
- } from "./chunk-75AQNY3K.js";
5
+ } from "./chunk-MOT2A4X3.js";
6
6
  export {
7
7
  VERSION,
8
8
  buildServer
package/dist/stdio.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  buildServer,
4
4
  catalogMode
5
- } from "./chunk-75AQNY3K.js";
5
+ } from "./chunk-MOT2A4X3.js";
6
6
 
7
7
  // src/stdio.ts
8
8
  import { serveStdio } from "@modelcontextprotocol/server/stdio";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parseapi-mcp",
3
- "version": "1.11.4",
3
+ "version": "1.12.1",
4
4
  "mcpName": "com.parseapi/mcp",
5
5
  "description": "Official ParseAPI MCP server. Look up places, addresses, company numbers, email, phone, weather, dates and more.",
6
6
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  "dependencies": {
51
51
  "@modelcontextprotocol/node": "^2.0.0",
52
52
  "@modelcontextprotocol/server": "^2.0.0",
53
- "@parseapi/sdk": "^1.12.6",
53
+ "@parseapi/sdk": "^1.13.1",
54
54
  "zod": "^4.0.0"
55
55
  },
56
56
  "devDependencies": {