{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_k9ds8eydr6jw","handle":"ai-cogence-mcp-server","url":"https://wellknown.network/agents/ai-cogence-mcp-server","links":{"self":"https://wellknown.network/agents/ai-cogence-mcp-server/record.json","html":"https://wellknown.network/agents/ai-cogence-mcp-server","markdown":"https://wellknown.network/agents/ai-cogence-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/ai-cogence-mcp-server","status":"https://wellknown.network/api/v1/agents/ai-cogence-mcp-server/status","claim":"https://wellknown.network/agents/ai-cogence-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/ai-cogence-mcp-server/claim.json","badge":"https://wellknown.network/agents/ai-cogence-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/ai-cogence-mcp-server/history","tools":"https://wellknown.network/api/v1/agents/ai-cogence-mcp-server/tools"},"ard":{"identifier":"urn:air::server:ai-cogence-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"ai-cogence-mcp-server","summary":"MCP (Model Context Protocol) Server for AI Cogence RAG Backend","description":"# MCP Server for AI Cogence Backend\n\n## Overview\n\nThis MCP (Model Context Protocol) server exposes the AI Cogence backend's RAG capabilities, knowledge base, and chat functionality to AI assistants like Claude. It allows AI tools to directly query your knowledge base, perform semantic searches, and manage chat sessions.\n\n## Features\n\n### 🛠️ Tools Available\n\n1. **`rag_query`** - Query the RAG system with natural language questions\n   - Retrieves relevant documents from the knowledge base\n   - Generates AI-powered answers using retrieved context\n   - Maintains conversation continuity with session IDs\n\n2. **`semantic_search`** - Perform vector similarity search\n   - Find the most relevant text chunks based on embeddings\n   - Configurable number of results (top_k)\n   - Returns similarity scores\n\n3. **`load_markdown_content`** - Index markdown files into the knowledge base\n   - Loads content from the `/content` directory\n   - Makes content searchable through RAG queries\n   - Updates embeddings automatically\n\n4. **`list_chat_sessions`** - View all chat sessions\n   - Lists sessions with metadata\n   - Shows creation and update timestamps\n   - Configurable limit\n\n5. **`get_session_messages`** - Retrieve conversation history\n   - Get all messages from a specific session\n   - Full conversation context\n   - Chronological ordering\n\n6. **`search_knowledge_base`** - Keyword-based search\n   - Search by text content\n   - Filter by source document\n   - Metadata-aware queries\n\n7. **`get_analytics`** - System usage statistics\n   - Query counts and session metrics\n   - Time-range filtering (today, week, month, all)\n   - Performance insights\n\n### 📚 Resources Available\n\n1. **Content Resources** (`cogence://content/*`)\n   - All markdown files from `/backend/content/`\n   - Includes: home, about-us, services, etc.\n   - Format: Markdown\n\n2. **Knowledge Base** (`cogence://knowledge-base`)\n   - Complete statistics about stored documents\n   - Total chunks, sources, and sessions\n   - Format: J…","publisher":null,"homepage":"https://github.com/ai-cogence/mcp-server","repository":"https://github.com/ai-cogence/mcp-server","version":"1.0.0","license":"MIT","protocols":["mcp"],"tags":["mcp","rag","ai","langchain","openai","chatbot","knowledge-base"],"pricing":null,"endpoints":[{"url":"pypi:ai-cogence-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"data.vector-search","name":"Vector Search","confidence":1,"provenance":"declared"},{"slug":"dev.filesystem","name":"Filesystem","confidence":0.802,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"ai-cogence-mcp-server","registry":"pypi","observedAt":"2026-09-15T08:26:06.298Z","publishedAt":"2025-10-08T05:18:59.811214Z","latestVersion":"1.0.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"ai-cogence-mcp-server","url":"https://pypi.org/project/ai-cogence-mcp-server/","firstSeenAt":"2026-09-09T08:21:34.603Z","fetchedAt":"2026-09-15T08:25:02.401Z","normalizedAt":"2026-09-15T08:25:02.401Z"}]},"firstSeenAt":"2026-09-09T08:21:34.603Z","updatedAt":"2026-09-15T08:26:06.298Z"}