Serveur MCP

Motley — NYC Neighborhoods, Schools & Admissions

nyc.motley/mcp
Éducation Cartes et localisation Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Finds, compares, and ranks NYC neighborhoods and schools, with admissions guidance, safety, activities, resources, and location lookup.

browse-schools
Find NYC schools citywide by what a family wants — borough, community school district (1-32), grade band (pre-K/elementary/middle/high), school type (public/charter/private), admissions method (zoned, screened, unscreened, limited unscreened, ed-opt, audition, SHSAT, charter lottery, private, universal pre-K), and program focus (arts, sports, STEM, language, academic, clubs). Use this when the family describes the KIND of school they want; use get-schools when you already have an nta_code and want everything in that neighborhood. Pass only the filters actually stated — at least one is required, and an invented one returns nothing. Program focus is tagged on public and charter schools only.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'default': 20, 'maximum': 50, 'minimum': 1, 'description': 'Max schools to return'}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 200, 'minimum': 0, 'description': 'Number of schools to skip, for paging'}, 'borough': {'enum': ['Manhattan', 'Brooklyn', 'Queens', 'Bronx', 'Staten Island'], 'type': 'string', 'description': 'Limit to one borough. Omit unless the family named one.'}, 'district': {'type': 'array', 'items': {'type': 'integer', 'maximum': 32, 'minimum': 1}, 'maxItems': 8, 'minItems': 1, 'description': "Community school district numbers, 1-32. A borough is NOT a district â\x80\x94 for 'schools in the Bronx' use `borough` and omit this. Never guess one."}, 'governance': {'type': 'array', 'items': {'enum': ['public', 'charter', 'private'], 'type': 'string'}, 'maxItems': 3, 'minItems': 1, 'description': 'School type. Omit unless the family named one.'}, 'grade_band': {'enum': ['prek', 'elementary', 'middle', 'high'], 'type': 'string', 'description': 'prek (K-12 schools that also run 3-K/pre-K), elementary (K-5), middle (6-8), high (9-12)'}, 'admissions_method': {'type': 'array', 'items': {'enum': ['zoned', 'unscreened', 'limited_unscreened', 'screened', 'ed_opt', 'audition', 'shsat', 'charter_lottery', 'private_admissions', 'prek_universal'], 'type': 'string'}, 'maxItems': 10, 'minItems': 1, 'description': 'How the school admits students; matches a school admitting by ANY listed method. Call get-admissions-methods or explain-admissions-method for what each one means.'}, 'program_categories': {'type': 'array', 'items': {'enum': ['academic', 'arts', 'sports', 'stem', 'language', 'extracurricular'], 'type': 'string'}, 'maxItems': 6, 'minItems': 1, 'description': "Program focus; matches a school offering ANY listed focus. 'arts' covers art, music, dance, drama and theater; 'extracurricular' means clubs. Tagged on public and charter schools ONLY."}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['total', 'returned', 'filters_applied', 'schools'], 'properties': {'total': {'type': 'number'}, 'schools': {'type': 'array', 'items': {'type': 'object', 'required': ['dbn', 'name', 'address', 'governance', 'grade_levels', 'district', 'neighborhood', 'nta_code', 'borough', 'slug'], 'properties': {'dbn': {'type': 'string'}, 'name': {'type': 'string'}, 'slug': {'type': ['string', 'null']}, 'address': {'type': ['string', 'null']}, 'borough': {'type': ['string', 'null']}, 'district': {'type': ['number', 'null']}, 'nta_code': {'type': ['string', 'null']}, 'programs': {'type': 'array', 'items': {'type': 'object', 'required': ['category', 'label', 'examples'], 'properties': {'label': {'type': 'string'}, 'category': {'type': 'string'}, 'examples': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}}, 'governance': {'type': ['string', 'null']}, 'grade_levels': {'type': ['string', 'null']}, 'neighborhood': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'returned': {'type': 'number'}, 'filters_applied': {'type': 'object', 'additionalProperties': {'type': 'string'}}}, 'additionalProperties': False}
compare-neighborhoods
Compare 2–6 NYC neighborhoods side by side across the 9 family-fit metrics (Family Fit, Families, Affordability, Schools, Neighborhood Character, Transit, Safety, Health, Activities). Pass an array of NTA codes; returns a per-metric matrix with each neighborhood's band and the per-metric leader.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_codes'], 'properties': {'nta_codes': {'type': 'array', 'items': {'type': 'string', 'maxLength': 6}, 'maxItems': 6, 'minItems': 2, 'description': '2â\x80\x936 NTA codes to compare side by side (from search-neighborhoods). Unscored codes are dropped.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['neighborhoods', 'metrics', 'scores_as_of'], 'properties': {'metrics': {'type': 'array', 'items': {'type': 'object', 'required': ['key', 'label', 'values', 'leader_nta_code'], 'properties': {'key': {'type': 'string'}, 'label': {'type': 'string'}, 'values': {'type': 'array', 'items': {'type': 'object', 'required': ['nta_code', 'score', 'band', 'phrase'], 'properties': {'band': {'type': 'string'}, 'score': {'type': ['number', 'null']}, 'phrase': {'type': 'string'}, 'nta_code': {'type': 'string'}}, 'additionalProperties': False}}, 'leader_nta_code': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'scores_as_of': {'type': ['string', 'null']}, 'neighborhoods': {'type': 'array', 'items': {'type': 'object', 'required': ['nta_code', 'nta_name', 'borough_name', 'slug'], 'properties': {'slug': {'type': ['string', 'null']}, 'nta_code': {'type': 'string'}, 'nta_name': {'type': ['string', 'null']}, 'borough_name': {'type': ['string', 'null']}}, 'additionalProperties': False}}}, 'additionalProperties': False}
explain-admissions-method
Explain one NYC admission entry point or method in full — the plain-English explainer, its typical deadline window, and, when the method asks a family for more than a ranked application, exactly what it requires (audition or portfolio, SHSAT registration, a demonstrated-interest sign-in, a private school's own test/interview track) plus the extra paperwork that comes with it. Pass a method key (shsat, audition, screened, ed_opt, limited_unscreened, unscreened, zoned, charter_lottery, private_admissions, prek_universal) or an early entry point (three-k, pre-k, kindergarten, gifted-talented).
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['method'], 'properties': {'method': {'type': 'string', 'description': 'An admission method key (shsat, audition, screened, ed_opt, limited_unscreened, unscreened, zoned, charter_lottery, private_admissions, prek_universal) OR an early entry point (three-k, pre-k, kindergarten, gifted-talented).'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['kind', 'key', 'label', 'short', 'full', 'typical_window'], 'properties': {'key': {'type': 'string'}, 'full': {'type': 'string'}, 'kind': {'enum': ['entry_point', 'method'], 'type': 'string'}, 'label': {'type': 'string'}, 'short': {'type': 'string'}, 'stage': {'type': 'string'}, 'program_count': {'type': 'number'}, 'typical_window': {'type': 'string'}, 'special_requirements': {'type': 'object', 'required': ['badge', 'headline', 'requirements', 'extra_documents'], 'properties': {'badge': {'type': 'string'}, 'headline': {'type': 'string'}, 'requirements': {'type': 'array', 'items': {'type': 'string'}}, 'extra_documents': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'required', 'notes'], 'properties': {'label': {'type': 'string'}, 'notes': {'type': 'string'}, 'required': {'type': 'boolean'}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'additionalProperties': False}
find-neighborhood
Find which NYC neighborhood (NTA) an address or coordinate is in. Pass a NYC address (geocoded via OpenStreetMap) OR lat+lng. Returns the NTA code, name, borough, and a decision-ready family-fit summary. Use this to turn a real-world location into a neighborhood you can pass to the other tools.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'lat': {'type': 'number', 'maximum': 40.92, 'minimum': 40.49, 'description': 'Latitude (NYC box). Provide with lng instead of an address.'}, 'lng': {'type': 'number', 'maximum': -73.68, 'minimum': -74.26, 'description': 'Longitude (NYC box). Provide with lat instead of an address.'}, 'address': {'type': 'string', 'minLength': 3, 'description': 'A NYC street address or place name (e.g. "350 5th Ave, Manhattan"). Geocoded via OpenStreetMap, NYC-bounded. Provide this OR lat+lng.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query', 'nta'], 'properties': {'nta': {'type': 'object', 'required': ['nta_code', 'nta_name', 'borough', 'borough_name', 'slug'], 'properties': {'slug': {'type': ['string', 'null']}, 'borough': {'type': ['number', 'null']}, 'nta_code': {'type': 'string'}, 'nta_name': {'type': ['string', 'null']}, 'borough_name': {'type': ['string', 'null']}}, 'additionalProperties': False}, 'query': {'type': 'object', 'required': ['address', 'lat', 'lng'], 'properties': {'lat': {'type': ['number', 'null']}, 'lng': {'type': ['number', 'null']}, 'address': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'additionalProperties': True}
get-activities
Get kids' activities and businesses in a neighborhood — classes, sports, arts, tutoring, etc. from Foursquare data. Use count_only for category breakdown, or limit/offset to page the full list (reports total/returned). Each place's last_refreshed is when we last verified it with Foursquare.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_code'], 'properties': {'limit': {'type': 'integer', 'default': 50, 'maximum': 200, 'minimum': 1, 'description': 'Max activities to return (ignored when count_only)'}, 'offset': {'type': 'integer', 'default': 0, 'minimum': 0, 'description': 'Number of activities to skip, for paging through the full list'}, 'nta_code': {'type': 'string', 'maxLength': 6, 'description': 'NTA code'}, 'count_only': {'type': 'boolean', 'default': False, 'description': 'Return only category counts'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['total'], 'properties': {'total': {'type': 'number'}}, 'additionalProperties': True}
get-admissions-demand
Get how competitive admission to one specific school is, program by program: seats vs. applicants, applicants-per-seat, offer/fill rate, and a family-readable competitiveness tier (Accessible / Competitive / Highly Competitive). Pass a school DBN (from get-schools). Sourced from MySchools — present mostly for screened/choice high-school programs; zoned, charter-lottery, and private schools usually have none.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['dbn'], 'properties': {'dbn': {'type': 'string', 'maxLength': 40, 'description': 'School DBN (e.g. 02M475 for Stuyvesant, 13K430 for Brooklyn Tech)'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['dbn', 'school_name', 'governance', 'note', 'programs'], 'properties': {'dbn': {'type': 'string'}, 'note': {'type': 'string'}, 'programs': {'type': 'array', 'items': {'type': 'object', 'required': ['program', 'method', 'seats', 'applicants', 'apps_per_seat', 'offer_rate', 'fill_rate', 'competitiveness', 'description'], 'properties': {'seats': {'type': ['number', 'null']}, 'method': {'type': ['string', 'null']}, 'program': {'type': ['string', 'null']}, 'fill_rate': {'type': ['number', 'null']}, 'applicants': {'type': ['number', 'null']}, 'offer_rate': {'type': ['number', 'null']}, 'description': {'type': ['string', 'null']}, 'apps_per_seat': {'type': ['number', 'null']}, 'competitiveness': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'governance': {'type': ['string', 'null']}, 'school_name': {'type': ['string', 'null']}}, 'additionalProperties': False}
get-admissions-methods
Get the full NYC school-admissions reference: every entry point from 3-K and Pre-K through Kindergarten, Gifted & Talented, and the 8 middle/high admission methods (SHSAT, audition, screened, Ed-Opt, limited unscreened, unscreened, zoned, charter lottery) — each with its typical application window. The methods carry a live program count plus a special_badge naming any extra ask beyond the standard application (an audition, a test, an open-house sign-in), null when there is none; optional band/governance filters narrow the count. Knowledge only.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'band': {'enum': ['middle', 'high'], 'type': 'string', 'description': 'Filter the MS/HS methods to one grade band'}, 'governance': {'enum': ['public', 'charter'], 'type': 'string', 'description': 'Filter the MS/HS program counts to public or charter schools'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['note', 'filters', 'entry_points', 'methods'], 'properties': {'note': {'type': 'string'}, 'filters': {'type': 'object', 'required': ['band', 'governance'], 'properties': {'band': {'type': ['string', 'null']}, 'governance': {'type': ['string', 'null']}}, 'additionalProperties': False}, 'methods': {'type': 'array', 'items': {'type': 'object', 'required': ['key', 'label', 'short', 'full', 'typical_window', 'program_count', 'special_badge'], 'properties': {'key': {'type': 'string'}, 'full': {'type': 'string'}, 'label': {'type': 'string'}, 'short': {'type': 'string'}, 'program_count': {'type': 'number'}, 'special_badge': {'type': ['string', 'null']}, 'typical_window': {'type': 'string'}}, 'additionalProperties': False}}, 'entry_points': {'type': 'array', 'items': {'type': 'object', 'required': ['key', 'label', 'stage', 'short', 'full', 'typical_window'], 'properties': {'key': {'type': 'string'}, 'full': {'type': 'string'}, 'label': {'type': 'string'}, 'short': {'type': 'string'}, 'stage': {'type': 'string'}, 'typical_window': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
get-comparable
Find neighborhoods most similar to a given one based on a 9-dimension score vector (family density, wealth, education, safety, transit, etc.). Returns similarity scores.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_code'], 'properties': {'limit': {'type': 'number', 'default': 5, 'maximum': 20, 'minimum': 1, 'description': 'Number of comparable neighborhoods'}, 'nta_code': {'type': 'string', 'maxLength': 6, 'description': 'NTA code to find similar neighborhoods for'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['source', 'comparables'], 'properties': {'source': {'type': 'object', 'required': ['nta_code', 'nta_name', 'borough', 'borough_name', 'viability_score', 'scores_as_of'], 'properties': {'borough': {'type': ['number', 'null']}, 'nta_code': {'type': 'string'}, 'nta_name': {'type': 'string'}, 'borough_name': {'type': ['string', 'null']}, 'scores_as_of': {'type': ['string', 'null']}, 'viability_score': {'type': 'number'}}, 'additionalProperties': False}, 'comparables': {'type': 'array', 'items': {'type': 'object', 'required': ['nta_code', 'nta_name', 'similarity'], 'properties': {'nta_code': {'type': 'string'}, 'nta_name': {'type': ['string', 'null']}, 'similarity': {'type': 'number'}}, 'additionalProperties': True}}}, 'additionalProperties': False}
get-neighborhood
Get full details for a single NYC neighborhood including demographics, raw 0-100 scores, location, and a family-readable interpretation (labeled score bands + cached editorial blurbs). Use the nta_code from search-neighborhoods.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_code'], 'properties': {'nta_code': {'type': 'string', 'maxLength': 6, 'description': 'NTA code (e.g. BK0101)'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_code', 'nta_name', 'borough', 'borough_name'], 'properties': {'borough': {'type': ['number', 'null']}, 'nta_code': {'type': 'string'}, 'nta_name': {'type': ['string', 'null']}, 'borough_name': {'type': ['string', 'null']}}, 'additionalProperties': True}
get-neighborhood-summary
Get a decision-ready, family-readable summary of one NYC neighborhood: a one-paragraph fit verdict, labeled score bands (e.g. 'Peace of Mind: strong (78/100)'), and cached editorial blurbs — with raw scores still available. The interpretation-first front door; start here when a family wants an answer, not a data dump.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_code'], 'properties': {'nta_code': {'type': 'string', 'maxLength': 6, 'description': 'NTA code (e.g. BK0101)'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_code', 'nta_name', 'borough', 'borough_name', 'summary'], 'properties': {'borough': {'type': ['number', 'null']}, 'summary': {'type': 'string'}, 'nta_code': {'type': 'string'}, 'nta_name': {'type': ['string', 'null']}, 'borough_name': {'type': ['string', 'null']}}, 'additionalProperties': True}
get-resources
Get family resource counts for a neighborhood: recreation centers, playgrounds, libraries, hospitals, farmers markets, ADA subway stations.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_code'], 'properties': {'nta_code': {'type': 'string', 'maxLength': 6, 'description': 'NTA code'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ntaCode'], 'properties': {'ntaCode': {'type': 'string'}}, 'additionalProperties': True}
get-safety
Get safety and health environment indicators for a neighborhood: crime complaints, collisions, HPD violations, air quality, lead levels, asthma rates — plus a family-readable interpretation of the Peace of Mind and Air & Water Quality scores.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_code'], 'properties': {'nta_code': {'type': 'string', 'maxLength': 6, 'description': 'NTA code'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ntaCode'], 'properties': {'ntaCode': {'type': 'string'}}, 'additionalProperties': True}
get-schools
Get schools within a neighborhood — public, charter, and private. Includes quality ratings, grade levels, contact info. Use count_only for a quick summary, or limit/offset to page the full list (the response reports total/returned).
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nta_code'], 'properties': {'limit': {'type': 'integer', 'default': 50, 'maximum': 200, 'minimum': 1, 'description': 'Max schools to return (ignored when count_only)'}, 'offset': {'type': 'integer', 'default': 0, 'minimum': 0, 'description': 'Number of schools to skip, for paging through the full list'}, 'nta_code': {'type': 'string', 'maxLength': 6, 'description': 'NTA code'}, 'count_only': {'type': 'boolean', 'default': False, 'description': 'Return only counts by governance type'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['total'], 'properties': {'total': {'type': 'number'}}, 'additionalProperties': True}
rank-neighborhoods
Rank NYC neighborhoods by what a family cares about. Pass per-metric weights (family density, schools, affordability, neighborhood character, transit, safety, air & water quality) and/or ranked priority keywords; optionally scope to one borough. Returns the top neighborhoods with a fit score and the metric breakdown — a deterministic weighted sort (the per-child Smart Match stays in the Motley app).
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'default': 10, 'maximum': 50, 'minimum': 1, 'description': 'How many top neighborhoods to return'}, 'borough': {'enum': ['Manhattan', 'Brooklyn', 'Queens', 'Bronx', 'Staten Island'], 'type': 'string', 'description': 'Restrict the ranking to one borough'}, 'weights': {'type': 'object', 'properties': {'safety_score': {'type': 'number', 'minimum': 0}, 'wealth_index': {'type': 'number', 'minimum': 0}, 'family_density': {'type': 'number', 'minimum': 0}, 'health_environment': {'type': 'number', 'minimum': 0}, 'education_orientation': {'type': 'number', 'minimum': 0}, 'transit_accessibility': {'type': 'number', 'minimum': 0}, 'neighborhood_stability': {'type': 'number', 'minimum': 0}}, 'description': 'Per-metric importance (0+; higher = matters more). Any subset; normalized internally. Overrides priorities when both are given.', 'additionalProperties': False}, 'priorities': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Ranked priority keywords, most important first â\x80\x94 e.g. ["safety","schools","affordability"]. Mapped to metric weights with rank decay (used only when `weights` is absent).'}, 'min_population': {'type': 'integer', 'default': 1000, 'minimum': 0, 'description': 'Residential floor â\x80\x94 drops parks/cemeteries/airports that score ~100 by having almost no residents (default 1000).'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['weights_used', 'scope', 'count', 'scores_as_of', 'neighborhoods'], 'properties': {'count': {'type': 'number'}, 'scope': {'type': 'object', 'required': ['borough'], 'properties': {'borough': {'type': ['string', 'null']}}, 'additionalProperties': False}, 'scores_as_of': {'type': ['string', 'null']}, 'weights_used': {'type': 'object', 'required': ['family_density', 'education_orientation', 'wealth_index', 'neighborhood_stability', 'transit_accessibility', 'safety_score', 'health_environment'], 'properties': {'safety_score': {'type': 'number', 'minimum': 0}, 'wealth_index': {'type': 'number', 'minimum': 0}, 'family_density': {'type': 'number', 'minimum': 0}, 'health_environment': {'type': 'number', 'minimum': 0}, 'education_orientation': {'type': 'number', 'minimum': 0}, 'transit_accessibility': {'type': 'number', 'minimum': 0}, 'neighborhood_stability': {'type': 'number', 'minimum': 0}}, 'additionalProperties': False}, 'neighborhoods': {'type': 'array', 'items': {'type': 'object', 'required': ['rank', 'nta_code', 'nta_name', 'borough_name', 'slug', 'fit_score', 'scores'], 'properties': {'rank': {'type': 'number'}, 'slug': {'type': ['string', 'null']}, 'scores': {'type': 'object', 'required': ['family_density', 'education_orientation', 'wealth_index', 'neighborhood_stability', 'transit_accessibility', 'safety_score', 'health_environment'], 'properties': {'safety_score': {'$ref': '#/properties/weights_used/properties/safety_score'}, 'wealth_index': {'$ref': '#/properties/weights_used/properties/wealth_index'}, 'family_density': {'$ref': '#/properties/weights_used/properties/family_density'}, 'health_environment': {'$ref': '#/properties/weights_used/properties/health_environment'}, 'education_orientation': {'$ref': '#/properties/weights_used/properties/education_orientation'}, 'transit_accessibility': {'$ref': '#/properties/weights_used/properties/transit_accessibility'}, 'neighborhood_stability': {'$ref': '#/properties/weights_used/properties/neighborhood_stability'}}, 'additionalProperties': False}, 'nta_code': {'type': 'string'}, 'nta_name': {'type': ['string', 'null']}, 'fit_score': {'type': 'number'}, 'borough_name': {'type': ['string', 'null']}}, 'additionalProperties': False}}}, 'additionalProperties': False}
search-neighborhoods
Search and filter NYC neighborhoods by borough or name. Returns NTA codes, names, boroughs, and centroid coordinates.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number', 'default': 20, 'maximum': 50, 'minimum': 1, 'description': 'Max results'}, 'query': {'type': 'string', 'description': 'Search NTA name (case-insensitive)'}, 'borough': {'enum': ['Manhattan', 'Brooklyn', 'Queens', 'Bronx', 'Staten Island'], 'type': 'string', 'description': 'Filter by borough'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['count', 'neighborhoods'], 'properties': {'count': {'type': 'number', 'description': 'Number of neighborhoods returned'}, 'neighborhoods': {'type': 'array', 'items': {'type': 'object', 'required': ['nta_code', 'nta_name', 'borough', 'borough_name'], 'properties': {'lat': {'type': ['number', 'null']}, 'lng': {'type': ['number', 'null']}, 'slug': {'type': ['string', 'null']}, 'borough': {'type': ['number', 'null']}, 'nta_code': {'type': 'string'}, 'nta_name': {'type': ['string', 'null']}, 'borough_name': {'type': ['string', 'null']}}, 'additionalProperties': True}}}, 'additionalProperties': False}
Ajouté
get-admissions-demand
17 September 2026 12:54
Ajouté
explain-admissions-method
17 September 2026 12:54
Ajouté
get-admissions-methods
17 September 2026 12:54
Ajouté
compare-neighborhoods
17 September 2026 12:54
Ajouté
rank-neighborhoods
17 September 2026 12:54
Ajouté
find-neighborhood
17 September 2026 12:54
Ajouté
get-comparable
17 September 2026 12:54
Ajouté
get-safety
17 September 2026 12:54
Ajouté
get-activities
17 September 2026 12:54
Ajouté
get-resources
17 September 2026 12:54
Ajouté
browse-schools
17 September 2026 12:54
Ajouté
get-schools
17 September 2026 12:54
Ajouté
get-neighborhood-summary
17 September 2026 12:54
Ajouté
get-neighborhood
17 September 2026 12:54
Ajouté
search-neighborhoods
17 September 2026 12:54