{"id":31159637,"url":"https://github.com/ebowwa/structured-prompts","last_synced_at":"2026-06-24T07:31:10.917Z","repository":{"id":270522242,"uuid":"910635413","full_name":"ebowwa/structured-prompts","owner":"ebowwa","description":"A modular package for managing structured prompts with any LLM API. Supports database storage, schema validation, and MCP integration.","archived":false,"fork":false,"pushed_at":"2026-02-13T00:58:57.000Z","size":175,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-13T10:20:30.790Z","etag":null,"topics":["ai","database","llm","mcp","prompt-engineering","prompts","python","schema-validation","structured-data"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/structured-prompts/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ebowwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-31T22:19:23.000Z","updated_at":"2026-02-13T00:59:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"748f9051-847d-4d39-bf47-8328e3dc2a2c","html_url":"https://github.com/ebowwa/structured-prompts","commit_stats":null,"previous_names":["ebowwa/gemini-structured-response-prompts-database","ebowwa/structured-prompts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ebowwa/structured-prompts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebowwa%2Fstructured-prompts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebowwa%2Fstructured-prompts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebowwa%2Fstructured-prompts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebowwa%2Fstructured-prompts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebowwa","download_url":"https://codeload.github.com/ebowwa/structured-prompts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebowwa%2Fstructured-prompts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34722610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","database","llm","mcp","prompt-engineering","prompts","python","schema-validation","structured-data"],"created_at":"2025-09-19T02:01:20.229Z","updated_at":"2026-06-24T07:31:10.868Z","avatar_url":"https://github.com/ebowwa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @ebowwa/structured-prompts\n\nMinimal prompt template registry with MCP interface.\n\n## Usage\n\n```typescript\nimport { getStore, seedPrompts } from '@ebowwa/structured-prompts';\n\n// Get store (optionally with file path)\nconst store = getStore('/path/to/prompts.json');\n\n// Seed default prompts\nseedPrompts('/path/to/prompts.json');\n\n// CRUD operations\nstore.set('my-prompt', 'My Prompt', 'Template text here');\nconst prompt = store.get('my-prompt');\nstore.delete('my-prompt');\nconst all = store.list();\n```\n\n## MCP Interface\n\n```bash\nbun run src/index.ts\n```\n\nRuns as an MCP server with tools:\n- `get_prompt` - Get prompt by ID\n- `set_prompt` - Create/update prompt\n- `list_prompts` - List all prompts\n- `delete_prompt` - Delete prompt\n\n## API\n\n```typescript\ninterface Prompt {\n  id: string;\n  name: string;\n  template: string;\n  responseSchema?: Record\u003cstring, unknown\u003e;\n  metadata?: Record\u003cstring, unknown\u003e;\n}\n\nfunction getStore(file?: string): PromptStore;\nfunction seedPrompts(file?: string): void;\nasync function runMcp(file?: string): Promise\u003cvoid\u003e;\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febowwa%2Fstructured-prompts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febowwa%2Fstructured-prompts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febowwa%2Fstructured-prompts/lists"}