sqlite-mcp-server
Stock Pricing Data Generator
バックテストモデル向けの合成株価データを生成します。
目的
このプロジェクトは、株価予測モデルのテストと検証のために、現実的な合成株価データを生成します。生成されたデータは、適切な価格帯と取引日を備え、実際の株価変動を模したものになります。
Related MCP server: mcp-sqlite3
機能
銘柄:apple、microsoft、meta、google
取引所:nyse、nasdaq
価格帯:$100 - $1000
期間:CLIで設定可能(デフォルト:過去90日間)
出力:SQLiteデータベース (stocks.db)
利用方法
uv run python generate_pricing.py
# Custom date range
uv run python generate_pricing.py --start 2026-01-01 --end 2026-04-25データベーススキーマ
CREATE TABLE stock_pricing (
id INTEGER PRIMARY KEY,
stock_name TEXT NOT NULL,
stock_price REAL NOT NULL,
date TEXT NOT NULL,
stock_exchange TEXT NOT NULL
);必要条件
Python 3.x
uv
テスト
uv run pytest test_generate_pricing.py -vMCPサーバー
MCPサーバーは現在、SQLiteと直接やり取りするために、STDIO上で動作しています。
サーバー起動
uv run mcp_server.pyライセンス
MIT
Available Tools
3 toolsget_table_structureB
Get the structure of a specified table.
Inputs: table (required), db_path (required). Returns: result
list_tablesB
List all tables in the database.
Inputs: db_path (required). Returns: result
query_executionB
Execute a SELECT query on the database.
Inputs: sql (required), db_path (required), params. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct concern: executing SELECT queries, listing tables, and inspecting a table's schema. There is no meaningful overlap or ambiguity between them.
list_tables and get_table_structure follow a clear verb_noun pattern, but query_execution uses a noun-form name instead. The deviation is minor and the names remain understandable.
Three tools are well-scoped for a focused SQLite read-only server: a query execution entry point, table enumeration, and schema inspection. Each tool earns its place.
The set covers read-only database exploration well, but it lacks write or data-modification operations such as INSERT, UPDATE, DELETE, or DDL statements. This is a notable gap for a general SQLite server, though acceptable for read-only use cases.
Related MCP Connectors
Query SEC EDGAR filings, XBRL financials, and company data via MCP. STDIO or Streamable HTTP.
UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.
Historical tick, order book and settlement data for Polymarket and Predict.fun crypto up/down markets, plus smart-money lists and backtest quotes, over a read-only MCP server.
Read-only MCP server for Sidechair. Your assistant reads your lessons, price bars and watchlist.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA universal SQLite database management tool that enables SQL query execution through MCP protocol. Supports SELECT/INSERT/UPDATE/DELETE/CREATE operations with built-in SQL injection protection across stdio, SSE, and streamable-http communication modes.MIT
- AlicenseNot gradedqualityDmaintenanceExposes sqlite3 database functionality as MCP tools, enabling SQL query execution, schema management, and CRUD operations.35 PyPI1MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables read-only querying of a local SQLite database via MCP, with tools to list tables, retrieve schema, and execute SELECT/WITH/EXPLAIN queries.-
- AlicenseNot gradedqualityDmaintenanceEnables read-only access to SQLite databases via MCP, with tools for browsing tables, schemas, and executing SELECT queries securely.MIT