Koskamo

Citewell MCP

Citewell is an offline, MCP-native RAG server that ingests documents into PostgreSQL with pgvector to provide citation-grounded document memory. It returns verbatim quotes with file, page, and chunk ID references, enabling AI assistants to verify answers against sources without calling an LLM or requiring API keys.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Citewell MCP logo, by Ömer ÖzkılıçCommunity listingLocal stdioSource reviewed; not executedPublished by Ömer Özkılıç
Vendor documentation

What you can do with it

  • Ingest PDFs, Markdown, and text files into a PostgreSQL database
  • Search documents using hybrid retrieval with pgvector and full-text search
  • Retrieve cited passages with verbatim quotes and page numbers for AI assistants
  • Verify quotes against source documents using the verify_quote tool

Source and maintenance

Community listingRegistry 0.3.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

citewell 0.3.0

pypiuvx
citewell package definition
{
  "version": "0.3.0",
  "transport": "stdio",
  "identifier": "citewell",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "packageArguments": [
    {
      "type": "positional",
      "value": "mcp"
    }
  ],
  "environmentVariables": [
    {
      "name": "CITEWELL_DATABASE_URL",
      "isRequired": true,
      "description": "PostgreSQL (pgvector) connection URL, e.g. postgresql://user:password@localhost:5432/citewell"
    },
    {
      "name": "CITEWELL_EMBEDDING_BACKEND",
      "default": "sentence-transformers",
      "description": "sentence-transformers (default, needs the citewell[models] extra) or hash (tests and demos only)"
    },
    {
      "name": "CITEWELL_DEFAULT_COLLECTION",
      "default": "default",
      "description": "Collection searched when a tool call does not name one"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "citewell-mcp": {
      "command": "uvx",
      "args": [
        "citewell==0.3.0",
        "mcp"
      ],
      "env": {
        "CITEWELL_DATABASE_URL": "<YOUR_CITEWELL_DATABASE_URL>",
        "CITEWELL_EMBEDDING_BACKEND": "<YOUR_CITEWELL_EMBEDDING_BACKEND>",
        "CITEWELL_DEFAULT_COLLECTION": "<YOUR_CITEWELL_DEFAULT_COLLECTION>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "citewell-mcp": {
      "command": "uvx",
      "args": [
        "citewell==0.3.0",
        "mcp"
      ],
      "env": {
        "CITEWELL_DATABASE_URL": "<YOUR_CITEWELL_DATABASE_URL>",
        "CITEWELL_EMBEDDING_BACKEND": "<YOUR_CITEWELL_EMBEDDING_BACKEND>",
        "CITEWELL_DEFAULT_COLLECTION": "<YOUR_CITEWELL_DEFAULT_COLLECTION>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "citewell-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "citewell==0.3.0",
        "mcp"
      ],
      "env": {
        "CITEWELL_DATABASE_URL": "<YOUR_CITEWELL_DATABASE_URL>",
        "CITEWELL_EMBEDDING_BACKEND": "<YOUR_CITEWELL_EMBEDDING_BACKEND>",
        "CITEWELL_DEFAULT_COLLECTION": "<YOUR_CITEWELL_DEFAULT_COLLECTION>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "citewell-mcp": {
      "command": "uvx",
      "args": [
        "citewell==0.3.0",
        "mcp"
      ],
      "env": {
        "CITEWELL_DATABASE_URL": "<YOUR_CITEWELL_DATABASE_URL>",
        "CITEWELL_EMBEDDING_BACKEND": "<YOUR_CITEWELL_EMBEDDING_BACKEND>",
        "CITEWELL_DEFAULT_COLLECTION": "<YOUR_CITEWELL_DEFAULT_COLLECTION>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Citewell MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.