Arcticdb MCP 标志

Arcticdb MCP

社区
YMuskrat

MCP server for ArcticDB

发布者YMuskrat
代码仓库arcticdb_mcp
语言Python
复刻数
4
星标数
682
可用工具
0
传输类型stdio
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Arcticdb MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 682 个星标和 4 个复刻。

Overview

arcticdb-mcp turns ArcticDB into an AI data copilot. Assistants can automate symbol updates, batch jobs, and time-series queries while built-in versioning protects every change. Go from question to data change in minutes, not scripts, with full traceability. You can also design your own workflows on top of arcticdb-mcp.

Table of Contents

Demo Video

Watch the live watch db demo:

https://github.com/user-attachments/assets/dd81f229-e1f9-46e6-8e79-7c7252bc25c6

Quickstart

  1. Install and run with uvx (recommended):
bash
uvx arcticdb-mcp
  1. Configure your MCP client (Claude Desktop / Cursor / Windsurf / Continue):
json
{
  "mcpServers": {
    "arcticdb": {
      "command": "uvx",
      "args": ["arcticdb-mcp"],
      "env": {
        "ARCTICDB_URI": "lmdb:///path/to/your/database"
      }
    }
  }
}
  1. Ask your assistant:
  • "Show me the last 5 rows of AAPL in library finance"
  • "Create a snapshot of finance before I update symbols"
  • "List versions for symbol ES_intraday"

Installation

Choose one:

bash
# Recommended
uvx arcticdb-mcp

# Or
pipx install arcticdb-mcp

# Or
pip install arcticdb-mcp

Python requirement: >=3.9

Configuration

Set ARCTICDB_URI in MCP client config or environment.

URI examples

  • Local LMDB (Linux/macOS): lmdb:///path/to/db
  • Local LMDB (Windows): lmdb://C:/path/to/db
  • AWS S3: s3://s3.amazonaws.com:bucket?region=us-east-1&access=KEY&secret=SECRET
  • Azure Blob: azure://AccountName=X;AccountKey=Y;Container=Z
  • S3-compatible (MinIO, etc.): s3://your-endpoint:bucket?access=KEY&secret=SECRET

You can also use a .env file:

env
ARCTICDB_URI=lmdb:///path/to/db

Run Modes

stdio (default)

This is the default mode used by desktop MCP clients.

bash
ARCTICDB_URI=lmdb:///path/to/db python -m arcticdb_mcp

HTTP / SSE

Set ARCTICDB_MCP_PORT to run over HTTP/SSE:

bash
ARCTICDB_URI=lmdb:///path/to/db ARCTICDB_MCP_PORT=8000 python -m arcticdb_mcp

Endpoint:

text
http://localhost:8000/sse

Tools

Current server exposes 48 tools.

Arctic and Libraries

ToolFileWhat it does
get_uriarcticdb_mcp/tools/arctic_tools.pyReturn the ArcticDB URI used by this MCP server connection.
describearcticdb_mcp/tools/arctic_tools.pyReturn a compact summary of the ArcticDB store.
modify_library_optionarcticdb_mcp/tools/arctic_tools.pyModify a configurable library option.
list_librariesarcticdb_mcp/tools/library_tools.pyList all libraries in the Arctic instance.
create_libraryarcticdb_mcp/tools/library_tools.pyCreate a new library with the given name.
delete_libraryarcticdb_mcp/tools/library_tools.pyDelete a library and all its underlying data permanently.
library_existsarcticdb_mcp/tools/library_tools.pyCheck whether a library with the given name exists.
get_libraryarcticdb_mcp/tools/library_tools.pyReturn the name and full list of symbols stored in a library.
get_library_optionsarcticdb_mcp/tools/maintenance_tools.pyReturn non-enterprise library options.
get_enterprise_optionsarcticdb_mcp/tools/maintenance_tools.pyReturn enterprise library options.

Symbols

ToolFileWhat it does
list_symbolsarcticdb_mcp/tools/symbol_tools.pyList all symbol names stored in the given library.
symbol_existsarcticdb_mcp/tools/symbol_tools.pyCheck whether a symbol exists in the given library.
read_symbolarcticdb_mcp/tools/symbol_tools.pyRead a symbol's full data as row records with index included.
head_symbolarcticdb_mcp/tools/symbol_tools.pyReturn the first n rows of a symbol (default 5).
tail_symbolarcticdb_mcp/tools/symbol_tools.pyReturn the last n rows of a symbol (default 5).
write_symbolarcticdb_mcp/tools/symbol_tools.pyWrite data to a symbol, creating a new version.
append_symbolarcticdb_mcp/tools/symbol_tools.pyAppend rows to an existing symbol, creating a new version.
update_symbolarcticdb_mcp/tools/symbol_tools.pyUpdate a date range of a timeseries symbol, creating a new version.
delete_symbolarcticdb_mcp/tools/symbol_tools.pyDelete a symbol and all its versions from the library.
delete_data_in_rangearcticdb_mcp/tools/symbol_tools.pyDelete rows within a date range from a timeseries symbol, creating a new version.
get_symbol_infoarcticdb_mcp/tools/symbol_tools.pyReturn schema, row count, date range, and metadata summary for a symbol.
list_versionsarcticdb_mcp/tools/symbol_tools.pyList all versions of a symbol with version number and write timestamp.
read_metadataarcticdb_mcp/tools/symbol_tools.pyRead only metadata for a symbol without loading its data.
write_metadataarcticdb_mcp/tools/symbol_tools.pyUpdate metadata for a symbol without modifying its data.

