Skip to content

How do I retrieve every article with a tag?

Resolve the tag with list_tags and pass its ID to list_articles. Check the applied filter, then follow every cursor before claiming the collection is complete.

  1. Call list_tags using articles:read. Follow subsequent tag pages if necessary. Copy the ID of the intended tag.
  2. Call list_articles with that tag_id and a small limit. Confirm the tag appears in applied_filters. If it is missing, refresh the client’s tool schema.
  3. When has_more is true, pass next_cursor to the next call and keep all filters unchanged. A null total_count means an exact count was omitted.
  4. Use fetch on each returned URI where full text matters. Continue using content_next_offset while it is present. Publication or saving dates cannot establish when a tag was assigned.

Use search for text matches and describe_library for other accessible history collections. Try the release reading list.

Source files api/src/lib/mcpReadTools.ts, api/src/lib/mcpLibraryResources.ts.