Linguatools · Capability

Linguatools Collocations API

The Linguatools Collocations API provides access to a dictionary of more than 2 million English collocations. It returns collocations for a query word filtered by syntactic relation, part of speech, and a minimum significance score, with up to three example sentences per collocation. The API is distributed via RapidAPI.

Run with Naftiko LinguatoolsAPI

What You Can Do

GET
Getcollocations — Get collocations for a word
/

MCP Tools

getcollocations

Get collocations for a word

read-only idempotent

Capability Spec

linguatools-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Linguatools Collocations API
  description: The Linguatools Collocations API provides access to a dictionary of more than 2 million English collocations.
    It returns collocations for a query word filtered by syntactic relation, part of speech, and a minimum significance score,
    with up to three example sentences per collocation. The API is distributed via RapidAPI.
  tags:
  - Linguatools
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: linguatools
    baseUri: https://linguatools-collocations.p.rapidapi.com
    description: Linguatools Collocations API HTTP API.
    authentication:
      type: apikey
      in: header
      name: X-RapidAPI-Key
      value: '{{LINGUATOOLS_TOKEN}}'
    resources:
    - name: resource
      path: /
      operations:
      - name: getcollocations
        method: GET
        description: Get collocations for a word
        inputParameters:
        - name: query
          in: query
          type: string
          required: true
          description: The query word (case-insensitive).
        - name: lang
          in: query
          type: string
          required: true
          description: ISO 639-1 language code. Currently only `en` is supported.
        - name: relation
          in: query
          type: string
          description: 'Syntactic relation type (case-sensitive). Examples include `V:obj:N` (verb-object), `N:mod:Adj` (noun-adjective
            modifier), `Adj:mod:N`, `V:subj:N`, `N:prep:N`, '
        - name: min_sig
          in: query
          type: integer
          description: Minimum significance threshold. Values must be 100 or greater.
        - name: pos
          in: query
          type: string
          description: Part of speech filter (v2 only). One of `V` (verb), `Vinf` (infinitive verb), `N` (noun), `Adj` (adjective),
            `Adv` (adverb).
        - name: X-RapidAPI-Key
          in: header
          type: string
          required: true
          description: Your RapidAPI subscription key.
        - name: X-RapidAPI-Host
          in: header
          type: string
          required: true
          description: Must be set to `linguatools-collocations.p.rapidapi.com`.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: linguatools-rest
    description: REST adapter for Linguatools Collocations API.
    resources:
    - path: /
      name: getcollocations
      operations:
      - method: GET
        name: getcollocations
        description: Get collocations for a word
        call: linguatools.getcollocations
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    port: 9090
    namespace: linguatools-mcp
    transport: http
    description: MCP adapter for Linguatools Collocations API for AI agent use.
    tools:
    - name: getcollocations
      description: Get collocations for a word
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: linguatools.getcollocations
      with:
        query: tools.query
        lang: tools.lang
        relation: tools.relation
        min_sig: tools.min_sig
        pos: tools.pos
      inputParameters:
      - name: query
        type: string
        description: The query word (case-insensitive).
        required: true
      - name: lang
        type: string
        description: ISO 639-1 language code. Currently only `en` is supported.
        required: true
      - name: relation
        type: string
        description: 'Syntactic relation type (case-sensitive). Examples include `V:obj:N` (verb-object), `N:mod:Adj` (noun-adjective
          modifier), `Adj:mod:N`, `V:subj:N`, `N:prep:N`, '
      - name: min_sig
        type: integer
        description: Minimum significance threshold. Values must be 100 or greater.
      - name: pos
        type: string
        description: Part of speech filter (v2 only). One of `V` (verb), `Vinf` (infinitive verb), `N` (noun), `Adj` (adjective),
          `Adv` (adverb).
      outputParameters:
      - type: object
        mapping: $.
binds:
- namespace: env
  keys:
    LINGUATOOLS_TOKEN: LINGUATOOLS_TOKEN