Batch Operations

ToolFileWhat it does
write_batcharcticdb_mcp/tools/batch_tools.pyWrite multiple symbols in one call.
append_batcharcticdb_mcp/tools/batch_tools.pyAppend to multiple symbols in one call.
update_batcharcticdb_mcp/tools/batch_tools.pyUpdate multiple symbols in one call.
delete_batcharcticdb_mcp/tools/batch_tools.pyDelete multiple symbols or symbol versions in one call.
read_batcharcticdb_mcp/tools/batch_tools.pyRead multiple symbols in one call.
read_metadata_batcharcticdb_mcp/tools/batch_tools.pyRead metadata for multiple symbols in one call.
get_description_batcharcticdb_mcp/tools/batch_tools.pyGet schema/description for multiple symbols in one call.
write_metadata_batcharcticdb_mcp/tools/batch_tools.pyWrite metadata for multiple symbols in one call.
write_picklearcticdb_mcp/tools/batch_tools.pyWrite arbitrary pickle-serializable data to a symbol.
write_pickle_batcharcticdb_mcp/tools/batch_tools.pyWrite multiple pickle-serializable payloads in one call.

Snapshots

ToolFileWhat it does
create_snapshotarcticdb_mcp/tools/snapshot_tools.pyCreate a named snapshot of the current library state.
list_snapshotsarcticdb_mcp/tools/snapshot_tools.pyList the names of all snapshots in a library.
delete_snapshotarcticdb_mcp/tools/snapshot_tools.pyDelete a named snapshot from a library.
read_symbol_from_snapshotarcticdb_mcp/tools/snapshot_tools.pyRead a symbol as it existed when a snapshot was created.

Query Helpers

ToolFileWhat it does
query_filterarcticdb_mcp/tools/query_tools.pyFilter rows using conditions.
query_filter_isinarcticdb_mcp/tools/query_tools.pyFilter rows where a column value is in a list.
query_groupbyarcticdb_mcp/tools/query_tools.pyGroup by a column and aggregate.
query_date_rangearcticdb_mcp/tools/query_tools.pyFilter rows by date range on a datetime-indexed symbol.
query_resamplearcticdb_mcp/tools/query_tools.pyResample a datetime-indexed symbol and aggregate.

Maintenance

ToolFileWhat it does
reload_symbol_listarcticdb_mcp/tools/maintenance_tools.pyForce a symbol-list cache reload for a library.
compact_symbol_listarcticdb_mcp/tools/maintenance_tools.pyCompact symbol-list cache into a single key in storage.
is_symbol_fragmentedarcticdb_mcp/tools/maintenance_tools.pyCheck whether compaction would reduce segment count for a symbol.
defragment_symbol_dataarcticdb_mcp/tools/maintenance_tools.pyDefragment symbol data by compacting fragmented row-sliced segments.
prune_previous_versionsarcticdb_mcp/tools/maintenance_tools.pyRemove non-snapshotted symbol versions except the latest one.

Example Prompts

  • "Read symbol NVDA from library finance"
  • "Filter NVDA where price > 500 and volume >= 1000"
  • "Resample ES_intraday to 5min and aggregate price mean, volume sum"
  • "Write metadata owner=research to symbol ES_intraday"
  • "Delete data in range for ES_intraday from 2024-01-01 to 2024-01-05"

Development

bash
git clone https://github.com/YMuskrat/arcticdb-mcp
cd arcticdb-mcp
pip install -e .

Run locally:

bash
ARCTICDB_URI=lmdb:///path/to/db python -m arcticdb_mcp

Test with MCP Inspector:

bash
ARCTICDB_URI=lmdb:///tmp/test_db npx @modelcontextprotocol/inspector python -m arcticdb_mcp

Community Backlog

These ArcticDB capabilities are intentionally left open for contributors:

  • stage
  • finalize_staged_data
  • sort_and_finalize_staged_data
  • delete_staged_data
  • get_staged_symbols
  • read_batch_and_join
  • admin_tools

Contributing

See CONTRIBUTING.md.

License

MIT

将 Arcticdb MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Arcticdb MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Arcticdb MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Arcticdb MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "arcticdb-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Arcticdb MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Arcticdb MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Arcticdb MCP 帮我完成这项任务吗?
Arcticdb MCP
当然,我看过了。
以下是我使用 Arcticdb MCP 得到的结果。

常见问题

Arcticdb MCP MCP 服务器有什么用途?

Arcticdb MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Arcticdb MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Arcticdb MCP。

为什么在 TypingMind 中使用 Arcticdb MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Arcticdb MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Arcticdb MCP MCP 连接到 TypingMind?

Arcticdb MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Arcticdb MCP MCP 在 TypingMind 中提供哪些工具?

Arcticdb MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Arcticdb MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Arcticdb MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