NASA · Capability

NASA NeoWs (Near Earth Object Web Service) API — Neo

NASA NeoWs (Near Earth Object Web Service) API — Neo. 3 operations. Lead operation: NASA Get near-Earth objects by date range. Self-contained Naftiko capability covering one Nasa business surface.

Run with Naftiko NasaNeo

What You Can Do

GET
Getneofeed — NASA Get near-Earth objects by date range
/v1/neo/rest/v1/feed
GET
Browseneos — NASA Browse the overall asteroid dataset
/v1/neo/rest/v1/neo/browse
GET
Getneobyid — NASA Look up a specific near-Earth object
/v1/neo/rest/v1/neo/{asteroid-id}

MCP Tools

nasa-get-near-earth-objects

NASA Get near-Earth objects by date range

read-only idempotent
nasa-browse-overall-asteroid-dataset

NASA Browse the overall asteroid dataset

read-only idempotent
nasa-look-up-specific-near

NASA Look up a specific near-Earth object

read-only idempotent

Capability Spec

neo-neo.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NASA NeoWs (Near Earth Object Web Service) API — Neo
  description: 'NASA NeoWs (Near Earth Object Web Service) API — Neo. 3 operations. Lead operation: NASA Get near-Earth objects
    by date range. Self-contained Naftiko capability covering one Nasa business surface.'
  tags:
  - Nasa
  - Neo
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NASA_API_KEY: NASA_API_KEY
capability:
  consumes:
  - type: http
    namespace: neo-neo
    baseUri: https://api.nasa.gov
    description: NASA NeoWs (Near Earth Object Web Service) API — Neo business capability. Self-contained, no shared references.
    resources:
    - name: neo-rest-v1-feed
      path: /neo/rest/v1/feed
      operations:
      - name: getneofeed
        method: GET
        description: NASA Get near-Earth objects by date range
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: start_date
          in: query
          type: string
          description: Start date for the search (YYYY-MM-DD). Defaults to today.
        - name: end_date
          in: query
          type: string
          description: End date for the search (YYYY-MM-DD). Defaults to 7 days after start.
        - name: api_key
          in: query
          type: string
          required: true
    - name: neo-rest-v1-neo-browse
      path: /neo/rest/v1/neo/browse
      operations:
      - name: browseneos
        method: GET
        description: NASA Browse the overall asteroid dataset
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
        - name: size
          in: query
          type: integer
        - name: api_key
          in: query
          type: string
          required: true
    - name: neo-rest-v1-neo-asteroid_id
      path: /neo/rest/v1/neo/{asteroid_id}
      operations:
      - name: getneobyid
        method: GET
        description: NASA Look up a specific near-Earth object
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: asteroid_id
          in: path
          type: string
          description: The SPK-ID of the asteroid.
          required: true
        - name: api_key
          in: query
          type: string
          required: true
  exposes:
  - type: rest
    namespace: neo-neo-rest
    port: 8080
    description: REST adapter for NASA NeoWs (Near Earth Object Web Service) API — Neo. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/neo/rest/v1/feed
      name: neo-rest-v1-feed
      description: REST surface for neo-rest-v1-feed.
      operations:
      - method: GET
        name: getneofeed
        description: NASA Get near-Earth objects by date range
        call: neo-neo.getneofeed
        with:
          start_date: rest.start_date
          end_date: rest.end_date
          api_key: rest.api_key
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/neo/rest/v1/neo/browse
      name: neo-rest-v1-neo-browse
      description: REST surface for neo-rest-v1-neo-browse.
      operations:
      - method: GET
        name: browseneos
        description: NASA Browse the overall asteroid dataset
        call: neo-neo.browseneos
        with:
          page: rest.page
          size: rest.size
          api_key: rest.api_key
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/neo/rest/v1/neo/{asteroid-id}
      name: neo-rest-v1-neo-asteroid-id
      description: REST surface for neo-rest-v1-neo-asteroid_id.
      operations:
      - method: GET
        name: getneobyid
        description: NASA Look up a specific near-Earth object
        call: neo-neo.getneobyid
        with:
          asteroid_id: rest.asteroid_id
          api_key: rest.api_key
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: neo-neo-mcp
    port: 9090
    transport: http
    description: MCP adapter for NASA NeoWs (Near Earth Object Web Service) API — Neo. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: nasa-get-near-earth-objects
      description: NASA Get near-Earth objects by date range
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: neo-neo.getneofeed
      with:
        start_date: tools.start_date
        end_date: tools.end_date
        api_key: tools.api_key
      outputParameters:
      - type: object
        mapping: $.
    - name: nasa-browse-overall-asteroid-dataset
      description: NASA Browse the overall asteroid dataset
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: neo-neo.browseneos
      with:
        page: tools.page
        size: tools.size
        api_key: tools.api_key
      outputParameters:
      - type: object
        mapping: $.
    - name: nasa-look-up-specific-near
      description: NASA Look up a specific near-Earth object
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: neo-neo.getneobyid
      with:
        asteroid_id: tools.asteroid_id
        api_key: tools.api_key
      outputParameters:
      - type: object
        mapping: $.