Observed since 21 Oct, 09:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0xrelogic/cognio-mcp
MCP server for Cognio semantic memory
MCP (Model Context Protocol) server wrapper for Cognio semantic memory.
Run the auto-setup script to configure all supported AI clients:
npm run setup
This automatically generates MCP configurations for:
If you prefer to configure manually, add Cognio to your client's MCP config:
Add to .vscode/mcp.json:
{
"servers": {
"cognio": {
"command": "npx",
"args": ["-y", "@0xrelogic/cognio-mcp"],
"env": {
"COGNIO_API_URL": "http://localhost:8080",
"COGNIO_API_KEY": "your-optional-api-key-here"
}
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"cognio": {
"command": "npx",
"args": ["-y", "@0xrelogic/cognio-mcp"],
"env": {
"COGNIO_API_URL": "http://localhost:8080"
}
}
}
}
Add to ~/.cursor/mcp_settings.json:
{
"mcpServers": {
"cognio": {
"command": "npx",
"args": ["-y", "@0xrelogic/cognio-mcp"],
"env": {
"COGNIO_API_URL": "http://localhost:8080"
}
}
}
}
Add to ~/.continue/config.json:
{
"mcp": [
{
"name": "cognio",
"command": "npx",
"args": ["-y", "@0xrelogic/cognio-mcp"],
"env": {
"COGNIO_API_URL": "http://localhost:8080"
}
}
]
}
Add to ~/.cline/mcp.json:
{
"mcpServers": {
"cognio": {
"command": "npx",
"args": ["-y", "@0xrelogic/cognio-mcp"],
"env": {
"COGNIO_API_URL": "http://localhost:8080"
}
}
}
}
Add to ~/.windsurf/mcp_config.json:
{
"mcpServers": {
"cognio": {
"command": "npx",
"args": ["-y", "@0xrelogic/cognio-mcp"],
"env": {
"COGNIO_API_URL": "http://localhost:8080"
}
}
}
}
Add to ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"cognio": {
"command": "npx",
"args": ["-y", "@0xrelogic/cognio-mcp"],
"env": {
"COGNIO_API_URL": "http://localhost:8080"
}
}
}
}
Add to ~/gemini/mcp.json:
{
"mcpServers": {
"cognio": {
"command": "npx",
"args": ["-y", "@0xrelogic/cognio-mcp"],
"env": {
"COGNIO_API_URL": "http://localhost:8080"
}
}
}
}
Add to ~/.claude.json:
{
"mcpServers": {
"cognio": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@0xrelogic/cognio-mcp"],
"env": {
"COGNIO_API_URL": "http://localhost:8080"
}
}
}
}
Note: Claude Code requires "type": "stdio" in the config.
Save information to long-term semantic memory with automatic tagging and categorization.
Parameters:
text (required): The memory content to saveproject (optional): Project name for organization. Either provide this or use set_active_project firsttags (optional): Array of tags. If omitted and auto-tagging is enabled with a valid LLM API key (GROQ_API_KEY or OPENAI_API_KEY), tags will be auto-generatedmetadata (optional): Key-value metadata objectNotes:
Search memories using semantic similarity.
Parameters:
query (required): Search query textproject (optional): Filter by project. If omitted, uses active project (required)tags (optional): Filter by tags arraylimit (optional): Max results (default: 5)Notes:
List all memories with optional filtering.
Parameters:
project (optional): Filter by project. If omitted, uses active project (required)tags (optional): Filter by tags arraylimit (optional): Max results (default: 20)offset (optional): Skip results (default: 0)Notes:
Get a single memory by ID to view its full content.
Parameters:
memory_id (required): The ID of the memory to retrieveNotes:
Get statistics about stored memories.
No parameters required.
Archive (soft delete) a memory by ID.
Parameters:
memory_id (required): The memory ID to archivePermanently delete a memory by ID.
Parameters:
memory_id (required): The memory ID to deleteExport memories to JSON or Markdown format.
Parameters:
format (optional): Export format - 'json' or 'markdown' (default: json)project (optional): Filter by project nameSummarize long text using extractive or abstractive methods.
Parameters:
text (required): The text to summarizenum_sentences (optional): Number of sentences in summary (default: 3, max: 10)Set the active project context for all subsequent operations.
Parameters:
project (required): Project name to activateGet the currently active project context.
No parameters required.
List all available projects in the database.
No parameters required.
COGNIO_API_URL: Base URL for Cognio API (default: http://localhost:8080)COGNIO_API_KEY: Optional API key for authenticated requests (sent as X-API-Key header if provided)Auto-tagging and other features are configured via .env in the Cognio project root:
# Auto-tagging (requires LLM API key)
AUTOTAG_ENABLED=true
LLM_PROVIDER=groq
GROQ_API_KEY=your-key-here
GROQ_MODEL=openai/gpt-oss-120b
# Or use OpenAI instead
# OPENAI_API_KEY=your-key-here
# OPENAI_MODEL=gpt-3.5-turbo
# Semantic search threshold (lower = more results, default 0.4)
SIMILARITY_THRESHOLD=0.4
# Summarization
SUMMARIZATION_ENABLED=true
SUMMARIZATION_METHOD=abstractive
See .env.example in the Cognio root directory for complete configuration options.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
@modelcontextprotocol/sdkEnvironment{
"local_name": "@modelcontextprotocol/sdk",
"alias": false,
"peer_metadata": null
} | ^1.0.4 | runtime |
Source distribution
{
"shasum": "a8fb23ed130026fd8dad3c5cb071a47662365ecf",
"tarball": "https://registry.npmjs.org/@0xrelogic/cognio-mcp/-/cognio-mcp-1.0.8.tgz",
"fileCount": 3,
"integrity": "sha512-MZc9b+tJRhBmqLSa+4SwyzgESPyhbur5XPWxwPFjXikb8fOJJUX4qAA7p2iG+s+LObTMavbRClTm48MOa/FkKA==",
"signatures": [
{
"sig": "MEQCIA+oQ4PhSgxhGqvA/+CTM0R+FKb2y979E90DEeeH0vYFAiAxOOZLCXUsdT8TfZyCDJg3m4b04JYpJXpz0hBYIpt4cA==",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"unpackedSize": 26413
}Observed since 21 Oct, 09:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:6e457dce341ab9a3f9ca45a08802e02c22bbcb65c4e00619ee2c01194daa4189