
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

An MCP server that creates and manages local read models in DuckDB, fed with events from the Flowcore Platform.
Flowcore Local Read Model MCP server for DuckDB is cataloged as an MCP server attributed to flowcore-io. An MCP server that creates and manages local read models in DuckDB, fed with events from the Flowcore Platform. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Flowcore Local Read Model MCP server for DuckDB are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, the database is in-memory when no file path is provided.
You provide either a username or a Personal Access Token.
README.md · 0c50ef4f8658 · Fetched 2026-11-13 10:15:43 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
This MCP (Model Context Protocol) server allows you to create and manage local read models using DuckDB, fed with events from the Flowcore Platform. It provides a set of tools to initialize a database, create tables, project events, and query the resulting data.
npm install @flowcore/local-read-model-mcp
To use this MCP, you need to provide either a username or a Personal Access Token (PAT) for authentication with the Flowcore Platform.
npx @flowcore/local-read-model-mcp --username <your-username>
# or
npx @flowcore/local-read-model-mcp --pat <your-pat>
| Variable | Type | Description | Default | Required |
|---|---|---|---|---|
| USERNAME | string | Your Flowcore username | - | ✓ |
| PAT | string | Your Flowcore Personal Access Token | - | ✓ |
Initializes a DuckDB database for the read model. You can choose between in-memory or file-based storage.
initialize_duckdb({
file: "/path/to/database.db" // Optional, uses in-memory if not provided
})
Closes the database connection and stops any active event stream projections.
close_duckdb()
Creates a new table in the DuckDB database using SQL.
create_projection_table({
createTableSQL: `
CREATE TABLE my_table (
id INTEGER PRIMARY KEY,
created_at TIMESTAMP NOT NULL,
amount DECIMAL(10,2),
status VARCHAR(50) DEFAULT 'pending'
);
`
})
Creates and registers a JavaScript function that transforms Flowcore events into database records.
create_event_projector({
name: "my_projector",
absoluteFilePath: "/path/to/projector.cjs"
})
Example projector function (projector.cjs):
function projectEvent(event) {
return {
id: event.id,
timestamp: new Date(event.timestamp).toISOString(),
amount: Number.parseFloat(event.amount).toFixed(2),
status: String(event.status).toLowerCase()
};
}
module.exports = projectEvent;
Starts streaming events from Flowcore and projecting them to the database.
start_event_stream_projection({
tenant: "your-tenant",
dataCore: "your-datacore",
flowTypeName: "your-flow-type",
eventTypeName: "your-event-type",
startDate: "2024-01-01T00:00:00Z",
endDate: "2024-01-31T23:59:59Z",
projectorName: "my_projector",
targetTable: "my_table",
maxParallelism: 100 // Optional, default is 100
})
Stops a specific event stream projection.
stop_event_stream_projection({
streamId: "stream-123"
})
Execute SQL queries on the DuckDB database.
query_database({
query: "SELECT * FROM my_table WHERE status = 'pending' LIMIT 10;"
})
Get information about a specific event stream projection.
get_stream_info({
streamId: "stream-123"
})
Get information about all active event stream projections.
get_all_streams()
Use appropriate data types and formats:
Follow naming conventions:
Here's a complete example of setting up a local read model:
// 1. Initialize the database
initialize_duckdb({ file: "my_read_model.db" })
// 2. Create a table
create_projection_table({
createTableSQL: `
CREATE TABLE events (
event_id VARCHAR(100) PRIMARY KEY,
timestamp TIMESTAMP NOT NULL,
type VARCHAR(50),
data JSON
);
`
})
// 3. Create and register a projector
create_event_projector({
name: "event_projector",
absoluteFilePath: "./projector.cjs"
})
// 4. Start streaming events
start_event_stream_projection({
tenant: "my-tenant",
dataCore: "my-datacore",
flowTypeName: "my-flow",
eventTypeName: "my-events",
startDate: "2024-01-01T00:00:00Z",
endDate: "2024-01-31T23:59:59Z",
projectorName: "event_projector",
targetTable: "events"
})
// 5. Query the results
query_database({
query: "SELECT * FROM events ORDER BY timestamp DESC LIMIT 10;"
})
// 6. Close the database when done
close_duckdb()
[Add your license information here]
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Flowcore Local Read Model MCP server for DuckDB from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-flowcore-platform)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.