Metadata-Version: 2.4
Name: andish-mcp
Version: 0.1.0
Summary: MCP server for the Andish Knowledge Graph API
Author: Andish Team
License: MIT
Keywords: andish,knowledge-graph,llm,mcp,rag
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.12
Requires-Dist: andish>=0.1
Requires-Dist: mcp<3,>=1.6
Requires-Dist: pydantic>=2.9
Requires-Dist: structlog>=25.1
Provides-Extra: dev
Requires-Dist: mypy>=1.14.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.25.0; extra == 'dev'
Requires-Dist: pytest>=8.3.0; extra == 'dev'
Requires-Dist: respx>=0.21; extra == 'dev'
Requires-Dist: ruff>=0.9.0; extra == 'dev'
Description-Content-Type: text/markdown

# andish-mcp

MCP server for the [Andish](https://andish.ru) Knowledge Graph API.

Works with any MCP-compatible client: Claude Desktop, Claude Code, Cursor, Cline, Continue, and others.

## Install

```bash
uvx andish-mcp@latest
```

Or with pip:

```bash
pip install andish-mcp
```

## Configure (Claude Desktop)

```jsonc
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "andish": {
      "command": "uvx",
      "args": ["andish-mcp@latest"],
      "env": {
        "ANDISH_API_KEY": "adsh_live_xxxxxxxxxxxx"
      }
    }
  }
}
```

## Available Tools

- `andish_query` — search the Andish knowledge graph, get a synthesised answer with sources.
- `andish_workspace_usage` — view current workspace usage: documents, cost, daily queries.

## Environment Variables

| Variable | Required | Default | Description |
|---|---|---|---|
| `ANDISH_API_KEY` | Yes | — | API key from https://andish.ru/dashboard |
| `ANDISH_BASE_URL` | No | `https://api.andish.ru/v1` | Override for self-hosted or staging |
| `ANDISH_TIMEOUT` | No | `30.0` | Per-request timeout in seconds |
