originchaindb avatar

OriginChainDB

originchaindb/mcp-server

Connect an MCP host to an OriginChainDB tenant through four tools: SQL, vector search, full-text search, and schema discovery.

tools
4
auth
Secret needed
transport
STDIO
env vars
3
last updated
Nov 13, 2026

Tools

4 tools

Public tool metadata for what this MCP can expose to an agent.

oc_sqlRun a SQL statement against the OriginChain tenant; database permissions govern what is allowed. Returns the engine response as JSON. OC_MCP_READONLY=true applies a SELECT-prefix filter to this tool only; it is not a database authorization boundary.

Run a SQL statement against the OriginChain tenant; database permissions govern what is allowed. Returns the engine response as JSON. OC_MCP_READONLY=true applies a SELECT-prefix filter to this tool only; it is not a database authorization boundary.

No parameter schema in public metadata yet.

oc_vector_topkVector similarity search. Returns the top-k nearest rows in `table` to the supplied query vector.

Vector similarity search. Returns the top-k nearest rows in `table` to the supplied query vector.

No parameter schema in public metadata yet.

oc_fts_searchFull-text search over an indexed string field in `table`, using the engine's default search mode. Response shape depends on that mode.

Full-text search over an indexed string field in `table`, using the engine's default search mode. Response shape depends on that mode.

No parameter schema in public metadata yet.

oc_list_schemasList all schema IDs registered in the tenant. Use this for discovery before issuing typed queries.

List all schema IDs registered in the tenant. Use this for discovery before issuing typed queries.

No parameter schema in public metadata yet.

Sponsors

Configuration

OC_HOST

Database origin, such as https://your-database-host.

OC_TENANT

Tenant identifier.

OC_TOKENsecret

Bearer token accepted by that database.

Readme

OriginChainDB MCP server

Connect an MCP host to an OriginChainDB tenant through four tools: SQL, vector search, full-text search, and schema discovery. The host starts this Node.js process and communicates over stdin/stdout. The process sends HTTP requests to your database; it does not start an HTTP MCP server.

See the SDK support matrix for the current source version, earlier preview and tested scope. Graph queries are not exposed as a dedicated MCP tool; use a language SDK when you need graph traversal methods.

Repository structure

PathPurpose
src/MCP tools, connection configuration and HTTP transport.
test/Real stdio protocol tests against a local HTTP fixture.
examples/Runnable MCP client for SQL, full-text, vector and schema tools.
scripts/Preview verification and publication tooling.
.github/workflows/Source, installed-package and release checks.

View the full README on GitHub

Details

Repository
github.com/originchaindb/mcp-server
Website
originchaindb.com
Categories
Databases, AI & LLM Tools, Search & Web Crawling
Package
@originchain/mcp-server
Transport
STDIO
Auth
Required

Related Databases MCP servers

View all
1bytebase avatarDBHubbytebase/dbhubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite3.8Kstars
2runekaagaard avatarMCP Alchemy Serverrunekaagaard/mcp-alchemyA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, an403stars
3faucetdb avatarFaucetfaucetdb/faucetSQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.170stars
4hypequery avatarhypequery ClickHousehypequery/hypequeryGoverned ClickHouse analytics for agents: named datasets and metrics as tools, never raw SQL.104stars
5enessari avatarMetabase Ai Assistantenessari/metabase-ai-assistantMCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL43stars
6verygoodplugins avatarMCP Local WPverygoodplugins/mcp-local-wpWordPress database access via Local by Flywheel. Execute read-only MySQL queries and inspect schema.34stars