Obsidian · Capability

Local REST API for Obsidian — Tags

Local REST API for Obsidian — Tags. 1 operations. Lead operation: Get a list of all tags with metadata.. Self-contained Naftiko capability covering one Obsidian business surface.

Run with Naftiko ObsidianTags

What You Can Do

GET
Get — Get a list of all tags with metadata.
/v1/tags

MCP Tools

get-list-all-tags-metadata

Get a list of all tags with metadata.

read-only idempotent

Capability Spec

local-rest-tags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Local REST API for Obsidian — Tags
  description: 'Local REST API for Obsidian — Tags. 1 operations. Lead operation: Get a list of all tags with metadata.. Self-contained
    Naftiko capability covering one Obsidian business surface.'
  tags:
  - Obsidian
  - Tags
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OBSIDIAN_API_KEY: OBSIDIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: local-rest-tags
    baseUri: https://{host}:{port}
    description: Local REST API for Obsidian — Tags business capability. Self-contained, no shared references.
    resources:
    - name: tags
      path: /tags/
      operations:
      - name: get
        method: GET
        description: Get a list of all tags with metadata.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.OBSIDIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: local-rest-tags-rest
    port: 8080
    description: REST adapter for Local REST API for Obsidian — Tags. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/tags
      name: tags
      description: REST surface for tags.
      operations:
      - method: GET
        name: get
        description: Get a list of all tags with metadata.
        call: local-rest-tags.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: local-rest-tags-mcp
    port: 9090
    transport: http
    description: MCP adapter for Local REST API for Obsidian — Tags. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-list-all-tags-metadata
      description: Get a list of all tags with metadata.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: local-rest-tags.get
      outputParameters:
      - type: object
        mapping: $.