Bruno Ribeiro673 downloadsSuggests external links you have already used as you type a Markdown link.
Reuse the external links you've already written, without hunting for the URL again.
Start a Markdown link with [ and type part of its text. External Link Autocomplete suggests matching links from anywhere in your vault, and accepting one inserts the whole link: type [jira, press Enter, and get [Jira board](https://example.atlassian.net/…).

dataviewjs and scripts, and as MCP tools through Local REST API.[ followed by at least two characters of a link text you've used before.]), and the cursor moves to just after it.Press Esc to dismiss the suggestions. They stay closed until you start a new link.
[text](https://…) link in your notes becomes a suggestion, keyed by its text.[jira → "Jira board"), then at the start of any word ([board → "Jira board"), then looser matches. Case and accents don't matter: [cafe finds "Café".google-doc: "[GDocs - Plan](https://…)", are suggested like any other, and you get suggestions while typing a property value, in the Properties view or in Source mode. In Source mode the link is quoted as YAML needs. Turn it off with Include properties.[[ wikilinks, ![ images, [^ footnotes, - [ ] task boxes or code. Links are indexed in the background and kept up to date as you edit, rename and delete notes.Run Open link browser to see every external link in the vault, with how many notes use it. It opens in the sidebar at first; drag it into a tab or to the other sidebar, and it reopens wherever you left it.
Rename a link's text or change its URL in every note that uses it. Run Edit link across vault with the cursor on a link, right-click a link in a note, or right-click a row in the link browser or in a note's external links (long-press on mobile).
At the end of every note, an External links section lists the links the note uses, one row per URL, with its texts and how many notes in the vault use it. With Obsidian's "Backlink in document" on, it sits next to "Linked mentions" and "Unlinked mentions"; otherwise it follows the note's text. It works in Live Preview, Source mode and reading view.
Click a row to jump to the link, or its address to open it in your browser. Click the header to collapse it in every note. Turn it off with Show external links in notes.
For scripts, dataviewjs blocks and agents, the plugin has two methods that return the link index as plain data. The interface may still change.
const plugin = app.plugins.plugins["external-link-autocomplete"];
// Grouped like the link browser, with note counts instead of note lists.
plugin.query({ grouping: "url", filter: "github.com", onlyInconsistent: true, limit: 20 });
// → { indexing: false, total: 37, groups: [{ label, notes, variants: [{ text, url, notes }] }, …] }
// The sites you link to most, with their top 5 URLs each.
plugin.query({ grouping: "domain", limit: 10, variantLimit: 5 });
// One row per link per note: { text, url, domain, path, mtime }.
plugin.rows();
plugin.rows({ folder: ["daily/2026-10", "daily/2026-11"], domain: "github.com" });
query() options, all optional:
| Option | Values | Default |
|---|---|---|
grouping |
"url", "text", or "domain" (one group per site, its URLs as variants) |
"url" |
sort |
"notes", "name" or "recent" |
"notes" |
filter |
Text matched against link texts and URLs, ignoring case and accents | none |
onlyInconsistent |
Keep only groups with more than one variant (not with "domain") |
false |
minNotes |
Keep only groups used in at least this many notes | all |
limit |
Most groups to return; total still counts all of them |
all |
variantLimit |
Most variants per group; a group cut short has a variantCount |
all |
includePaths |
true to list each variant's notes, or a number to list at most that many |
false |
folder |
A folder or a list of folders: only links in notes under them count, so note counts and "only inconsistent" are worked out within those notes | whole vault |
domain |
A site or a list, including subdomains (github.com covers gist.github.com); * works as a wildcard. Only links to them count |
all |
rows() takes folder and domain too. An unknown option or invalid value throws an error. Right after Obsidian starts, the index is still being built: query() results then say indexing: true, and plugin.indexing tells rows() callers the same. rows() is the shape for SQL: in dataviewjs, dv.array(plugin.rows()) can filter, group and sort it, and outside Obsidian, DuckDB can query it once saved as JSON.
With Local REST API with MCP installed and enabled (version 5.3 or later), External Link Autocomplete adds two read-only tools to its MCP server, next to the built-in ones like vault_read and search_query. Any agent connected to that server can use them. Without Local REST API, the plugin works the same and registers nothing.
| Tool | What it returns |
|---|---|
external_links_query |
query() above, with the same options. limit defaults to 50 and variantLimit to 20. |
external_links_rows |
rows() above, with folder and domain, a page at a time: offset (default 0) and limit (default 500, at most 5000), returning { indexing, total, offset, rows }. |
For example, to find the URLs written with more than one text in October and November's daily notes:
{ "name": "external_links_query", "arguments": { "folder": ["daily/2026-10", "daily/2026-11"], "onlyInconsistent": true, "limit": 20 } }
/mcp), or call Local REST API's GET / with your API key: its apiExtensions list shows each extension's mcpTools.| Command | What it does |
|---|---|
| Open link browser | Opens the link browser, or reveals it if it's already open. |
| Edit link across vault | Edits the link under the cursor in every note. |
| Undo last link edit | Reverts the last vault-wide edit. Only shown when there's one to undo. |
| Rebuild link index | Scans the vault again. Only needed if suggestions look out of date. |
None has a default hotkey; assign one under Settings → Hotkeys.
| Setting | What it does |
|---|---|
| Minimum characters | How many characters after [ before suggestions appear. Default 2. |
| Ranking | Balanced (default), most used, or most recent. |
| When a text has several links | Show all (default), only the most recent, or only the most used. |
| Accept with tab | Tab inserts the selected suggestion, as Enter does. On by default. |
| Show note count | Shows how many notes use each link in the suggestions. |
| Show external links in notes | Lists a note's external links at its end. On by default. |
| Include properties | Suggests, lists and edits links in note properties too. On by default. |
| Ignored link texts | Texts that are never suggested. Defaults to here, link, this, source and click here. |
| Ignored domains | Domains that are never suggested. * matches anything, as in *.internal.example.com. |
| Excluded folders | Folders whose links are never suggested. |
| Rebuild index | Scans the vault again, like the Rebuild link index command. |
Everything stays on your device. The plugin reads your notes to build an in-memory index of the links in them, and makes no network requests: no telemetry, no favicons, no page-title fetching.
If you use Local REST API with MCP, the agents you connect to it can read that index through the MCP tools. They're served by Local REST API, on your machine and behind its API key; this plugin opens no port of its own.
From Obsidian: open Settings → Community plugins → Browse, search for "External Link Autocomplete", then install and enable it.
Manually: download main.js, manifest.json and styles.css from the latest release into <your vault>/.obsidian/plugins/external-link-autocomplete/, then enable the plugin under Settings → Community plugins.
Requires Obsidian 1.13 or later.
Obsidian shows one suggestion popup at a time. If another plugin also offers suggestions after a plain [, whichever plugin Obsidian asks first wins. External Link Autocomplete only claims a [ when it has suggestions to show, so it never blocks another plugin otherwise.
Bug reports and ideas are welcome in issues. For development, run make to list the commands; docs/design.md describes how the plugin works.