Skip to main content

MCP server for the Link personal knowledge wiki — search, context, and graph traversal

Project description

link-mcp

MCP server for the Link personal knowledge wiki.

Exposes your wiki as MCP tools so any MCP-compatible agent can search, query context, and traverse the knowledge graph without reading files directly.

Install

pip install link-mcp

Setup

  1. Install Link and scaffold your wiki:
git clone https://github.com/gowtham0992/link.git
bash link/integrations/kiro/install.sh
  1. Add to your MCP client config:
{
  "mcpServers": {
    "link": {
      "command": "python3",
      "args": ["-m", "link_mcp"]
    }
  }
}

Or with a custom wiki path:

{
  "mcpServers": {
    "link": {
      "command": "python3",
      "args": ["-m", "link_mcp", "--wiki", "/path/to/wiki"]
    }
  }
}

Tools

Tool Description
search_wiki Ranked search by title, alias, tag, fulltext
get_context Topic + full graph neighborhood in one call
get_pages List all pages with metadata
get_backlinks Inbound + forward links for a page
get_graph All nodes + edges
rebuild_backlinks Rebuild the link index

Wiki location

By default uses ~/link/wiki/. Override with --wiki /path/to/wiki.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

link_mcp-1.0.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

link_mcp-1.0.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page