MCPcopy
hub / github.com/evidence-dev/evidence

github.com/evidence-dev/evidence @40.1.8 sqlite

repository ↗ · DeepWiki ↗ · release 40.1.8 ↗
865 symbols 2,576 edges 549 files 81 documented · 9%
README

Evidence Logo

Business Intelligence as Code: Generate reports using SQL and markdown

Docs | Examples | Slack

GitHub Repo stars NPM npm Release Join Slack

[!TIP] Try Evidence Studio: The new, faster way to build data products with SQL, markdown and AI.

How It Works

Evidence is an open-source, code-based alternative to drag-and-drop business intelligence tools.

how-it-works

Evidence generates a website from markdown files:

  • SQL statements inside markdown files run queries against your data sources
  • Charts and components are rendered using these query results
  • Templated pages generate many pages from a single markdown template
  • Loops and If / Else statements allow control of what is displayed to users

Install

  1. Download the Evidence VSCode Extension
  2. Open the Command Palette (F1) and enter Evidence: New Evidence Project
  3. Click the Start Evidence button in the bottom status bar

See docs for other install options (CLI, Docker, etc)

Publish

  • Self-hosted options include Netlify, Vercel, your own infra, and other static site hosting platforms.

Join the Evidence Community

Join our Slack channel to get involved in the community's discussion, share what you're working on, or ask for help.

Follow us on Twitter to receive the latest updates on Evidence.

Contributing

If you are interested in contributing, please join us on our slack channel, open an issue, or contribute a pull request.

License

Evidence is licensed under the MIT license. See the LICENSE file for licensing information.

Extension points exported contracts — how you extend this code

PageData (Interface)
(no doc)
sites/example-project/src/app.d.ts
ConfigLayoutOptions (Interface)
(no doc)
packages/lib/sdk/src/types/virtuals.d.ts
PageData (Interface)
(no doc)
packages/ui/core-components/src/app.d.ts
ComponentProp (Interface)
(no doc)
packages/extension/src/extension.ts
GetQueryResult (Interface)
(no doc)
packages/lib/sdk/src/types/virtuals.d.ts
ComponentDefinition (Interface)
(no doc)
packages/extension/src/extension.ts
Window (Interface)
(no doc)
packages/lib/sdk/src/types/index.d.ts
ConnectionConfig (Interface)
(no doc)
packages/extension/src/utils/jsonUtils.ts

Core symbols most depended-on inside this repo

push
called by 213
packages/lib/sdk/src/lib/history/index.js
get
called by 190
packages/lib/sdk/src/usql/setTrackProxy/setTrackProxy.js
add
called by 71
packages/lib/sdk/src/plugins/datasources/Datasources.js
error
called by 55
packages/lib/sdk/src/usql/query/Query.js
Options
called by 45
packages/lib/sdk/src/plugins/datasources/cli/edit/Options.js
dropdownOptionStore
called by 41
packages/ui/core-components/src/lib/atoms/inputs/dropdown/dropdownOptionStore.js
waitForPageToLoad
called by 40
e2e/test-utils.js
sendEvent
called by 39
packages/extension/src/telemetryService.ts

Shape

Function 692
Method 112
Class 42
Interface 15
Enum 4

Languages

TypeScript100%

Modules by API surface

packages/lib/sdk/src/usql/query/Query.js38 symbols
packages/extension/src/extension.ts37 symbols
packages/ui/core-components/src/lib/unsorted/viz/map/EvidenceMap.js26 symbols
packages/extension/src/providers/schemaViewProvider.ts18 symbols
packages/datasources/faker/index.mjs16 symbols
packages/evidence/cli.js14 symbols
packages/ui/core-components/src/lib/themes/themes.js12 symbols
packages/lib/component-utilities/src/formatting.js12 symbols
packages/lib/component-utilities/src/autoFormatting.js10 symbols
packages/extension/src/utils/jsonUtils.ts10 symbols
packages/extension/src/telemetryService.ts10 symbols
packages/lib/sdk/src/plugins/datasources/cli/edit/Options.js9 symbols

Dependencies from manifests, versioned

@astronautlabs/jsonpath1.1.2 · 1×
@brianmd/citty0.0.1 · 1×
@changesets/cli2.21.0 · 1×
@clack/prompts0.7.0 · 1×
@codemirror/autocomplete6.16.0 · 1×
@codemirror/commands6.5.0 · 1×
@codemirror/lang-sql6.6.4 · 1×
@codemirror/lint6.8.0 · 1×
@codemirror/search6.5.6 · 1×
@codemirror/view6.26.3 · 1×

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add evidence \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact