Metadata-Version: 2.4
Name: mcp-claude
Version: 2026.12.3.0
Summary: Claude Messages, token counting and compatible chat with Ace Data Cloud
Project-URL: Homepage, https://github.com/AceDataCloud/ClaudeMCP
Project-URL: Documentation, https://platform.acedata.cloud/documents/claude?utm_source=pypi&utm_medium=referral&utm_campaign=evergreen
Project-URL: Repository, https://github.com/AceDataCloud/ClaudeMCP
Project-URL: Issues, https://github.com/AceDataCloud/ClaudeMCP/issues
Author-email: AceDataCloud <support@acedata.cloud>
Maintainer-email: AceDataCloud <support@acedata.cloud>
License: MIT
License-File: LICENSE
Keywords: acedata,chat,claude,mcp,model-context-protocol
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Requires-Dist: mcp<2,>=1.28.1
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: all
Requires-Dist: build>=1.2.0; extra == 'all'
Requires-Dist: mypy>=1.10.0; extra == 'all'
Requires-Dist: pre-commit>=3.7.0; extra == 'all'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'all'
Requires-Dist: pytest-cov>=5.0.0; extra == 'all'
Requires-Dist: pytest>=8.0.0; extra == 'all'
Requires-Dist: respx>=0.21.0; extra == 'all'
Requires-Dist: ruff>=0.4.0; extra == 'all'
Requires-Dist: twine>=5.0.0; extra == 'all'
Provides-Extra: dev
Requires-Dist: mypy>=1.10.0; extra == 'dev'
Requires-Dist: pre-commit>=3.7.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Provides-Extra: release
Requires-Dist: build>=1.2.0; extra == 'release'
Requires-Dist: twine>=5.0.0; extra == 'release'
Provides-Extra: test
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'test'
Requires-Dist: pytest-cov>=5.0.0; extra == 'test'
Requires-Dist: pytest>=8.0.0; extra == 'test'
Requires-Dist: respx>=0.21.0; extra == 'test'
Description-Content-Type: text/markdown

<!-- Generated by scripts/marketing_readmes.py from README.md; do not edit. -->
# Claude MCP

<!-- mcp-name: io.github.AceDataCloud/mcp-claude -->

Use Claude Messages, input-token counting and compatible chat through Ace Data Cloud. This independently maintained community server connects over stdio; it is not an official Anthropic plugin.

<!-- canonical-documentation -->
[Documentation](https://platform.acedata.cloud/documents/claude?utm_source=pypi&utm_medium=referral&utm_campaign=evergreen)

## Connect

1. Sign in to [Ace Data Cloud → Applications](https://platform.acedata.cloud/console/applications?utm_source=pypi&utm_medium=referral&utm_campaign=evergreen), open **General application**, and copy its API key. Check that the application can access the Claude Messages API and your chosen chat models. An account-management `platform-...` token is not an application key.
2. Install [uv](https://docs.astral.sh/uv/) and add the following local server to your MCP client's configuration. Use the raw key without a `Bearer ` prefix; keep the configuration private.

```json
{
  "mcpServers": {
    "claude": {
      "command": "uvx",
      "args": ["mcp-claude"],
      "env": {"ACEDATACLOUD_API_TOKEN": "YOUR_APPLICATION_KEY"}
    }
  }
}
```

## Tools

- `claude_create_message` sends one non-streaming Messages request and retains its content blocks, tool calls and usage in the response.
- `claude_count_tokens` counts input tokens without generating an answer. Its model choices follow the count endpoint, which may differ from generation.
- `claude_chat_completion` sends one non-streaming OpenAI-compatible chat request, including optional tools and response formatting.

For a first token-count request, ask your client to call `claude_count_tokens` with:

```json
{"model":"claude-opus-5-5","messages":[{"role":"user","content":"Hello"}]}
```

To generate an answer, use the same `model` and `messages` with `claude_create_message` and add a positive `max_tokens` value. Models and access depend on the current API contract and your application.

The model choices come from the public contract and account access can vary. Generation may consume credits; check [current pricing](https://platform.acedata.cloud/models?utm_source=pypi&utm_medium=referral&utm_campaign=evergreen). The server does not retry requests automatically. After an uncertain response, check the original application history before submitting again. Streaming is not supported by these tools. Inputs and outputs are sent to the configured Ace Data Cloud API; restrict access to the application key and do not put it in prompts.
