linda-mcp
Enables AI models to search and retrieve legal documents, magazine issues, comments, and related references from the Linde database (linda.lindeverlag.at) using the Model Context Protocol.
README
Linde MCP Server
Ein MCP (Model Context Protocol) Server, der KI-Modellen Zugriff auf linda.lindeverlag.at (Linde Datenbank) gibt. Suche, Dokument-Volltext, Ausgaben-Inhaltsverzeichnisse, Kommentare und See-Also-Verweise über stdio.
Wichtig: Linda nutzt IP-basierten Zugriff (z.B. WU-Wien-Netz, VPN). Es ist kein Login erforderlich — der MCP-Server muss einfach vom WU-Netz aus erreichbar sein.
Features
- Suche: Volltextsuche über
linda.lindeverlag.at/SearchResults/mit Paginierung, Sortierung (Relevanz/Datum) und Filter (My/All, Archiv). - Autocomplete: Vorschläge über
search/autocompletesuggestions. - Dokument-Volltext: Titel, Autor, Literaturquelle, Rechtsnorm-Verweise, Literaturverzeichnis und Volltext.
- Ausgabe (Magazin): Inhaltsverzeichnis gruppiert nach Sektionen.
- Kommentare: Liste der verfügbaren Kommentare (My/All).
- See-Also: Verwandte Rechtsnormen, Literatur und Judikatur.
- Auth-Status & Cookie-Set: Optional — für hinter Paywall liegende Inhalte können manuell Cookies gesetzt werden.
Konfiguration & Zugang
Linda ist über IP autorisiert (z.B. WU-Wien-Campus-Netz, eduroam, oder VPN zum WU-Netz). Keine Credentials nötig.
Optionale Cookie-Authentifizierung (für Premium-Inhalte):
- Environment Variable:
LINDA_COOKIE="DbSessionVWINASP02=...; bis_logonguid=..." - Command Line Flag:
--cookie "DbSessionVWINASP02=...; bis_logonguid=..."
Cookie-Werte aus dem Browser: DevTools → Application → Cookies → linda.lindeverlag.at und .lindeverlag.at.
Installation & Running
Direkt via npx (empfohlen)
npx -y github:blueqwertz/linda-mcp
Mit Cookie:
LINDA_COOKIE="DbSessionVWINASP02=...; bis_logonguid=..." npx -y github:blueqwertz/linda-mcp
Lokale Entwicklung
git clone https://github.com/blueqwertz/linda-mcp.git
cd linda-mcp
npm install
npm run build # TypeScript -> dist/
npm start # Startet den MCP-Server
Im Dev-Modus mit Hot-Reload:
npm run dev # tsx src/index.ts
Smoke-Test (6 Tests gegen die Live-Site, benötigt IP-Zugriff auf linda.lindeverlag.at):
npx tsx test.ts
Integration mit AI-Agents
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"linda-mcp": {
"command": "npx",
"args": ["-y", "github:blueqwertz/linda-mcp"]
}
}
}
Mit Cookie:
{
"mcpServers": {
"linda-mcp": {
"command": "npx",
"args": ["-y", "github:blueqwertz/linda-mcp"],
"env": {
"LINDA_COOKIE": "DbSessionVWINASP02=...; bis_logonguid=..."
}
}
}
}
Claude Code
claude mcp add linda-mcp -- npx -y github:blueqwertz/linda-mcp
OpenCode
opencode.json/opencode.jsonc:
{
"mcp": {
"linda-mcp": {
"type": "local",
"command": ["npx", "-y", "github:blueqwertz/linda-mcp"],
"enabled": true
}
}
}
Codex
~/.codex/config.toml:
[mcp_servers.linda-mcp]
command = "npx"
args = ["-y", "github:blueqwertz/linda-mcp"]
Exposed Tools
linda_search
Durchsucht die Linde Datenbank.
- Arguments:
query(string, required): Suchbegriff.skip(number, default 0): Offset für Paginierung (0, 20, 40, ...).limit(number, default 20, max 20): Max Treffer.sort("Rank"|"Date", default"Rank").place("My"|"All", default"My").includingArchive(bool, default false).
- Returns:
{query, skip, nextSkip, results: [{id, titel, beschreibung, vorschau, link, listPos}], totalCount?, hasMore}
linda_autocomplete
- Arguments:
query(string, required). - Returns:
{query, count, suggestions: [{text, isLastSearch}]}
linda_get_document
- Arguments:
id(string, required): Dokument-ID ("18729") oder URL.includeVolltext(bool, default true).maxVolltextLength(number, default 50000).
- Returns:
{id, titel, autor?, literaturQuelle?, rechtsnormVerweise: [{id,label,link}], literatur: string[], volltext?, meta, link}
linda_get_issue
- Arguments:
id(string, required): Ausgabe-ID ("WWK77SH6EQ") oder URL. - Returns:
{id, titel, jahr?, ausgabeNr?, sectionCount, articleCount, sektionen: [{name, dokumente: [{id,titel,beschreibung?,link}]}]}
linda_get_see_also
- Arguments:
id(string, required). - Returns:
{id, summary, rechtsnormen: [...], literatur: [...], judikatur: [...], sonstiges: [...]}
linda_list_kommentare
- Arguments:
place("My"|"All", default"My"). - Returns:
{place, count, kommentare: [{bookId, titel, link}]}
linda_auth_status
- Arguments: keine.
- Returns:
{authenticated, statusCode, url, cookiesSet, note}
linda_set_cookie
- Arguments:
cookie(string, required):"name1=val1; name2=val2; ...". - Returns:
{cookieSet, cookiesStored, note}
Architektur
src/
├── index.ts # CLI-Parsing, McpServer, stdio transport
├── client.ts # LindaClient: HTTP + CookieJar wrapper
├── auth.ts # CookieJar (in-memory name->value)
├── parser.ts # cheerio-basierte HTML-Extraktoren
└── tools/
├── index.ts # toolDefinitions + handleToolCall dispatch
├── search.ts # linda_search
├── autocomplete.ts
├── document.ts
├── issue.ts
├── see_also.ts
├── kommentare.ts
└── auth.ts # linda_auth_status + linda_set_cookie
Inspiriert von blueqwertz/rdb-mcp (Manz RDB), aber angepasst an Lindes HTML-basierte API.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.