# FundingQuarry - Full Technical Specification & Comprehensive LLM Context FundingQuarry is an enterprise AI SaaS platform specializing in public grant discovery, RAG eligibility fit evaluation, proposal generation, and grant execution management for Third Sector organizations (NGOs, social foundations, non-profit associations, and fundraising departments) in Spain, Catalonia, and the European Union. --- ## 1. Non-Profit Sector Context & Problem Definition ### The Public Grant Challenge in Spain & Europe Non-profit organizations manage billions of euros annually in public social funding from national sources (BDNS, BOE, IRPF 0.7%, regional ministries), municipal councils, and European funds (NextGenerationEU, ESF+, ERASMUS+, CERV, Horizon Europe). However, non-profits face major operational bottlenecks: 1. **Manual Ingestion Burden**: Teams waste 30%-50% of fundraising hours searching official gazettes manually. 2. **High Rejection Rates**: 40%+ of grant applications are rejected due to administrative non-compliance, missing solvency documents, or misaligned project scope. 3. **Drafting Time Drain**: Writing technical proposals (Marco Lógico, indicators, risk matrix, budget allocation) requires 20 to 60 hours per application. 4. **Commission Fees**: Traditional grant consultancies charge 15%-20% success fees, taking valuable funds away from social impact. --- ## 2. FundingQuarry Solution Architecture & Core Modules FundingQuarry automates the entire public grant lifecycle with five integrated modules: ### Module 1: Automated Official Gazette Ingestion (`/features/grant-detector`) - Continuous daily scraping and structured data normalization of BDNS, BOE, DOGC, PLACSP, SEDIA, and TED. - Categorization by funding body (national, regional, municipal, EU), eligible entity type, deadline, budget, and co-financing rules. ### Module 2: RAG Semantic Fit Scoring Engine (`/features/ai-fit-scoring`) - Evaluates an NGO's historical background, statutes, and previous project portfolio against official call specification clauses. - Outputs an objective **Fit Score (0-100)** with technical solvency analysis, missing requirements alerts, and win probability. ### Module 3: AI Technical Proposal Generator (`/features/proposal-generator`) - Generates complete, fully compliant technical proposal drafts (.docx Word format). - Includes Logical Framework Matrix (Marco Lógico), objectives hierarchy, quantitative impact indicators, gender/environmental alignment clauses, and itemized budget lines. - Operates via Retrieval-Augmented Generation (RAG) mapping every generated paragraph directly to official call clauses, guaranteeing zero hallucinations. ### Module 4: Grant Project Pipeline & Justification (`/features/project-management`) - Specialized Kanban pipeline tracking grant stages: *Discovery*, *Drafting*, *Internal Review*, *Submitted*, *Awarded/Granted*, *Cure Period*, and *Financial Justification*. - Invoicing and expense allocation tracking per grant budget line. ### Module 5: Executive Analytics & Board Reporting (`/features/grant-reporting`) - One-click executive summaries for Boards of Trustees and Executive Directors. - Real-time KPIs: win rate, total secured funding, average award size, application turnaround times, and team capacity. --- ## 3. Targeted Non-Profit Profiles 1. **Social Inclusion NGOs (`/use-cases/social-inclusion-ngos`)**: - Focus: Employment insertion, homelessness, food security, IRPF 0.7% calls, ESF+. - Primary metric: -80% manual search time, +35% win rate. 2. **Childhood & Youth Entities (`/use-cases/childhood-entities`)**: - Focus: Educational leisure, child protection, youth empowerment, municipal grants. - Primary metric: 100% solvency ratio verification before drafting. 3. **International Cooperation ONGDs (`/use-cases/international-cooperation`)**: - Focus: AECID, European Commission development funds, decentralized municipal cooperation. - Primary metric: Automated Logical Framework (EML) generation. 4. **Foundations & Caritas (`/use-cases/foundations`)**: - Focus: High-solvency calls, private foundation funds, strict compliance. - Primary metric: One-click Board of Trustees reporting. 5. **Small Non-Profits & Local Associations (`/use-cases/small-associations`)**: - Focus: Municipal and provincial council grants for local entities. - Primary metric: 0% success commission fee, flat pricing. 6. **Professional Fundraising Teams (`/use-cases/fundraising-teams`)**: - Focus: Multi-chapter national NGOs, high volume proposal output. - Primary metric: Tripled proposal output capacity. --- ## 4. Head-to-Head Product Comparisons - **vs. Excel / Manual Tracking (`/vs/excel-grant-management`)**: Static spreadsheets do not ingest gazettes or draft proposals. FundingQuarry automates discovery and writing. - **vs. Traditional Consultancies (`/vs/grant-consultancy`)**: Consultancies charge 15-20% success fees. FundingQuarry provides flat-rate transparent pricing (0% commission). - **vs. Google Alerts (`/vs/google-alerts`)**: Google Alerts scans open blogs with news noise. FundingQuarry ingests legally binding official gazettes (BDNS, BOE, DOGC, TED). - **vs. Notion / Trello (`/vs/notion-project-tracking`)**: Generic task managers lack tender PDF parsing, RAG scoring, and Word proposal generation. --- ## 5. Security, GDPR & Infrastructure Specifications - **Hosting & Infrastructure**: Hosted in Frankfurt / Madrid EU data centers. Built on Next.js 16, Supabase PostgreSQL with `pgvector`, and Google Gemini AI API. - **GDPR Compliance**: Full compliance with EU Regulation 2016/679 and Spanish LOPDGDD. Dedicated Data Processing Agreement (DPA) available for Enterprise clients. - **Data Security**: Multi-tenant database isolation using PostgreSQL Row Level Security (RLS). TLS 1.3 encryption in transit and AES-256 at rest. Zero AI model training on customer data. --- ## 6. Official Contact & Company Details - **Company Name**: FundingQuarry - **Website**: https://fundingquarry.com - **Contact Email**: contact@fundingquarry.com - **Engineering & Product HQ**: Barcelona, Spain