Walk Score · Capability

Walk Score Transit API — Scores

Walk Score Transit API — Scores. 1 operations. Lead operation: Get Transit Score. Self-contained Naftiko capability covering one Walk Score business surface.

Run with Naftiko Walk ScoreScores

What You Can Do

GET
Gettransitscore — Get Transit Score
/v1/transit/score

MCP Tools

get-transit-score

Get Transit Score

read-only idempotent

Capability Spec

transit-scores.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Walk Score Transit API — Scores
  description: 'Walk Score Transit API — Scores. 1 operations. Lead operation: Get Transit Score. Self-contained Naftiko capability
    covering one Walk Score business surface.'
  tags:
  - Walk Score
  - Scores
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WALK_SCORE_API_KEY: WALK_SCORE_API_KEY
capability:
  consumes:
  - type: http
    namespace: transit-scores
    baseUri: https://transit.walkscore.com
    description: Walk Score Transit API — Scores business capability. Self-contained, no shared references.
    resources:
    - name: transit-score
      path: /transit/score/
      operations:
      - name: gettransitscore
        method: GET
        description: Get Transit Score
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: wsapikey
          in: query
          type: string
          description: Your Walk Score API key
          required: true
        - name: lat
          in: query
          type: number
          description: Latitude to score
          required: true
        - name: lon
          in: query
          type: number
          description: Longitude to score
          required: true
        - name: city
          in: query
          type: string
          description: City name
          required: true
        - name: state
          in: query
          type: string
          description: Two-letter USPS state code (required for US cities)
        - name: country
          in: query
          type: string
          description: Two-letter ISO-3166 country code (required for non-US cities)
    authentication:
      type: apikey
      key: wsapikey
      value: '{{env.WALK_SCORE_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: transit-scores-rest
    port: 8080
    description: REST adapter for Walk Score Transit API — Scores. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/transit/score
      name: transit-score
      description: REST surface for transit-score.
      operations:
      - method: GET
        name: gettransitscore
        description: Get Transit Score
        call: transit-scores.gettransitscore
        with:
          wsapikey: rest.wsapikey
          lat: rest.lat
          lon: rest.lon
          city: rest.city
          state: rest.state
          country: rest.country
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: transit-scores-mcp
    port: 9090
    transport: http
    description: MCP adapter for Walk Score Transit API — Scores. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-transit-score
      description: Get Transit Score
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: transit-scores.gettransitscore
      with:
        wsapikey: tools.wsapikey
        lat: tools.lat
        lon: tools.lon
        city: tools.city
        state: tools.state
        country: tools.country
      outputParameters:
      - type: object
        mapping: $.