Beta

Claude (claude.ai & Claude Desktop)

Name:    AfA Recherche
URL:     https://mcp.histoirerurale.ch/mcp

{
  "mcpServers": {
    "afa-recherche": {
      "url": "https://mcp.histoirerurale.ch/mcp"
    }
  }
}

ChatGPT (Plus / Team / Enterprise)

Name:    AfA Recherche
URL:     https://mcp.histoirerurale.ch/mcp
Auth:    None

Cursor

{
  "mcpServers": {
    "afa-recherche": {
      "url": "https://mcp.histoirerurale.ch/mcp"
    }
  }
}

Perplexity (Pro)

Name:    AfA Recherche
URL:     https://mcp.histoirerurale.ch/mcp

VS Code / GitHub Copilot

{
  "servers": {
    "afa-recherche": {
      "url": "https://mcp.histoirerurale.ch/mcp"
    }
  }
}

Claude Code (CLI)

claude mcp add --transport http afa-recherche https://mcp.histoirerurale.ch/mcp

from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async with streamablehttp_client("https://mcp.histoirerurale.ch/mcp") as (read, write, _):
    async with ClientSession(read, write) as session:
        await session.initialize()
        result = await session.call_tool(
            "search_edition_bobbett",
            {"query": "Wicklow", "size": 5},
        )
        print(result)

https://mcp.histoirerurale.ch/mcp

curl -s -X POST https://mcp.histoirerurale.ch/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "search_entities",
      "arguments": {"entity_type": "person", "query": "Ineichen", "size": 5}
    }
  }'