Save the URL in Finder as a bookmark via Automator
You could install tag with for example brew install tag and then use a script like this:

set tags to text returned of (display dialog "" default answer "")
tell application "Safari" to tell document 1 to set {u, t} to {URL, name}
tell application "Finder"
    make new internet location file at POSIX file "/Users/username/Bookmarks" to u with properties {name:t}
    set p to POSIX path of (result as alias)
end tell
do shell script "/usr/local/bin/tag -s " &amp; quoted form of tags &amp; " " &amp; quoted form of p


For Chrome, use tell application "Google Chrome" to tell tab 1 of window 1 to set {u, t} to {URL, title}. Separate the tags with commas in the dialog.