Skip to main content
Glama
sqlite-mcp-server

sqlite-mcp-server

by rehanvipin

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 -v

MCP Server

MCP 서버는 현재 STDIO를 통해 SQLite와 직접 상호 작용 하도록 실행 중입니다.

서버 시작

uv run mcp_server.py

라이선스

MIT

Available Tools

3 tools
get_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

    A3.5/5.0

    Scored across 3 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A 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
    • A
      license
      Not graded
      quality
      D
      maintenance
      Exposes sqlite3 database functionality as MCP tools, enabling SQL query execution, schema management, and CRUD operations.
      35 PyPI
      1
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables read-only querying of a local SQLite database via MCP, with tools to list tables, retrieve schema, and execute SELECT/WITH/EXPLAIN queries.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables read-only access to SQLite databases via MCP, with tools for browsing tables, schemas, and executing SELECT queries securely.
      MIT