Skip to content

Opml To Bookmarks Html MCP tool

MCP findutils:opml_to_bookmarks_html

Convert an OPML subscription or outline export (Feedly, Inoreader, NetNewsWire, podcast apps) into a Netscape bookmarks.html that Chrome, Firefox, Edge and Safari import. Each outline carrying an address becomes a bookmark titled with its text or title attribute, and folder outlines become nested bookmark folders. link_to "site" (default) uses the outline's htmlUrl, the site address, and falls back to the feed address (xmlUrl) when there is none; "feed" prefers xmlUrl. OPML 2.0 link outlines (type="link" with url) are kept. root_folder puts everything under one folder. Attribute names are matched case-insensitively, entities are decoded, and broken XML is refused with the parser's reason. Empty folders are left out unless include_empty_folders is true, and no feed is fetched or checked.

Needs an API key. Running a tool needs an API key. Keys are not for sale yet: ask for early access. About API keys

Arguments

application/json
  • input

    string required

    OPML (XML) text.

  • link_to

    string optional

    Which address each bookmark opens: "site" (default) for htmlUrl, falling back to xmlUrl; "feed" for xmlUrl, falling back to htmlUrl. One of site · feed. Default "site".

  • root_folder

    string optional

    Put every bookmark under one folder with this name. Default: none, so the OPML folders sit at the top level. Default "".

  • include_empty_folders

    boolean optional

    Also write folder outlines that hold no feed, as empty bookmark folders. Default false: they are left out and counted. Default false.

Example arguments

Verified
{
  "input": "<?xml version=\"1.0\"?>\n<opml version=\"2.0\"><head><title>Feeds</title></head><body><outline text=\"Tech\"><outline text=\"Example\" type=\"rss\" xmlUrl=\"https://example.com/feed.xml\" htmlUrl=\"https://example.com/\"/></outline></body></opml>\n"
}